<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'> 1. I'll remove the Cstdint dependency. That is in newer m3core. <br> But you are correctly using an older m3core for the bootstrap.<br> Please give me a bit of time. Maybe tonight.<br> Does your cm3 provide LONGINT? <br><br><br> 2. The order is correct in pkginfo.txt.<br><br><br> 3. The problem wasn't the order but which you were building.<br> You were missing mklib. You need a newer mklib<br> to fix the "_xmm" problem. Look at upgrade.py or upgrade.sh closely.<br><br><br> 4. AttributeError: 'NoneType' object has no attribute 'startswith' <br> Probably due to an older cm3 that doesn't output host/target. <br> Maybe fixable with set CM3_TARGET=I386_NT or NT386 or such. <br><br> - Jay<br><br><br><div><hr id="stopSpelling">From: rcolebur@SCIRES.COM<br>To: m3devel@elegosoft.com; jayk123@hotmail.com<br>Subject: python build problems<br>Date: Sun, 8 Sep 2013 03:48:00 +0000<br><br>
<style id="ecxowaParaStyle">
.ExternalClass P {
}
</style>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt;">Jay:<br>
<br>
<font size="2"><b>I'm still having lots of problems.<br>
<br>
I installed python 2.7 on WinXP-32bit and tried upgrade.py against a working cm3 circa 2008.<br>
<br>
I get the following error:<br>
<br>
Traceback (most recent call last):<br>
File "C:\cm3\Sandbox\cm3\scripts\python\upgrade.py", line 4, in <module><br>
import pylib<br>
File "C:\cm3\Sandbox\cm3\scripts\python\pylib.py", line 631, in <module><br>
if Target.startswith("NT386"):<br>
AttributeError: 'NoneType' object has no attribute 'startswith'<br>
<br>
Looking at upgrade.py, it seems the first set of compilations is in the following order:<br>
"import-libs", "m3bundle", "m3middle", "m3quake", "m3objfile",<br>
"m3linker", "m3back", "m3front", "sysutils",<br>
"cm3", "m3cggen", "mklib", "m3cgcat"<br>
<br>
So, I tried to manually follow this order by cd to each folder, removing the NT386, running cm3, then cm3 -ship. Things go well until I get to m3back, where I get the following error:<br>
<br>
C:\cm3\Sandbox\cm3\m3-sys\m3back>cm3<br>
--- building in NT386 ---<br>
<br>
ignoring ..\src\m3overrides<br>
<br>
new source -> compiling TIntN.i3<br>
new source -> compiling TIntN.m3<br>
new source -> compiling TWordN.i3<br>
new source -> compiling TWordN.m3<br>
new source -> compiling M3x86.i3<br>
new source -> compiling Wrx86.i3<br>
new source -> compiling M3x86Rep.i3<br>
new source -> compiling Codex86.i3<br>
new source -> compiling Stackx86.i3<br>
new source -> compiling M3x86.m3<br>
new source -> compiling M3C.i3<br>
new source -> compiling M3C.m3<br>
"..\src\M3CC.i3", line 2: unable to find interface (Cstdint)<br>
"..\src\M3CC.i3", line 4: undefined (Cstdint.int32_t)<br>
"..\src\M3CC.i3", line 6: undefined (Cstdint.uint32_t)<br>
3 errors encountered<br>
new source -> compiling M3CC.i3<br>
"..\src\M3CC.i3", line 2: unable to find interface (Cstdint)<br>
1 error encountered<br>
new source -> compiling Wrx86.m3<br>
new source -> compiling Stackx86.m3<br>
new source -> compiling Codex86.m3<br>
new source -> compiling M3CC.c<br>
new exporters -> recompiling M3C.i3<br>
new exporters -> recompiling M3x86Rep.i3<br>
compilation failed => not building library "m3back.lib"<br>
Fatal Error: package build failed<br>
<br>
Any suggestions on what to do?<br>
I need to get a working cm3 on both WinXP and Win7 that is current with the HEAD branch.<br>
<br>
BTW, it was my understanding that the compilation order was defined in "pkginfo.txt". Has this changed, or is the file not up-to-date? Reason I ask is that my RCC_upgradeCM3.cmd used to work fine and it bases the order on pkginfo.txt, yet you remarked in
a previous post that I was leaving something out, plus it seems the order in upgrade.py doesn't match what you find in pkginfo.txt. Please advise.<br>
<br>
Thanks,<br>
Randy Coleburn<br>
</b></font></div></div> </div></body>
</html>