[racket] Errors on compiling racket on Lion

From: jenny sun (jenny.sun.jenny.sun at gmail.com)
Date: Wed Jul 27 18:05:20 EDT 2011

Hi,
I am using the mac OS lion, and tried to install Racket from binary(Mac OS x
intel 386), but it does not work on my machine (it will exit drracket
immediately when you tried to run it)
then I download the source, trying to compile it. But the errors came up as
follows:

in the src folder, I executed : ./configure && make
the error is:

......
make xsrc/precomp.h
env XFORM_PRECOMP=yes ../racketcgc -cqu ./xform.rkt --setup . --cpp "gcc -E
-I./.. -I./../include -DOS_X -D_DARWIN_UNLIMITED_SELECT -m32 -pthread
 -fno-common  -DNEWGC_BTC_ACCOUNT  "  --keep-lines -o xsrc/precomp.h
./precomp.c
make[4]: *** [xsrc/precomp.h] Bus error: 10
make[3]: *** [all] Error 2
make[2]: *** [3m] Error 2
make[1]: *** [3m] Error 2
make: *** [all] Error 2


after make clean, I also tried ./configure --enable-mac64 && make
the error is:
make xsrc/precomp.h
env XFORM_PRECOMP=yes ../racketcgc -cqu ./xform.rkt --setup . --cpp "gcc -E
-I./.. -I./../include -DOS_X -D_DARWIN_UNLIMITED_SELECT -pthread
 -fno-common  -DNEWGC_BTC_ACCOUNT  "  --keep-lines -o xsrc/precomp.h
./precomp.c
make[4]: *** [xsrc/precomp.h] Segmentation fault: 11
make[3]: *** [all] Error 2
make[2]: *** [3m] Error 2
make[1]: *** [3m] Error 2
make: *** [all] Error 2

Note that after attach the source dmg file, I also rename it to leave no
space in the file name (as there was the case where the compilation failed
from previous questions)

Any idea how to fix it?
Thanks,
--Jenny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110727/b6f7116d/attachment.html>

Posted on the users mailing list.