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

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Jun 15 18:10:01 EDT 2009

FWIW, building inside the PLT tree should generally be simpler in
terms of what you need your scripts to do.  This is how the nightly
builds are done (and if you want the details, I've put the build
script at http://tmp.barzilay.org/build).


On Jun 15, Todd Rovito wrote:
> Eli,
>   Thanks that did the trick I removed the spaces from the source tree
> and it built perfect.  Now I have both CGC and 3m garbage collectors
> with a similar build process for Linux and OS X. I appreciate the fast
> reply, you are a genius.
> 
> On Sun, Jun 14, 2009 at 10:39 AM, Eli Barzilay<eli at barzilay.org> wrote:
> > 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.