[plt-scheme] build error with svn 14677

From: Eli Barzilay (eli at barzilay.org)
Date: Fri May 1 17:07:35 EDT 2009

On May  1, Robby Findler wrote:
> The svn tree is the latest, but the Makefiles are not guaranteed to
> always get the right dependencies. They usually work, but if you see
> problems, best thing is to just blow away the build directory and
> try again. (And if you see a configure script change or a
> Makefile.in changes, then probably best to not even try.)

Right.  To make it *much* better, you should never build the source
tree in place -- that is, don't do this:

  cd .../plt/src
  ./configure
  make
  make install

Do this instead:

  cd .../plt/src
  mkdir build
  cd build
  ../configure
  make
  make install

This point is not specific to PLT -- it's generally healthier to do
this for any autoconf-based build.

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


Posted on the users mailing list.