[plt-scheme] Foreign not working on Solaris 10

From: Marek Kubica (marek at xivilization.net)
Date: Tue Dec 2 15:05:24 EST 2008

On Tue, 2 Dec 2008 19:20:15 +0100
Marek Kubica <marek at xivilization.net> wrote:

> But when I called ``make`` it ran for some time and finally aborted
> with some compiler errors. So I re-ran it with ``--disable-foreign``
> and it built without further problems.

It built correnctly but ``make install`` aborted at the end. I don't
think this is critical, but it shouldn't fail if it was configured with
--disable-foreign:

setup-plt: error: during making for ffi (Sample FFIs)
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for games
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for games/checkers
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for games/doors
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for games/gl-board-game
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for games/gobblet
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for games/jewel
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for htdp (HtDP Teachpacks)
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for mzlib setup-plt:   foreign.ss:79:17: compile: unbound
identifier in module in: _int8 setup-plt: error: during making for
mzlib/scribblings
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for net
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for net/scribblings
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8
setup-plt: error: during making for openssl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for plot
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for readline setup-plt:   mzrl.ss:3:32: only-in:
identifier `ffi-obj' not included in nested require spec at: (quote
#%foreign) in: (only-in (quote #%foreign) ffi-obj) setup-plt: error:
during making for scheme
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for scribblings/foreign
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for sgl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for sgl/scribblings
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for srfi
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for srfi/63
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for srfi/74
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for teachpack/htdp
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for web-server
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for web-server/insta
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during making for web-server/private
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/scribblings/foreign/foreign.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/games/gl-board-game/gl-board-game.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/openssl/openssl.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/plot/plot.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/readline/readline.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/net/scribblings/net.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/sgl/scribblings/sgl.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/web-server/scribblings/web-server.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 setup-plt: error:
during Building docs
for /u/halle/kubica/home_sun/plt/lib/plt/collects/web-server/scribblings/tutorial/continue.scrbl
setup-plt:   /u/halle/kubica/home_sun/plt/lib/plt/collects/mzlib/foreign.ss:79:17:
compile: unbound identifier in module in: _int8 *** Error code 1 make:
Fatal error: Command failed for target `install-3m' Current working
directory /u/halle/kubica/home_sun/plt/plt-4.1.3/src *** Error code 1
make: Fatal error: Command failed for target `install'

regards,
Marek


Posted on the users mailing list.