[plt-scheme] Compiling 4.0
On Thu, Jun 19, 2008 at 11:38:26AM +0100, Paulo J. Matos wrote:
> I am compiling 4.0 in Gentoo Linux and I got this:
> make[4]: Entering directory `/home/pmatos/plt-4.0/src/mred/gc2'
> ../../mzscheme/mzscheme3m -cqu "./gen-deps.ss"
> procedure application: expected procedure, given: #<variable-code>;
> arguments were: (quote #%utils) #f #f #t
> for-each: expects type <procedure> as 1st argument, given:
> #<variable-code>; other arguments were: ()
> make[4]: *** [gen-deps] Error 1
I'm afraid that I havent' seen this particular problem before,
but...
> I just configured it with:
> ./configure --prefix=/usr/local/plt/plt-4.0
It's been my recent experience that some parts of the tree are
badly behaved if configured at top level. Things work nicely if
you build in a sub-tree, instead:
cd src
mkdir build
cd build
../configure ...(configure args)
gmake
Might or might not help that particular problem, but it appears
to be necessary on FreeBSD, particularly something in the FFI
code.
Cheers,
Andrew