<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I started over.<br><br> rm -rf various <br> changed toolset to I386_DARWIN, hopefully correctly <br> cvs -z3 upd -dAP<br> export CM3=1<br> <br> gnumake regress <br> <br> .. lots of stuf compiles ..<br> .. and then:<br><br>===> mscheme/sstubgen/program<br>--- building in I386_DARWIN ---<br><br>new source -> compiling Main.m3<br> -> linking sstubgen<br>i686-apple-darwin9-gcc-4.0.1: /dev2/gcap-public-cvs/mscheme/I386_DARWIN/libmscheme.a: No such file or directory<br> m3_link => 1<br>linker failed linking: sstubgen<br>Fatal Error: package build failed<br><br><br>jbook2:gcap-public-cvs jay$ cd mscheme/<br>jbook2:mscheme jay$ ls<br>CVS doc interactive modula3scheme schemereadline src threads<br>I386_DARWIN examples interactive_r scheme-lib schemesig sstubgen<br>jbook2:mscheme jay$ cm3<br>--- building in I386_DARWIN ---<br><br>ignoring ../src/m3overrides<br><br>"/Users/jay/dev2/gcap-public-cvs/mscheme/src/sgenerics.tmpl", line 3: quake runtime error: undefined variable: TOP<br><br>--procedure-- -line- -file---<br>template 3 /Users/jay/dev2/gcap-public-cvs/mscheme/src/sgenerics.tmpl<br>include_dir 69 /Users/jay/dev2/gcap-public-cvs/mscheme/src/m3makefile<br> 4 /Users/jay/dev2/gcap-public-cvs/mscheme/I386_DARWIN/m3make.args<br><br>Fatal Error: package build failed<br>jbook2:mscheme jay$ <br><br><br>jbook2:mscheme jay$ cm3 -DTOP=/dev2/gcap-public-cvs<br>--- building in I386_DARWIN ---<br><br>ignoring ../src/m3overrides<br><br>"/Users/jay/dev2/gcap-public-cvs/mscheme/src/m3makefile", line 73: quake runtime error: undefined variable: Netobj<br><br>--procedure-- -line- -file---<br>include_dir 73 /Users/jay/dev2/gcap-public-cvs/mscheme/src/m3makefile<br> 5 /Users/jay/dev2/gcap-public-cvs/mscheme/I386_DARWIN/m3make.args<br><br>Fatal Error: package build failed<br>j<br><br><br>jbook2:mscheme jay$ cm3 -DTOP=/dev2/gcap-public-cvs -x<br>--- building in I386_DARWIN ---<br><br>ignoring override("mscheme", "/dev2/gcap-public-cvs")<br><br>new source -> compiling SchemeEnvironment_Public_v1.m3<br>"../I386_DARWIN/SchemeEnvironment_Public_v1.m3", line 546: illegal INTEGER literal, zero used<br>"../I386_DARWIN/SchemeEnvironment_Public_v1.m3", line 547: illegal INTEGER literal, zero used<br>2 errors encountered<br>compilation failed => not building library "libmscheme.a"<br>Fatal Error: package build failed<br>jbook2:mscheme jay$ <br><br><br><br> minArgs_arg := StubLib.InInteger(c, rep, 0, 9223372036854775807);<br> maxArgs_arg := StubLib.InInteger(c, rep, 0, 9223372036854775807);<br><br><br><br><br><br><br><br>> To: jay.krell@cornell.edu<br>> Date: Mon, 27 Dec 2010 03:24:24 -0800<br>> From: mika@async.caltech.edu<br>> CC: m3devel@elegosoft.com<br>> Subject: Re: [M3devel] compiler problems on Snow Leopard<br>> <br>> Don't think you need m3texthack.<br>> <br>> The first thing that happens when you run make ought to be that a file<br>> called ".top" is created at the top level of the repository, with a<br>> definition of TOP. This file is included by the top-level m3overrides,<br>> which is included by every m3overrides when you run with -x.<br>> <br>> Mika<br>> <br>> Jay K writes:<br>> >--_d61e805f-545e-4b3d-abe7-a20c582bec2e_<br>> >Content-Type: text/plain; charset="iso-8859-1"<br>> >Content-Transfer-Encoding: quoted-printable<br>> ><br>> ><br>> >something wanted cit_util.<br>> ><br>> ><br>> ><br>> >--- building in AMD64_DARWIN ---<br>> ><br>> ><br>> ><br>> >ignoring ../src/m3overrides<br>> ><br>> ><br>> ><br>> >"/Users/jay/dev2/gcap-public-cvs/cit_util/src/texthack.tmpl"=2C line 2: qua=<br>> >ke runtime error: undefined variable: TOP<br>> ><br>> ><br>> ><br>> >--procedure-- -line- -file---<br>> ><br>> >template 2 /Users/jay/dev2/gcap-public-cvs/cit_util/src/texthac=<br>> >k.tmpl<br>> ><br>> >include_dir 13 /Users/jay/dev2/gcap-public-cvs/cit_util/src/m3makef=<br>> >ile<br>> ><br>> > 4 /Users/jay/dev2/gcap-public-cvs/cit_util/AMD64_DARWI=<br>> >N/m3make.args<br>> ><br>> ><br>> ><br>> ><br>> ><br>> >% $Id: texthack.tmpl=2Cv 1.7 2002/12/13 22:20:12 kp Exp $<br>> ><br>> >_M3TEXTHACK =3D TOP & "/m3texthack/" & BUILD_DIR & "/m3texthack"<br>> ><br>> >_DERIVGEN =3D TOP & "/m3texthack/src/derivgen.sh"<br>> ><br>> ><br>> >I don't have m3texthack anywhere I think.<br>> ><br>> > - Jay<br>> ><br>> >From: jay.krell@cornell.edu<br>> >To: mika@async.caltech.edu<br>> >Date: Mon=2C 27 Dec 2010 11:04:11 +0000<br>> >CC: m3devel@elegosoft.com<br>> >Subject: Re: [M3devel] compiler problems on Snow Leopard<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> >Yes=2C overrides and standalone is a problem.<br>> ><br>> >Maybe I'll get around to addressing this for the next release.<br>> ><br>> >A proposed solution is:<br>> > go back to mostly the old method: hard coded runpaths=2C with much overla=<br>> >p for global builds (to be shipped/installed)=2C monstrously long paths for=<br>> > local builds (not to be shipped)=2C AND link upon install<br>> > Some systems allow for "slight relinking"=2C including Solaris and Darwin=<br>> >=2C where just the paths get edited. That would be nicer.<br>> ><br>> > The old approach had problems too.<br>> ><br>> > If you build the system yourself=2C I think you automatically already to=<br>> >day get what is described -- hardcoded run paths=2C with much overlap for g=<br>> >lobal builds.<br>> ><br>> ><br>> > - Jay<br>> ><br>> >> To: jay.krell@cornell.edu<br>> >> CC: m3devel@elegosoft.com<br>> >> Subject: Re: [M3devel] compiler problems on Snow Leopard=20<br>> >> Date: Mon=2C 27 Dec 2010 02:58:59 -0800<br>> >> From: mika@async.caltech.edu<br>> >>=20<br>> >> Run cm3 -x instead of just cm3.<br>> >>=20<br>> >> Did you get an error compiling package "mscheme"? I certainly have a<br>> >> libmscheme.a in there.<br>> >>=20<br>> >> <top>/m3overrides has build_standalone() in it.<br>> >>=20<br>> >> I normally didn't use build_standalone() but something has changed in<br>> >> how the system searches for shared libs when building with overrides<br>> >> and this was the easiest solution (at least for now).<br>> >>=20<br>> >> Mika<br>> >>=20<br>> >> Jay K writes:<br>> >> >--_9ece0c56-2524-4879-9a65-2407b1dbf664_<br>> >> >Content-Type: text/plain=3B charset=3D"iso-8859-1"<br>> >> >Content-Transfer-Encoding: quoted-printable<br>> >> ><br>> >> ><br>> >> >I can't quite reproduce it=3D2C but I can compile a bunch of your code.<br>> >> ><br>> >> ><br>> >> >new "/dev2/gcap-public-cvs/mscheme/scheme-lib/I386_DARWIN/libscheme-lib.=<br>> >a" =3D<br>> >> >-> archiving libsstubgen.a<br>> >> ><br>> >> >=3D3D=3D3D=3D3D> mscheme/sstubgen/program<br>> >> >--- building in I386_DARWIN ---<br>> >> ><br>> >> > -> linking sstubgen<br>> >> >i686-apple-darwin9-gcc-4.0.1: /dev2/gcap-public-cvs/mscheme/I386_DARWIN/=<br>> >lib=3D<br>> >> >mscheme.a: No such file or directory<br>> >> > m3_link =3D3D> 1<br>> >> >linker failed linking: sstubgen<br>> >> >Fatal Error: package build failed<br>> >> ><br>> >> >jbook2:gcap-public-cvs jay$ cd mscheme/sstubgen/example<br>> >> >jbook2:example jay$ c=3D2C3<br>> >> >-bash: c=3D2C3: command not found<br>> >> >jbook2:example jay$ cm3<br>> >> >--- building in I386_DARWIN ---<br>> >> ><br>> >> >ignoring ../src/m3overrides<br>> >> ><br>> >> >"/Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/example/src/m3makefile=<br>> >"=3D<br>> >> >=3D2C line 3: quake runtime error: unable to open "/cm3/pkg/mscheme/I386=<br>> >_DARW=3D<br>> >> >IN/.M3EXPORTS" for reading<br>> >> ><br>> >> >--procedure-- -line- -file---<br>> >> >import -- <builtin><br>> >> >include_dir 3 /Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/=<br>> >exa=3D<br>> >> >mple/src/m3makefile<br>> >> ><br>> >> ><br>> >> > - Jay<br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> >From: jay.krell@cornell.edu<br>> >> >To: mika@async.caltech.edu<br>> >> >Date: Mon=3D2C 27 Dec 2010 10:46:55 +0000<br>> >> >CC: m3devel@elegosoft.com<br>> >> >Subject: Re: [M3devel] compiler problems on Snow Leopard<br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> >aside: overlap with caltech_parser:<br>> >> >if you can come up with a merged version that works with both=3D2C good<br>> >> >If you can't=3D2C I think you have to rename one or the other.<br>> >> ><br>> >> >Maybe someday we can support some sort of hierarchy that automatically m=<br>> >aps=3D<br>> >> > to/from the file system hierarchy...<br>> >> ><br>> >> >I'll try to reproduce the problem.<br>> >> ><br>> >> >All targets?<br>> >> >Workaround with different cm3cg switches (e.g. -O0 vs. -O1 vs. -O2?)<br>> >> ><br>> >> > - Jay<br>> >> ><br>> >> ><br>> >> >> To: jay.krell@cornell.edu<br>> >> >> Date: Mon=3D2C 27 Dec 2010 02:38:10 -0800<br>> >> >> From: mika@async.caltech.edu<br>> >> >> CC: m3devel@elegosoft.com<br>> >> >> Subject: Re: [M3devel] compiler problems on Snow Leopard<br>> >> >>=3D20<br>> >> >> Jay K writes:<br>> >> >> >--_6f82bcb2-663f-4046-87f2-073a1528a819_<br>> >> >> >Content-Type: text/plain=3D3B charset=3D3D"iso-8859-1"<br>> >> >> >Content-Transfer-Encoding: quoted-printable<br>> >> >> ><br>> >> >> ><br>> >> >> >Can you put all your code in our CVS repository?<br>> >> >> ><br>> >> >>=3D20<br>> >> >> I can't put all the code I work with in m3devel's repository: some of=<br>> >=3D20<br>> >> >> it is proprietary.<br>> >> >>=3D20<br>> >> >> The Scheme code however I have no restrictions on distributing (that's<br>> >> >> what's got problems in this case). It is however large and unwieldy a=<br>> >nd<br>> >> >> I'd like to have other people's suggestions for how to submit/incorpor=<br>> >ate<br>> >> >> it with CM3 before I just dump it in the repository. It also overlaps=<br>> > a =3D<br>> >> >bit<br>> >> >> with "caltech-parser"=3D2C so there should probably be a "caltech-comm=<br>> >on"<br>> >> >> package for the overlaps?<br>> >> >>=3D20<br>> >> >> If you run the following commands in a fresh directory=3D2C you should=<br>> > get<br>> >> >> to the error I emailed:<br>> >> >>=3D20<br>> >> >> setenv CM3 1<br>> >> >> cvs -d :pserver:anonymous@pluto.gcapltd.com:/home/gcap-public-cvs up -=<br>> >d .<br>> >> >> make regress # GNU make : 'gmake regress' on BSD<br>> >> >> cd mscheme/sstubgen/example<br>> >> >> cm3 -x<br>> >> >>=3D20<br>> >> >> Mika<br>> >> >>=3D20<br>> >> >>=3D20<br>> >> > =3D<br>> >> ><br>> >> >--_9ece0c56-2524-4879-9a65-2407b1dbf664_<br>> >> >Content-Type: text/html=3B charset=3D"iso-8859-1"<br>> >> >Content-Transfer-Encoding: quoted-printable<br>> >> ><br>> >> ><html><br>> >> ><head><br>> >> ><style><!--<br>> >> >.hmmessage P<br>> >> >{<br>> >> >margin:0px=3D3B<br>> >> >padding:0px<br>> >> >}<br>> >> >body.hmmessage<br>> >> >{<br>> >> >font-size: 10pt=3D3B<br>> >> >font-family:Tahoma<br>> >> >}<br>> >> >--></style><br>> >> ></head><br>> >> ><body class=3D3D'hmmessage'><br>> >> >I can't quite reproduce it=3D2C but I can compile a bunch of your code.<=<br>> >br><b=3D<br>> >> >r><br>new "/dev2/gcap-public-cvs/mscheme/scheme-lib/I386_DARWIN/libschem=<br>> >e-l=3D<br>> >> >ib.a" ->=3D3B archiving libsstubgen.a<br><br>=3D3D=3D3D=3D3D>=3D3B m=<br>> >scheme/sstubg=3D<br>> >> >en/program<br>--- building in I386_DARWIN ---<br><br> =3D3B->=3D3B=<br>> > linkin=3D<br>> >> >g sstubgen<br>i686-apple-darwin9-gcc-4.0.1: /dev2/gcap-public-cvs/mschem=<br>> >e/I=3D<br>> >> >386_DARWIN/libmscheme.a: No such file or directory<br> =3D3B m3_link=<br>> > =3D3D&=3D<br>> >> >gt=3D3B 1<br>linker failed linking: sstubgen<br>Fatal Error: package bui=<br>> >ld fa=3D<br>> >> >iled<br><br>jbook2:gcap-public-cvs jay$ cd mscheme/sstubgen/example<br>j=<br>> >boo=3D<br>> >> >k2:example jay$ c=3D2C3<br>-bash: c=3D2C3: command not found<br>jbook2:e=<br>> >xample =3D<br>> >> >jay$ cm3<br>--- building in I386_DARWIN ---<br><br>ignoring ../src/m3ove=<br>> >rri=3D<br>> >> >des<br><br>"/Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/example/src=<br>> >/m3=3D<br>> >> >makefile"=3D2C line 3: quake runtime error: unable to open "/cm3/pkg/msc=<br>> >heme/=3D<br>> >> >I386_DARWIN/.M3EXPORTS" for reading<br><br>--procedure-- =3D3B -line=<br>> >-&nbs=3D<br>> >> >p=3D3B -file---<br>import =3D3B =3D3B =3D3B =3D3B =<br>> >=3D3B =3D3B&nbs=3D<br>> >> >p=3D3B =3D3B =3D3B =3D3B =3D3B =3D3B -- =3D3B &l=<br>> >t=3D3Bbuiltin>=3D3B=3D<br>> >> ><br>include_dir =3D3B =3D3B =3D3B =3D3B =3D3B =<br>> >=3D3B =3D3B&nbs=3D<br>> >> >p=3D3B 3 =3D3B /Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/exam=<br>> >ple/src=3D<br>> >> >/m3makefile<br><br><br> =3D3B- Jay<br><br><br><br><br><br><br><hr id=<br>> >=3D3D"s=3D<br>> >> >topSpelling">From: jay.krell@cornell.edu<br>To: mika@async.caltech.edu<b=<br>> >r>D=3D<br>> >> >ate: Mon=3D2C 27 Dec 2010 10:46:55 +0000<br>CC: m3devel@elegosoft.com<br=<br>> >>Subj=3D<br>> >> >ect: Re: [M3devel] compiler problems on Snow Leopard<br><br><br>> >> ><br>> >> ><meta http-equiv=3D3D"Content-Type" content=3D3D"text/html=3D3B charset=<br>> >=3D3Dunicode=3D<br>> >> >"><br>> >> ><meta name=3D3D"Generator" content=3D3D"Microsoft SafeHTML"><br>> >> ><style><br>> >> >.ExternalClass .ecxhmmessage P<br>> >> >{padding:0px=3D3B}<br>> >> >.ExternalClass body.ecxhmmessage<br>> >> >{font-size:10pt=3D3Bfont-family:Tahoma=3D3B}<br>> >> ><br>> >> ></style><br>> >> ><br>> >> ><br>> >> >aside: overlap with caltech_parser:<br>if you can come up with a merged =<br>> >ver=3D<br>> >> >sion that works with both=3D2C good<br>If you can't=3D2C I think you hav=<br>> >e to re=3D<br>> >> >name one or the other.<br><br>Maybe someday we can support some sort of =<br>> >hie=3D<br>> >> >rarchy that automatically maps to/from the file system hierarchy...<br><=<br>> >br>=3D<br>> >> >I'll try to reproduce the problem.<br><br>All targets?<br>Workaround wit=<br>> >h d=3D<br>> >> >ifferent cm3cg switches (e.g. -O0 vs. -O1 vs. -O2?)<br><br> =3D3B- J=<br>> >ay<br=3D<br>> >> >><br><br>>=3D3B To: jay.krell@cornell.edu<br>>=3D3B Date: Mon=3D2C 2=<br>> >7 Dec 201=3D<br>> >> >0 02:38:10 -0800<br>>=3D3B From: mika@async.caltech.edu<br>>=3D3B CC=<br>> >: m3dev=3D<br>> >> >el@elegosoft.com<br>>=3D3B Subject: Re: [M3devel] compiler problems on=<br>> > Snow=3D<br>> >> > Leopard<br>>=3D3B <br>>=3D3B Jay K writes:<br>>=3D3B >=3D3B--_6=<br>> >f82bcb2-663=3D<br>> >> >f-4046-87f2-073a1528a819_<br>>=3D3B >=3D3BContent-Type: text/plain=<br>> >=3D3B chars=3D<br>> >> >et=3D3D"iso-8859-1"<br>>=3D3B >=3D3BContent-Transfer-Encoding: quote=<br>> >d-printab=3D<br>> >> >le<br>>=3D3B >=3D3B<br>>=3D3B >=3D3B<br>>=3D3B >=3D3BCan you=<br>> > put all your c=3D<br>> >> >ode in our CVS repository?<br>>=3D3B >=3D3B<br>>=3D3B <br>>=3D3B=<br>> > I can't pu=3D<br>> >> >t all the code I work with in m3devel's repository: some of <br>>=3D3B=<br>> > it i=3D<br>> >> >s proprietary.<br>>=3D3B <br>>=3D3B The Scheme code however I have n=<br>> >o restr=3D<br>> >> >ictions on distributing (that's<br>>=3D3B what's got problems in this =<br>> >case)=3D<br>> >> >. It is however large and unwieldy and<br>>=3D3B I'd like to have oth=<br>> >er pe=3D<br>> >> >ople's suggestions for how to submit/incorporate<br>>=3D3B it with CM3=<br>> > befo=3D<br>> >> >re I just dump it in the repository. It also overlaps a bit<br>>=3D3B=<br>> > with=3D<br>> >> > "caltech-parser"=3D2C so there should probably be a "caltech-common"<br=<br>> >>>=3D<br>> >> >=3D3B package for the overlaps?<br>>=3D3B <br>>=3D3B If you run the =<br>> >following=3D<br>> >> > commands in a fresh directory=3D2C you should get<br>>=3D3B to the er=<br>> >ror I e=3D<br>> >> >mailed:<br>>=3D3B <br>>=3D3B setenv CM3 1<br>>=3D3B cvs -d :pserve=<br>> >r:anonymo=3D<br>> >> >us@pluto.gcapltd.com:/home/gcap-public-cvs up -d .<br>>=3D3B make regr=<br>> >ess =3D<br>> >> > # GNU make : 'gmake regress' on BSD<br>>=3D3B cd mscheme/sstubgen/ex=<br>> >ample=3D<br>> >> ><br>>=3D3B cm3 -x<br>>=3D3B <br>>=3D3B Mika<br>>=3D3B <br>&=<br>> >gt=3D3B <br> =3D<br>> >> > </body><br>> >> ></html>=3D<br>> >> ><br>> >> >--_9ece0c56-2524-4879-9a65-2407b1dbf664_--<br>> > =<br>> ><br>> >--_d61e805f-545e-4b3d-abe7-a20c582bec2e_<br>> >Content-Type: text/html; charset="iso-8859-1"<br>> >Content-Transfer-Encoding: quoted-printable<br>> ><br>> ><html><br>> ><head><br>> ><style><!--<br>> >.hmmessage P<br>> >{<br>> >margin:0px=3B<br>> >padding:0px<br>> >}<br>> >body.hmmessage<br>> >{<br>> >font-size: 10pt=3B<br>> >font-family:Tahoma<br>> >}<br>> >--></style><br>> ></head><br>> ><body class=3D'hmmessage'><br>> >something wanted cit_util.<br><br>> ><br><br>> >--- building in AMD64_DARWIN ---<br><br>> ><br><br>> >ignoring ../src/m3overrides<br><br>> ><br><br>> >"/Users/jay/dev2/gcap-public-cvs/cit_util/src/texthack.tmpl"=2C line 2: qua=<br>> >ke runtime error: undefined variable: TOP<br><br>> ><br><br>> >--procedure-- =3B -line- =3B -file---<br><br>> >template =3B =3B =3B =3B =3B =3B =3B =3B&nb=<br>> >sp=3B =3B =3B 2 =3B /Users/jay/dev2/gcap-public-cvs/cit_util/sr=<br>> >c/texthack.tmpl<br><br>> >include_dir =3B =3B =3B =3B =3B =3B =3B 13 =<br>> >=3B /Users/jay/dev2/gcap-public-cvs/cit_util/src/m3makefile<br><br>> > =3B =3B =3B =3B =3B =3B =3B =3B =3B&nb=<br>> >sp=3B =3B =3B =3B =3B =3B =3B =3B =3B =<br>> >=3B 4 =3B /Users/jay/dev2/gcap-public-cvs/cit_util/AMD64_DARWIN/m3make.=<br>> >args<br><br>> ><br><br>> ><br><br>> >% $Id: texthack.tmpl=2Cv 1.7 2002/12/13 22:20:12 kp Exp $<br><br>> >_M3TEXTHACK =3D TOP &=3B "/m3texthack/" &=3B BUILD_DIR &=3B "/m3te=<br>> >xthack"<br><br>> >_DERIVGEN =3B =3B =3D TOP &=3B "/m3texthack/src/derivgen.sh"<br><br>> ><br>I don't have m3texthack anywhere I think.<br><br> =3B- Jay<br><br><=<br>> >hr id=3D"stopSpelling">From: jay.krell@cornell.edu<br>To: mika@async.caltec=<br>> >h.edu<br>Date: Mon=2C 27 Dec 2010 11:04:11 +0000<br>CC: m3devel@elegosoft.c=<br>> >om<br>Subject: Re: [M3devel] compiler problems on Snow Leopard<br><br><br>> ><br>> ><meta http-equiv=3D"Content-Type" content=3D"text/html=3B charset=3Dunicode=<br>> >"><br>> ><meta name=3D"Generator" content=3D"Microsoft SafeHTML"><br>> ><style><br>> >.ExternalClass .ecxhmmessage P<br>> >{padding:0px=3B}<br>> >.ExternalClass body.ecxhmmessage<br>> >{font-size:10pt=3Bfont-family:Tahoma=3B}<br>> ><br>> ></style><br>> ><br>> ><br>> >Yes=2C overrides and standalone is a problem.<br><br>Maybe I'll get around =<br>> >to addressing this for the next release.<br><br>A proposed solution is:<br>=<br>> > =3B go back to mostly the old method: hard coded runpaths=2C with much=<br>> > overlap for global builds (to be shipped/installed)=2C monstrously long pa=<br>> >ths for local builds (not to be shipped)=2C AND link upon install<br> =<br>> >=3B Some systems allow for "slight relinking"=2C including Solaris and Darw=<br>> >in=2C where just the paths get edited. That would be nicer.<br><br> =3B=<br>> > The old approach had problems too.<br><br> =3B =3B If you build th=<br>> >e system yourself=2C I think you automatically already today get what is de=<br>> >scribed -- hardcoded run paths=2C with much overlap for global builds.<br><=<br>> >br><br> =3B- Jay<br><br>>=3B To: jay.krell@cornell.edu<br>>=3B CC: =<br>> >m3devel@elegosoft.com<br>>=3B Subject: Re: [M3devel] compiler problems on=<br>> > Snow Leopard <br>>=3B Date: Mon=2C 27 Dec 2010 02:58:59 -0800<br>>=3B =<br>> >From: mika@async.caltech.edu<br>>=3B <br>>=3B Run cm3 -x instead of jus=<br>> >t cm3.<br>>=3B <br>>=3B Did you get an error compiling package "mscheme=<br>> >"? I certainly have a<br>>=3B libmscheme.a in there.<br>>=3B <br>>=<br>> >=3B <=3Btop>=3B/m3overrides has build_standalone() in it.<br>>=3B <br=<br>> >>>=3B I normally didn't use build_standalone() but something has changed =<br>> >in<br>>=3B how the system searches for shared libs when building with ove=<br>> >rrides<br>>=3B and this was the easiest solution (at least for now).<br>&=<br>> >gt=3B <br>>=3B Mika<br>>=3B <br>>=3B Jay K writes:<br>>=3B >=<br>> >=3B--_9ece0c56-2524-4879-9a65-2407b1dbf664_<br>>=3B >=3BContent-Type: t=<br>> >ext/plain=3B charset=3D"iso-8859-1"<br>>=3B >=3BContent-Transfer-Encodi=<br>> >ng: quoted-printable<br>>=3B >=3B<br>>=3B >=3B<br>>=3B >=3BI ca=<br>> >n't quite reproduce it=3D2C but I can compile a bunch of your code.<br>>=<br>> >=3B >=3B<br>>=3B >=3B<br>>=3B >=3Bnew "/dev2/gcap-public-cvs/msch=<br>> >eme/scheme-lib/I386_DARWIN/libscheme-lib.a" =3D<br>>=3B >=3B->=3B arc=<br>> >hiving libsstubgen.a<br>>=3B >=3B<br>>=3B >=3B=3D3D=3D3D=3D3D>=3B=<br>> > mscheme/sstubgen/program<br>>=3B >=3B--- building in I386_DARWIN ---<b=<br>> >r>>=3B >=3B<br>>=3B >=3B ->=3B linking sstubgen<br>>=3B >=3Bi=<br>> >686-apple-darwin9-gcc-4.0.1: /dev2/gcap-public-cvs/mscheme/I386_DARWIN/lib=<br>> >=3D<br>>=3B >=3Bmscheme.a: No such file or directory<br>>=3B >=3B =<br>> >m3_link =3D3D>=3B 1<br>>=3B >=3Blinker failed linking: sstubgen<br>&g=<br>> >t=3B >=3BFatal Error: package build failed<br>>=3B >=3B<br>>=3B >=<br>> >=3Bjbook2:gcap-public-cvs jay$ cd mscheme/sstubgen/example<br>>=3B >=3B=<br>> >jbook2:example jay$ c=3D2C3<br>>=3B >=3B-bash: c=3D2C3: command not fou=<br>> >nd<br>>=3B >=3Bjbook2:example jay$ cm3<br>>=3B >=3B--- building in =<br>> >I386_DARWIN ---<br>>=3B >=3B<br>>=3B >=3Bignoring ../src/m3override=<br>> >s<br>>=3B >=3B<br>>=3B >=3B"/Users/jay/dev2/gcap-public-cvs/mscheme=<br>> >/sstubgen/example/src/m3makefile"=3D<br>>=3B >=3B=3D2C line 3: quake ru=<br>> >ntime error: unable to open "/cm3/pkg/mscheme/I386_DARW=3D<br>>=3B >=3B=<br>> >IN/.M3EXPORTS" for reading<br>>=3B >=3B<br>>=3B >=3B--procedure-- =<br>> >-line- -file---<br>>=3B >=3Bimport -- <=3Bbuiltin>=3B=<br>> ><br>>=3B >=3Binclude_dir 3 /Users/jay/dev2/gcap-public-cvs/msc=<br>> >heme/sstubgen/exa=3D<br>>=3B >=3Bmple/src/m3makefile<br>>=3B >=3B<b=<br>> >r>>=3B >=3B<br>>=3B >=3B - Jay<br>>=3B >=3B<br>>=3B >=3B<br=<br>> >>>=3B >=3B<br>>=3B >=3B<br>>=3B >=3B<br>>=3B >=3B<br>>=3B=<br>> > >=3BFrom: jay.krell@cornell.edu<br>>=3B >=3BTo: mika@async.caltech.e=<br>> >du<br>>=3B >=3BDate: Mon=3D2C 27 Dec 2010 10:46:55 +0000<br>>=3B >=<br>> >=3BCC: m3devel@elegosoft.com<br>>=3B >=3BSubject: Re: [M3devel] compile=<br>> >r problems on Snow Leopard<br>>=3B >=3B<br>>=3B >=3B<br>>=3B >=<br>> >=3B<br>>=3B >=3B<br>>=3B >=3B<br>>=3B >=3B<br>>=3B >=3B<br>=<br>> >>=3B >=3B<br>>=3B >=3Baside: overlap with caltech_parser:<br>>=3B=<br>> > >=3Bif you can come up with a merged version that works with both=3D2C g=<br>> >ood<br>>=3B >=3BIf you can't=3D2C I think you have to rename one or the=<br>> > other.<br>>=3B >=3B<br>>=3B >=3BMaybe someday we can support some =<br>> >sort of hierarchy that automatically maps=3D<br>>=3B >=3B to/from the f=<br>> >ile system hierarchy...<br>>=3B >=3B<br>>=3B >=3BI'll try to reprod=<br>> >uce the problem.<br>>=3B >=3B<br>>=3B >=3BAll targets?<br>>=3B &g=<br>> >t=3BWorkaround with different cm3cg switches (e.g. -O0 vs. -O1 vs. -O2?)<br=<br>> >>>=3B >=3B<br>>=3B >=3B - Jay<br>>=3B >=3B<br>>=3B >=3B<br>=<br>> >>=3B >=3B>=3B To: jay.krell@cornell.edu<br>>=3B >=3B>=3B Date: =<br>> >Mon=3D2C 27 Dec 2010 02:38:10 -0800<br>>=3B >=3B>=3B From: mika@async=<br>> >.caltech.edu<br>>=3B >=3B>=3B CC: m3devel@elegosoft.com<br>>=3B >=<br>> >=3B>=3B Subject: Re: [M3devel] compiler problems on Snow Leopard<br>>=<br>> >=3B >=3B>=3B=3D20<br>>=3B >=3B>=3B Jay K writes:<br>>=3B >=3B=<br>> >>=3B >=3B--_6f82bcb2-663f-4046-87f2-073a1528a819_<br>>=3B >=3B>=<br>> >=3B >=3BContent-Type: text/plain=3D3B charset=3D3D"iso-8859-1"<br>>=3B =<br>> >>=3B>=3B >=3BContent-Transfer-Encoding: quoted-printable<br>>=3B &g=<br>> >t=3B>=3B >=3B<br>>=3B >=3B>=3B >=3B<br>>=3B >=3B>=3B >=<br>> >=3BCan you put all your code in our CVS repository?<br>>=3B >=3B>=3B =<br>> >>=3B<br>>=3B >=3B>=3B=3D20<br>>=3B >=3B>=3B I can't put all t=<br>> >he code I work with in m3devel's repository: some of=3D20<br>>=3B >=3B&=<br>> >gt=3B it is proprietary.<br>>=3B >=3B>=3B=3D20<br>>=3B >=3B>=3B=<br>> > The Scheme code however I have no restrictions on distributing (that's<br>=<br>> >>=3B >=3B>=3B what's got problems in this case). It is however large=<br>> > and unwieldy and<br>>=3B >=3B>=3B I'd like to have other people's su=<br>> >ggestions for how to submit/incorporate<br>>=3B >=3B>=3B it with CM3 =<br>> >before I just dump it in the repository. It also overlaps a =3D<br>>=3B =<br>> >>=3Bbit<br>>=3B >=3B>=3B with "caltech-parser"=3D2C so there should=<br>> > probably be a "caltech-common"<br>>=3B >=3B>=3B package for the over=<br>> >laps?<br>>=3B >=3B>=3B=3D20<br>>=3B >=3B>=3B If you run the fol=<br>> >lowing commands in a fresh directory=3D2C you should get<br>>=3B >=3B&g=<br>> >t=3B to the error I emailed:<br>>=3B >=3B>=3B=3D20<br>>=3B >=3B&g=<br>> >t=3B setenv CM3 1<br>>=3B >=3B>=3B cvs -d :pserver:anonymous@pluto.gc=<br>> >apltd.com:/home/gcap-public-cvs up -d .<br>>=3B >=3B>=3B make regress=<br>> > # GNU make : 'gmake regress' on BSD<br>>=3B >=3B>=3B cd mscheme/s=<br>> >stubgen/example<br>>=3B >=3B>=3B cm3 -x<br>>=3B >=3B>=3B=3D20<b=<br>> >r>>=3B >=3B>=3B Mika<br>>=3B >=3B>=3B=3D20<br>>=3B >=<br>> >=3B>=3B=3D20<br>>=3B >=3B =3D<b<br>> >r>>=3B >=3B<br>>=3B &=<br>> >gt=3B--_9ece0c56-2524-4879-9a65-2407b1dbf664_<br>>=3B >=3BContent-Type:=<br>> > text/html=3B charset=3D"iso-8859-1"<br>>=3B >=3BContent-Transfer-Encod=<br>> >ing: quoted-printable<br>>=3B >=3B<br>>=3B >=3B<=3Bhtml>=3B<br>=<br>> >>=3B >=3B<=3Bhead>=3B<br>>=3B >=3B<=3Bstyle>=3B<=3B!--<br=<br>> >>>=3B >=3B.hmmessage P<br>>=3B >=3B{<br>>=3B >=3Bmargin:0px=3D3=<br>> >B<br>>=3B >=3Bpadding:0px<br>>=3B >=3B}<br>>=3B >=3Bbody.hmmess=<br>> >age<br>>=3B >=3B{<br>>=3B >=3Bfont-size: 10pt=3D3B<br>>=3B >=3B=<br>> >font-family:Tahoma<br>>=3B >=3B}<br>>=3B >=3B-->=3B<=3B/style&g=<br>> >t=3B<br>>=3B >=3B<=3B/head>=3B<br>>=3B >=3B<=3Bbody class=3D3=<br>> >D'hmmessage'>=3B<br>>=3B >=3BI can't quite reproduce it=3D2C but I ca=<br>> >n compile a bunch of your code.<=3Bbr>=3B<=3Bb=3D<br>>=3B >=3Br&g=<br>> >t=3B<=3Bbr>=3Bnew "/dev2/gcap-public-cvs/mscheme/scheme-lib/I386_DARWIN=<br>> >/libscheme-l=3D<br>>=3B >=3Bib.a" -&=3Bgt=3D3B archiving libsstubgen=<br>> >.a<=3Bbr>=3B<=3Bbr>=3B=3D3D=3D3D=3D3D&=3Bgt=3D3B mscheme/sstubg=<br>> >=3D<br>>=3B >=3Ben/program<=3Bbr>=3B--- building in I386_DARWIN ---=<br>> ><=3Bbr>=3B<=3Bbr>=3B&=3Bnbsp=3D3B-&=3Bgt=3D3B linkin=3D<br>&g=<br>> >t=3B >=3Bg sstubgen<=3Bbr>=3Bi686-apple-darwin9-gcc-4.0.1: /dev2/gcap=<br>> >-public-cvs/mscheme/I=3D<br>>=3B >=3B386_DARWIN/libmscheme.a: No such f=<br>> >ile or directory<=3Bbr>=3B&=3Bnbsp=3D3B m3_link =3D3D&=3B=3D<br>&=<br>> >gt=3B >=3Bgt=3D3B 1<=3Bbr>=3Blinker failed linking: sstubgen<=3Bbr&=<br>> >gt=3BFatal Error: package build fa=3D<br>>=3B >=3Biled<=3Bbr>=3B<=<br>> >=3Bbr>=3Bjbook2:gcap-public-cvs jay$ cd mscheme/sstubgen/example<=3Bbr&=<br>> >gt=3Bjboo=3D<br>>=3B >=3Bk2:example jay$ c=3D2C3<=3Bbr>=3B-bash: c=<br>> >=3D2C3: command not found<=3Bbr>=3Bjbook2:example =3D<br>>=3B >=3Bj=<br>> >ay$ cm3<=3Bbr>=3B--- building in I386_DARWIN ---<=3Bbr>=3B<=3Bbr&=<br>> >gt=3Bignoring ../src/m3overri=3D<br>>=3B >=3Bdes<=3Bbr>=3B<=3Bbr&=<br>> >gt=3B"/Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/example/src/m3=3D<br=<br>> >>>=3B >=3Bmakefile"=3D2C line 3: quake runtime error: unable to open "/=<br>> >cm3/pkg/mscheme/=3D<br>>=3B >=3BI386_DARWIN/.M3EXPORTS" for reading<=<br>> >=3Bbr>=3B<=3Bbr>=3B--procedure--&=3Bnbsp=3D3B -line-&=3Bnbs=3D<=<br>> >br>>=3B >=3Bp=3D3B -file---<=3Bbr>=3Bimport&=3Bnbsp=3D3B&=3Bn=<br>> >bsp=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B&am=<br>> >p=3Bnbs=3D<br>>=3B >=3Bp=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B&=3Bnbs=<br>> >p=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B --&=3Bnbsp=3D3B &=3Blt=3D3Bbui=<br>> >ltin&=3Bgt=3D3B=3D<br>>=3B >=3B<=3Bbr>=3Binclude_dir&=3Bnbsp=<br>> >=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B&=3Bnbsp=3D3B&=<br>> >=3Bnbsp=3D3B&=3Bnbsp=3D3B&=3Bnbs=3D<br>>=3B >=3Bp=3D3B 3&=3Bnb=<br>> >sp=3D3B /Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/example/src=3D<br>=<br>> >>=3B >=3B/m3makefile<=3Bbr>=3B<=3Bbr>=3B<=3Bbr>=3B&=3Bnb=<br>> >sp=3D3B- Jay<=3Bbr>=3B<=3Bbr>=3B<=3Bbr>=3B<=3Bbr>=3B<=3Bb=<br>> >r>=3B<=3Bbr>=3B<=3Bbr>=3B<=3Bhr id=3D3D"s=3D<br>>=3B >=3Bto=<br>> >pSpelling">=3BFrom: jay.krell@cornell.edu<=3Bbr>=3BTo: mika@async.cal=<br>> >tech.edu<=3Bbr>=3BD=3D<br>>=3B >=3Bate: Mon=3D2C 27 Dec 2010 10:46:=<br>> >55 +0000<=3Bbr>=3BCC: m3devel@elegosoft.com<=3Bbr>=3BSubj=3D<br>>=<br>> >=3B >=3Bect: Re: [M3devel] compiler problems on Snow Leopard<=3Bbr>=<br>> >=3B<=3Bbr>=3B<br>>=3B >=3B<br>>=3B >=3B<=3Bmeta http-equiv=3D=<br>> >3D"Content-Type" content=3D3D"text/html=3D3B charset=3D3Dunicode=3D<br>>=<br>> >=3B >=3B">=3B<br>>=3B >=3B<=3Bmeta name=3D3D"Generator" content=<br>> >=3D3D"Microsoft SafeHTML">=3B<br>>=3B >=3B<=3Bstyle>=3B<br>>=3B=<br>> > >=3B.ExternalClass .ecxhmmessage P<br>>=3B >=3B{padding:0px=3D3B}<br=<br>> >>>=3B >=3B.ExternalClass body.ecxhmmessage<br>>=3B >=3B{font-size:1=<br>> >0pt=3D3Bfont-family:Tahoma=3D3B}<br>>=3B >=3B<br>>=3B >=3B<=3B/st=<br>> >yle>=3B<br>>=3B >=3B<br>>=3B >=3B<br>>=3B >=3Baside: overlap =<br>> >with caltech_parser:<=3Bbr>=3Bif you can come up with a merged ver=3D<b=<br>> >r>>=3B >=3Bsion that works with both=3D2C good<=3Bbr>=3BIf you can'=<br>> >t=3D2C I think you have to re=3D<br>>=3B >=3Bname one or the other.<=<br>> >=3Bbr>=3B<=3Bbr>=3BMaybe someday we can support some sort of hie=3D<b=<br>> >r>>=3B >=3Brarchy that automatically maps to/from the file system hiera=<br>> >rchy...<=3Bbr>=3B<=3Bbr>=3B=3D<br>>=3B >=3BI'll try to reproduc=<br>> >e the problem.<=3Bbr>=3B<=3Bbr>=3BAll targets?<=3Bbr>=3BWorkaro=<br>> >und with d=3D<br>>=3B >=3Bifferent cm3cg switches (e.g. -O0 vs. -O1 vs.=<br>> > -O2?)<=3Bbr>=3B<=3Bbr>=3B&=3Bnbsp=3D3B- Jay<=3Bbr=3D<br>>=<br>> >=3B >=3B>=3B<=3Bbr>=3B<=3Bbr>=3B&=3Bgt=3D3B To: jay.krell@co=<br>> >rnell.edu<=3Bbr>=3B&=3Bgt=3D3B Date: Mon=3D2C 27 Dec 201=3D<br>>=<br>> >=3B >=3B0 02:38:10 -0800<=3Bbr>=3B&=3Bgt=3D3B From: mika@async.cal=<br>> >tech.edu<=3Bbr>=3B&=3Bgt=3D3B CC: m3dev=3D<br>>=3B >=3Bel@elegos=<br>> >oft.com<=3Bbr>=3B&=3Bgt=3D3B Subject: Re: [M3devel] compiler problem=<br>> >s on Snow=3D<br>>=3B >=3B Leopard<=3Bbr>=3B&=3Bgt=3D3B <=3Bbr&=<br>> >gt=3B&=3Bgt=3D3B Jay K writes:<=3Bbr>=3B&=3Bgt=3D3B &=3Bgt=3D3=<br>> >B--_6f82bcb2-663=3D<br>>=3B >=3Bf-4046-87f2-073a1528a819_<=3Bbr>=3B=<br>> >&=3Bgt=3D3B &=3Bgt=3D3BContent-Type: text/plain=3D3B chars=3D<br>>=<br>> >=3B >=3Bet=3D3D"iso-8859-1"<=3Bbr>=3B&=3Bgt=3D3B &=3Bgt=3D3BCon=<br>> >tent-Transfer-Encoding: quoted-printab=3D<br>>=3B >=3Ble<=3Bbr>=3B&=<br>> >amp=3Bgt=3D3B &=3Bgt=3D3B<=3Bbr>=3B&=3Bgt=3D3B &=3Bgt=3D3B<=<br>> >=3Bbr>=3B&=3Bgt=3D3B &=3Bgt=3D3BCan you put all your c=3D<br>>=3B=<br>> > >=3Bode in our CVS repository?<=3Bbr>=3B&=3Bgt=3D3B &=3Bgt=3D3=<br>> >B<=3Bbr>=3B&=3Bgt=3D3B <=3Bbr>=3B&=3Bgt=3D3B I can't pu=3D<br=<br>> >>>=3B >=3Bt all the code I work with in m3devel's repository: some of &=<br>> >lt=3Bbr>=3B&=3Bgt=3D3B it i=3D<br>>=3B >=3Bs proprietary.<=3Bbr&=<br>> >gt=3B&=3Bgt=3D3B <=3Bbr>=3B&=3Bgt=3D3B The Scheme code however I =<br>> >have no restr=3D<br>>=3B >=3Bictions on distributing (that's<=3Bbr>=<br>> >=3B&=3Bgt=3D3B what's got problems in this case)=3D<br>>=3B >=3B. I=<br>> >t is however large and unwieldy and<=3Bbr>=3B&=3Bgt=3D3B I'd like to=<br>> > have other pe=3D<br>>=3B >=3Bople's suggestions for how to submit/inco=<br>> >rporate<=3Bbr>=3B&=3Bgt=3D3B it with CM3 befo=3D<br>>=3B >=3Bre =<br>> >I just dump it in the repository. It also overlaps a bit<=3Bbr>=3B&=<br>> >=3Bgt=3D3B with=3D<br>>=3B >=3B "caltech-parser"=3D2C so there should p=<br>> >robably be a "caltech-common"<=3Bbr>=3B&=3Bgt=3D<br>>=3B >=3B=3D=<br>> >3B package for the overlaps?<=3Bbr>=3B&=3Bgt=3D3B <=3Bbr>=3B&=<br>> >=3Bgt=3D3B If you run the following=3D<br>>=3B >=3B commands in a fresh=<br>> > directory=3D2C you should get<=3Bbr>=3B&=3Bgt=3D3B to the error I e=<br>> >=3D<br>>=3B >=3Bmailed:<=3Bbr>=3B&=3Bgt=3D3B <=3Bbr>=3B&=<br>> >=3Bgt=3D3B setenv CM3 1<=3Bbr>=3B&=3Bgt=3D3B cvs -d :pserver:anonymo=<br>> >=3D<br>>=3B >=3Bus@pluto.gcapltd.com:/home/gcap-public-cvs up -d .<=<br>> >=3Bbr>=3B&=3Bgt=3D3B make regress =3D<br>>=3B >=3B # GNU make : =<br>> >'gmake regress' on BSD<=3Bbr>=3B&=3Bgt=3D3B cd mscheme/sstubgen/exam=<br>> >ple=3D<br>>=3B >=3B<=3Bbr>=3B&=3Bgt=3D3B cm3 -x<=3Bbr>=3B&am=<br>> >p=3Bgt=3D3B <=3Bbr>=3B&=3Bgt=3D3B Mika<=3Bbr>=3B&=3Bgt=<br>> >=3D3B <=3Bbr>=3B&=3Bgt=3D3B <=3Bbr>=3B =3D<br>>=3B >=3B <br>> > =<br>> > <=3B/body>=3B<br>>=3B >=3B<=3B/html>=3B=3D<br>><br>> >=3B >=<br>> >=3B<br>>=3B >=3B--_9ece0c56-2524-4879-9a65-2407b1dbf664_--<br> <br>> > =<br>> > </body><br>> ></html>=<br>> ><br>> >--_d61e805f-545e-4b3d-abe7-a20c582bec2e_--<br> </body>
</html>