[M3devel] compiler problems on Snow Leopard

Mika Nystrom mika at async.caltech.edu
Mon Dec 27 11:58:59 CET 2010


Run cm3 -x instead of just cm3.

Did you get an error compiling package "mscheme"?  I certainly have a
libmscheme.a in there.

<top>/m3overrides has build_standalone() in it.

I normally didn't use build_standalone() but something has changed in
how the system searches for shared libs when building with overrides
and this was the easiest solution (at least for now).

     Mika

Jay K writes:
>--_9ece0c56-2524-4879-9a65-2407b1dbf664_
>Content-Type: text/plain; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>
>I can't quite reproduce it=2C but I can compile a bunch of your code.
>
>
>new "/dev2/gcap-public-cvs/mscheme/scheme-lib/I386_DARWIN/libscheme-lib.a" =
>-> archiving libsstubgen.a
>
>=3D=3D=3D> mscheme/sstubgen/program
>--- building in I386_DARWIN ---
>
> -> linking sstubgen
>i686-apple-darwin9-gcc-4.0.1: /dev2/gcap-public-cvs/mscheme/I386_DARWIN/lib=
>mscheme.a: No such file or directory
>  m3_link =3D> 1
>linker failed linking: sstubgen
>Fatal Error: package build failed
>
>jbook2:gcap-public-cvs jay$ cd mscheme/sstubgen/example
>jbook2:example jay$ c=2C3
>-bash: c=2C3: command not found
>jbook2:example jay$ cm3
>--- building in I386_DARWIN ---
>
>ignoring ../src/m3overrides
>
>"/Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/example/src/m3makefile"=
>=2C line 3: quake runtime error: unable to open "/cm3/pkg/mscheme/I386_DARW=
>IN/.M3EXPORTS" for reading
>
>--procedure--  -line-  -file---
>import             --  <builtin>
>include_dir         3  /Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/exa=
>mple/src/m3makefile
>
>
> - Jay
>
>
>
>
>
>
>From: jay.krell at cornell.edu
>To: mika at async.caltech.edu
>Date: Mon=2C 27 Dec 2010 10:46:55 +0000
>CC: m3devel at elegosoft.com
>Subject: Re: [M3devel] compiler problems on Snow Leopard
>
>
>
>
>
>
>
>
>aside: overlap with caltech_parser:
>if you can come up with a merged version that works with both=2C good
>If you can't=2C I think you have to rename one or the other.
>
>Maybe someday we can support some sort of hierarchy that automatically maps=
> to/from the file system hierarchy...
>
>I'll try to reproduce the problem.
>
>All targets?
>Workaround with different cm3cg switches (e.g. -O0 vs. -O1 vs. -O2?)
>
> - Jay
>
>
>> To: jay.krell at cornell.edu
>> Date: Mon=2C 27 Dec 2010 02:38:10 -0800
>> From: mika at async.caltech.edu
>> CC: m3devel at elegosoft.com
>> Subject: Re: [M3devel] compiler problems on Snow Leopard
>>=20
>> Jay K writes:
>> >--_6f82bcb2-663f-4046-87f2-073a1528a819_
>> >Content-Type: text/plain=3B charset=3D"iso-8859-1"
>> >Content-Transfer-Encoding: quoted-printable
>> >
>> >
>> >Can you put all your code in our CVS repository?
>> >
>>=20
>> I can't put all the code I work with in m3devel's repository: some of=20
>> it is proprietary.
>>=20
>> The Scheme code however I have no restrictions on distributing (that's
>> what's got problems in this case).  It is however large and unwieldy and
>> I'd like to have other people's suggestions for how to submit/incorporate
>> it with CM3 before I just dump it in the repository.  It also overlaps a =
>bit
>> with "caltech-parser"=2C so there should probably be a "caltech-common"
>> package for the overlaps?
>>=20
>> If you run the following commands in a fresh directory=2C you should get
>> to the error I emailed:
>>=20
>> setenv CM3 1
>> cvs -d :pserver:anonymous at pluto.gcapltd.com:/home/gcap-public-cvs up -d .
>> make regress    # GNU make : 'gmake regress' on BSD
>> cd mscheme/sstubgen/example
>> cm3 -x
>>=20
>>      Mika
>>=20
>>=20
> 		 	   		  =
>
>--_9ece0c56-2524-4879-9a65-2407b1dbf664_
>Content-Type: text/html; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
><html>
><head>
><style><!--
>.hmmessage P
>{
>margin:0px=3B
>padding:0px
>}
>body.hmmessage
>{
>font-size: 10pt=3B
>font-family:Tahoma
>}
>--></style>
></head>
><body class=3D'hmmessage'>
>I can't quite reproduce it=2C but I can compile a bunch of your code.<br><b=
>r><br>new "/dev2/gcap-public-cvs/mscheme/scheme-lib/I386_DARWIN/libscheme-l=
>ib.a" -&gt=3B archiving libsstubgen.a<br><br>=3D=3D=3D&gt=3B mscheme/sstubg=
>en/program<br>--- building in I386_DARWIN ---<br><br>&nbsp=3B-&gt=3B linkin=
>g sstubgen<br>i686-apple-darwin9-gcc-4.0.1: /dev2/gcap-public-cvs/mscheme/I=
>386_DARWIN/libmscheme.a: No such file or directory<br>&nbsp=3B m3_link =3D&=
>gt=3B 1<br>linker failed linking: sstubgen<br>Fatal Error: package build fa=
>iled<br><br>jbook2:gcap-public-cvs jay$ cd mscheme/sstubgen/example<br>jboo=
>k2:example jay$ c=2C3<br>-bash: c=2C3: command not found<br>jbook2:example =
>jay$ cm3<br>--- building in I386_DARWIN ---<br><br>ignoring ../src/m3overri=
>des<br><br>"/Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/example/src/m3=
>makefile"=2C line 3: quake runtime error: unable to open "/cm3/pkg/mscheme/=
>I386_DARWIN/.M3EXPORTS" for reading<br><br>--procedure--&nbsp=3B -line-&nbs=
>p=3B -file---<br>import&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
>p=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B --&nbsp=3B &lt=3Bbuiltin&gt=3B=
><br>include_dir&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbsp=3B&nbs=
>p=3B 3&nbsp=3B /Users/jay/dev2/gcap-public-cvs/mscheme/sstubgen/example/src=
>/m3makefile<br><br><br>&nbsp=3B- Jay<br><br><br><br><br><br><br><hr id=3D"s=
>topSpelling">From: jay.krell at cornell.edu<br>To: mika at async.caltech.edu<br>D=
>ate: Mon=2C 27 Dec 2010 10:46:55 +0000<br>CC: m3devel at elegosoft.com<br>Subj=
>ect: Re: [M3devel] compiler problems on Snow Leopard<br><br>
>
><meta http-equiv=3D"Content-Type" content=3D"text/html=3B charset=3Dunicode=
>">
><meta name=3D"Generator" content=3D"Microsoft SafeHTML">
><style>
>.ExternalClass .ecxhmmessage P
>{padding:0px=3B}
>.ExternalClass body.ecxhmmessage
>{font-size:10pt=3Bfont-family:Tahoma=3B}
>
></style>
>
>
>aside: overlap with caltech_parser:<br>if you can come up with a merged ver=
>sion that works with both=2C good<br>If you can't=2C I think you have to re=
>name one or the other.<br><br>Maybe someday we can support some sort of hie=
>rarchy that automatically maps to/from the file system hierarchy...<br><br>=
>I'll try to reproduce the problem.<br><br>All targets?<br>Workaround with d=
>ifferent cm3cg switches (e.g. -O0 vs. -O1 vs. -O2?)<br><br>&nbsp=3B- Jay<br=
>><br><br>&gt=3B To: jay.krell at cornell.edu<br>&gt=3B Date: Mon=2C 27 Dec 201=
>0 02:38:10 -0800<br>&gt=3B From: mika at async.caltech.edu<br>&gt=3B CC: m3dev=
>el at elegosoft.com<br>&gt=3B Subject: Re: [M3devel] compiler problems on Snow=
> Leopard<br>&gt=3B <br>&gt=3B Jay K writes:<br>&gt=3B &gt=3B--_6f82bcb2-663=
>f-4046-87f2-073a1528a819_<br>&gt=3B &gt=3BContent-Type: text/plain=3B chars=
>et=3D"iso-8859-1"<br>&gt=3B &gt=3BContent-Transfer-Encoding: quoted-printab=
>le<br>&gt=3B &gt=3B<br>&gt=3B &gt=3B<br>&gt=3B &gt=3BCan you put all your c=
>ode in our CVS repository?<br>&gt=3B &gt=3B<br>&gt=3B <br>&gt=3B I can't pu=
>t all the code I work with in m3devel's repository: some of <br>&gt=3B it i=
>s proprietary.<br>&gt=3B <br>&gt=3B The Scheme code however I have no restr=
>ictions on distributing (that's<br>&gt=3B what's got problems in this case)=
>.  It is however large and unwieldy and<br>&gt=3B I'd like to have other pe=
>ople's suggestions for how to submit/incorporate<br>&gt=3B it with CM3 befo=
>re I just dump it in the repository.  It also overlaps a bit<br>&gt=3B with=
> "caltech-parser"=2C so there should probably be a "caltech-common"<br>&gt=
>=3B package for the overlaps?<br>&gt=3B <br>&gt=3B If you run the following=
> commands in a fresh directory=2C you should get<br>&gt=3B to the error I e=
>mailed:<br>&gt=3B <br>&gt=3B setenv CM3 1<br>&gt=3B cvs -d :pserver:anonymo=
>us at pluto.gcapltd.com:/home/gcap-public-cvs up -d .<br>&gt=3B make regress  =
>  # GNU make : 'gmake regress' on BSD<br>&gt=3B cd mscheme/sstubgen/example=
><br>&gt=3B cm3 -x<br>&gt=3B <br>&gt=3B      Mika<br>&gt=3B <br>&gt=3B <br> =
>		 	   		  </body>
></html>=
>
>--_9ece0c56-2524-4879-9a65-2407b1dbf664_--



More information about the M3devel mailing list