Hi,<br>I succesfully used type instead of cat, so obliq was built. I also added file_exists in cm3.cfg. Thanks. <br>I have tested m3browser, It runs just fine, congratulations !!<br><br>So I continued with do-cm3-std.cmd built but I found that m3-libs\m3core\src\thread is not built in any of the implementations (which must be src\thread\WIN32 according to the thread\m3makefile wich has OS_TYPE variable if not PTHREAD), but this directory has no built nothing , so I was wondering if the variable M3_OSTYPE you mentioned is the same?<br>Do you think is possible to use the Pthread part, with the pthread port on Windows?<br><br>C:\cm3-5.4\cm3-cvs\cm3\m3-tools\m3bundle\NT386\m3bundle -name RehearseCodeBundle<br> -element RehearseCode.fv ..\src\RehearseCode.fv<br> new source -> compiling RehearseCodeBundle.i3<br> new source -> compiling RehearseCode.m3<br> new source -> compiling RehearseCodeBundle.m3<br> -> linking RehearseCode.exe<br> === package
C:\cm3-5.4\cm3-cvs\cm3\m3-tools\replayheap ===<br> +++ "cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" +++<br> new source -> compiling Main.m3<br> -> linking replayheap.exe<br> === package C:\cm3-5.4\cm3-cvs\cm3\m3-tools\showheap ===<br> +++ "cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" +++<br> new source -> compiling ShowHeap.m3<br> -> linking showheap.exe<br> === package C:\cm3-5.4\cm3-cvs\cm3\m3-tools\shownew ===<br> +++ "cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" +++<br> new source -> compiling ZIO.i3<br> new source -> compiling ZIO.m3<br> new source -> compiling ShowNew.m3<br> -> linking shownew.exe<br> === package C:\cm3-5.4\cm3-cvs\cm3\m3-tools\showthread ===<br> +++ "cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" +++<br> new source -> compiling Main.m3<br> "..\src\Main.m3", line 12: unable to find interface (ThreadEvent)<br> 1 error encountered<br> compilation failed => not
building program "showthread.exe"<br> Fatal Error: package build failed<br> *** execution of cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3 failed with 0 ***<br> ....<br><br>By the way, the above ThreadEvent missing interface is not in the WIN32 directory, can be copied?<br><br>Thanks, <br>Daniel Benavides<br><br>----------<br>>j k <jayk123@hotmail.com> wrote:<br><br>>Good!<br><br>>The problems in obliq I know about.<br>>They are old. Getting this far in "std" I think is pretty good.<br><br>>I'm sure we can just switch on M3_OSTYPE and use type or echo instead of <br>>cat, or add more builtins to quake.<br><br>>Question: M3_OSTYPE, this it meant to be a query about the target and not <br>>the host, right?<br>>My suspected anwer: Cross builds aren't actually factored into the build <br>>system right. There is not a way to check one vs. the other. That is, host <br>>is mostly assumed to be target. Not completely broken, since
cross builds <br>>are doable, in a way I am not familiar with but is documented.<br><br>>file_exists should be either in that m3makefile or the global cm3.cfg.<br>>it is defined by me as like:<br><br>>proc file_exists(a) is<br>>return stale(a, a)<br>>end<br><br>>I thought the use of "stale(a,a)" in places kind of obscure and worthy of a <br>>name.<br><br>>In order to work with whatever global cm3.cfg someone has, let's just put<br>>in a local definition. Some of the history in the import-libs directory is <br>>it did not initially build incrementally, just always clean, so my changes <br>>for incrementality have less time under their belt, so to speak.<br><br>>- Jay<br><br><br>>>From: "Daniel Alejandro Benavides D." <br>>>To: m3devel@elegosoft.com<br>>>Subject: [M3devel] cm3-5.4 building on NT386 cat not recognized command<br>>>Date: Sun, 14 Jan 2007 20:05:24 +0100 (CET)<br>>><br>>>Hi
all:<br>>>Im trynig to get build with the bootstrap of 5.2.6, do-cm3-base.cmd<br>>>works well. Just got an error in about file <br>>>C:\cm3-5.4\cm3-cvs\cm3\m3-win\import-libs\src\m3makefile<br>>><br>>>C:\cm3-5.4\cm3-cvs\cm3\scripts\win>do-cm3-base.cmd<br>>>INSTALLROOT=C:\cm3<br>>>LIB=%INSTALLROOT%\LIB;%LIB%<br>>>CM3ROOT=C:\\cm3-5.4\\cm3-cvs\\cm3<br>>><br>>>making C:\cm3-5.4\cm3-cvs\cm3\scripts\win\PKGS with <br>>>C:\cm3-5.4\cm3-cvs\cm3\scripts\win\find-packages<br>>>call C:\cm3-5.4\cm3-cvs\cm3\scripts\win\pkgmap -c "cm3 -build -override <br>>>-DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" import-libs m3core libm3 m3middle m3quake <br>>>m3scanner m3tools m3cgcat m3cggen m3bundle mklib dll2lib fix_nl libdump <br>>>bitvector digraph parseparams realgeometry set slisp sortedtableextras <br>>>table-list tempfiles tcp tapi<br>>><br>>>=== package
C:\cm3-5.4\cm3-cvs\cm3\m3-win\import-libs ===<br>>>+++ "cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" +++<br>>>unable to read ..\src\m3overrides, options "-override" and "-x" ignored.<br>>>"C:\cm3-5.4\cm3-cvs\cm3\m3-win\import-libs\src\m3makefile", line 178: quake<br>>>runtime error: undefined variable: file_exists<br>>><br>>>--procedure-- -line- -file---<br>>><br>>>include_dir 178<br>>>C:\cm3-5.4\cm3-cvs\cm3\m3-win\import-libs\src\m3makefile<br>>> 5<br>>>C:\cm3-5.4\cm3-cvs\cm3\m3-win\import-libs\NT386\m3make.args<br>>>Fatal Error: package build failed<br>>><br>>>*** execution of cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3<br>>>failed with 0 ***<br>>><br>>> I just commented the whole if of line 178 and it worked well. Then I<br>>>tried the do-cm3-std.cmd, and it works well until formsview package, but<br>>>when in m3-obliq got an error
because a missing cat:<br>>><br>>> -> linking vocgi.exe<br>>>=== package C:\cm3-5.4\cm3-cvs\cm3\m3-obliq\voquery ===<br>>>+++ "cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" +++<br>>>new source -> compiling Main.m3<br>>> -> linking voquery.exe<br>>>=== package C:\cm3-5.4\cm3-cvs\cm3\m3-obliq\vorun ===<br>>>+++ "cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" +++<br>>>C:\cm3-5.4\cm3-cvs\cm3\m3-tools\m3bundle\NT386\m3bundle -name VORunBundle<br>>>-FC:\D<br>>>OCUME~1\LUISCA~1\CONFIG~1\Temp\qk<br>>>new source -> compiling VORunBundle.i3<br>>>new source -> compiling VORunBundle.m3<br>>>new source -> compiling Main.m3<br>>> -> linking vorun.exe<br>>>cat ..\src\vostart >> vostart<br>>>"cat" is not recognized as an internal or external command, operable<br>>>program or batch
file.<br>>><br>>>"C:\cm3-5.4\cm3-cvs\cm3\m3-obliq\vorun\src\m3makefile", line 33: quake<br>>>runtime error: exit 1: cat ..\src\vostart >> vostart<br>>><br>>>--procedure-- -line- -file---<br>>>exec --<br>>>include_dir 33 C:\cm3-5.4\cm3-cvs\cm3\m3-obliq\vorun\src\m3makefile<br>>> 6<br>>>C:\cm3-5.4\cm3-cvs\cm3\m3-obliq\vorun\NT386\m3make.args<br>>><br>>>Fatal Error: package build failed<br>>>*** execution of cm3 -build -override -DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3<br>>>failed with 0 ***<br>>>error : call C:\cm3-5.4\cm3-cvs\cm3\scripts\win\pkgmap -c "cm3 -build<br>>>-override<br>>>-DROOT=C:\\cm3-5.4\\cm3-cvs\\cm3" import-libs m3core libm3 m3core m3middle<br>>>m3quake m3scanner m3tools m3cgcat m3cggen m3bundle mklib dll2lib fix_nl<br>>>libdump bitvector digraph parseparams realgeometry set slisp<br>>>sortedtableextras table-list tempfiles tcl tcp udp libsio
libbuf debug<br>>>listfuncs patternmatching embutils m3tk-misc http binIO deepcopy sgml tapi<br>>>serial m3tk mtex m3totex m3tohtml m3scan m3markup m3browser cmpdir cmpfp<br>>>dirfp uniq netobj netobjd stubgen events rdwr sharedobj sharedobjgen odbc<br>>>postgres95 db smalldb stable stablegen X11R4 ui PEX vbtkit cmvbt jvideo<br>>>videovbt web formsvbtpixmaps formsvbt formsview formsedit codeview mg mgkit<br>>>opengl anim3D zeus m3zume synloc synex metasyn obliqrt obliqparse obliq<br>>>print obliq obliqlibemb obliqlibm3 obliqlibui obliqlibanim obliqsrvstd<br>>>obliqsrvui obliqbinmin obliqbinstd obliqbinui obliqbinanim visualobliq vocgi >>voquery vorun webvbt recordheap rehearsecode replayheap showheap shownew >>showthread pkl-fonts juno-machine juno-compiler juno-app cube calculator fisheye<br>>>mentor failed<br>>><br>>>C:\cm3-5.4\cm3-cvs\cm3\scripts\win><br>>><br>>>Can we use a
native port of cat, or bunddle in the distro?<br>>><br>>>Thanks,<br>>>Daniel Benavides<br><br><p>
<hr size=1><br><font face="Verdana" size="-2">LLama Gratis a cualquier PC del Mundo.<br>Llamadas a fijos y móviles desde 1 céntimo por minuto.<br><a href="http://us.rd.yahoo.com/mail/es/tagline/messenger/*http://es.voice.yahoo.com/">http://es.voice.yahoo.com</a></font>