[plt-scheme] Question on build process for Linux and Mac OSX

From: Eli Barzilay (eli at barzilay.org)
Date: Sun Jun 14 16:39:04 EDT 2009

On Jun 14, Todd Rovito wrote:
> Greetings,
>    I would like to create a simple build process that creates mzscheme
> and shared libs for both CGC and 3m garbage collectors.  For Linux I
> perform the following steps with the source tree:
>         ./configure --prefix=/opt/plt-scheme --enable-shared
>         make both
>         make install-both
> This seems to work and I get .so files for everything I need.  On the
> Mac OSX side I am struggling, admittedly I am less familar with OSX.
>        ./configure --enable-xonx
> --prefix=/Users/rovitotv/prog/plt-scheme/ --enable-shared
> --disable-mred
>        make both <--- this step never finishes I get an error.
> The output from configure and make are below, thanks for the help.

It looks like you're trying to build in one directory, using sources
from a different directory called 

  /Users/rovitotv/prog/PLT Scheme v4.2 Source/

and the problem is the spaces in the name.  There are probably more
than a few places in the makefiles that don't deal gracefully with
such spaces, but fixing them is pointless since autoconf itself breaks
with spaces too.  If you build inside the PLT tree (eg, make a
directory called .../PLT/src/build, then in it run ../configure) then
things work because paths will be relative so they'll have no spaces.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.