[racket] Errors on compiling racket on Lion

From: Vincent St-Amour (stamourv at ccs.neu.edu)
Date: Wed Jul 27 19:43:41 EDT 2011

Have you tried the nightly builds?

http://pre.racket-lang.org/installers/

Some Lion-related bugs have been fixed since the last release. The
fixes will be in the next stable version, which should come out in a
week or two.

Vincent


At Wed, 27 Jul 2011 16:05:20 -0600,
jenny sun wrote:
> 
> [1  <multipart/alternative (7bit)>]
> [1.1  <text/plain; ISO-8859-1 (7bit)>]
> 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
> [1.2  <text/html; ISO-8859-1 (quoted-printable)>]
> 
> [2  <text/plain; us-ascii (7bit)>]
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/users


Posted on the users mailing list.