[racket-dev] Problems compiling Racket-5.1.2 on SunOS5.10(x86)
I'm trying to compile 5.1.2 on SunOS5.10(x86) and I'm getting the
following errors, anyone have any ideas?
I used --disable-libffi when calling configure.
make[4]: Entering directory `/home/staff01/mein/Downloads/racket-5.1.2/src/plot'
env CC="gcc" CFLAGS="-g -O2 -Wall " LDFLAGS=" " ../racket/racketcgc -c ./build.rkt "libplplot" ./plplot/dc_drv.c ./plplot/plcont.c ./plplot/plfill.c ./plplot/plmap.c ./plplot/plshade.c ./plplot/plwind.c ./plplot/pdfutils.c ./plplot/plcore.c ./plplot/plgridd.c ./plplot/plmeta.c ./plplot/plstripc.c ./plplot/plargs.c ./plplot/plctrl.c ./plplot/plhist.c ./plplot/plot3d.c ./plplot/plsym.c ./plplot/plbox.c ./plplot/plcvt.c ./plplot/plimage.c ./plplot/plpage.c ./plplot/pltick.c ./plplot/plbuf.c ./plplot/pldtik.c ./plplot/plline.c ./plplot/plsdef.c ./plplot/plvpor.c
ffi-obj: couldn't get "scheme_register_process_global" from #f (libc.so.1: racketcgc: fatal: scheme_register_process_global: can't find symbol)
=== context ===
/home/staff01/mein/Downloads/racket-5.1.2/collects/racket/private/more-scheme.rkt:264:28
/home/staff01/mein/Downloads/racket-5.1.2/collects/ffi/unsafe.rkt:178:2: get-ffi-obj*
/home/staff01/mein/Downloads/racket-5.1.2/collects/racket/gui/dynamic.rkt: [running body]
/home/staff01/mein/Downloads/racket-5.1.2/collects/scheme/gui/dynamic.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/collects/mzlib/sendevent.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/collects/dynext/compile-unit.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/collects/dynext/compile.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/src/plot/build.rkt: [traversing imports]
I've also tried --disable-foreign but then I get this:
make[4]: Entering directory `/home/staff01/mein/Downloads/racket-5.1.2/src/plot'
env CC="gcc" CFLAGS="-g -O2 -Wall " LDFLAGS=" -Wl,-E" ../racket/racketcgc -c ./build.rkt "libplplot" ./plplot/dc_drv.c ./plplot/plcont.c ./plplot/plfill.c ./plplot/plmap.c ./plplot/plshade.c ./plplot/plwind.c ./plplot/pdfutils.c ./plplot/plcore.c ./plplot/plgridd.c ./plplot/plmeta.c ./plplot/plstripc.c ./plplot/plargs.c ./plplot/plctrl.c ./plplot/plhist.c ./plplot/plot3d.c ./plplot/plsym.c ./plplot/plbox.c ./plplot/plcvt.c ./plplot/plimage.c ./plplot/plpage.c ./plplot/pltick.c ./plplot/plbuf.c ./plplot/pldtik.c ./plplot/plline.c ./plplot/plsdef.c ./plplot/plvpor.c
ffi-lib?: foreign interface not supported for this platform
=== context ===
/home/staff01/mein/Downloads/racket-5.1.2/collects/ffi/unsafe.rkt:178:2: get-ffi-obj*
/home/staff01/mein/Downloads/racket-5.1.2/collects/racket/gui/dynamic.rkt: [running body]
/home/staff01/mein/Downloads/racket-5.1.2/collects/scheme/gui/dynamic.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/collects/mzlib/sendevent.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/collects/dynext/compile-unit.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/collects/dynext/compile.rkt: [traversing imports]
/home/staff01/mein/Downloads/racket-5.1.2/src/plot/build.rkt: [traversing imports]
I've tried disabling plot as well, things compile but then when I try to
make install I get this:
make[2]: Leaving directory `/home/staff01/mein/Downloads/racket-5.1.2/src'
env CFLAGS="-g -O2 -Wall " LDFLAGS="-Wl,-E" racket/racket3m -X "/export/scratch/mein/racket-5.1.2/lib/racket/collects" -N "raco setup" -l- setup --no-user
raco setup: bootstrapping from source...
ffi-lib?: foreign interface not supported for this platform
=== context ===
/export/scratch/mein/racket-5.1.2/lib/racket/collects/ffi/unsafe.rkt:178:2: get-ffi-obj*
/export/scratch/mein/racket-5.1.2/lib/racket/collects/racket/gui/dynamic.rkt: [running body]
/export/scratch/mein/racket-5.1.2/lib/racket/collects/scheme/gui/dynamic.rkt: [traversing imports]
/export/scratch/mein/racket-5.1.2/lib/racket/collects/mzlib/sendevent.rkt: [traversing imports]
/export/scratch/mein/racket-5.1.2/lib/racket/collects/dynext/link-unit.rkt: [traversing imports]
/export/scratch/mein/racket-5.1.2/lib/racket/collects/dynext/dynext-unit.rkt: [traversing imports]
/export/scratch/mein/racket-5.1.2/lib/racket/collects/setup/setup-go.rkt: [traversing imports]
/export/scratch/mein/racket-5.1.2/lib/racket/collects/setup/main.rkt: [running body]
Thanks,
Kent Mein
--
mein at cs.umn.edu
http://www.cs.umn.edu/~mein