Deleting all of the src tree and re-downloading it worked. I don't think that I'd run configure outside of that build directory, but it is possible, I suppose.
Robby On Sat, Jun 6, 2009 at 7:42 PM, Robby Findler<ro...@eecs.northwestern.edu> wrote: > I'm starting from a clean build directory and get the error: > > configure: error: source directory already configured; run "make > distclean" there first > configure: error: ../../../../foreign/gcc/libffi/configure failed for > foreign/gcc/libffi > > Full transcript below. > > Robby > > [chienshi] ~/svn/exp/plt/src% mkdir build > [chienshi] ~/svn/exp/plt/src% cd build > [chienshi] exp/plt/src/build% ../configure > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking how to run the C preprocessor... gcc -E > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking how to run the C++ preprocessor... g++ -E > checking for ranlib... ranlib > checking for cos in -lm... yes > checking for dlopen in -ldl... yes > checking for inline keyword... yes > checking for noinline attribute... yes > checking for GNU preprocessor... yes > checking for nl_langinfo (CODESET)... yes > checking for getaddrinfo... no > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/grep -E > checking for ANSI C header files... rm: conftest.dSYM: is a directory > rm: conftest.dSYM: is a directory > yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking iconv.h usability... yes > checking iconv.h presence... yes > checking for iconv.h... yes > checking iconv is usable... yes -liconv > checking for mbsrtowcs... yes > checking for char... yes > checking size of char... 1 > checking for short... yes > checking size of short... 2 > checking for int... yes > checking size of int... 4 > checking for long... yes > checking size of long... 4 > checking for long long... yes > checking size of long long... 8 > checking for stack direction... down > checking whether byte ordering is bigendian... no > checking whether C++ compiler works... yes > checking whether new and new[] are different... yes > checking png.h usability... no > checking png.h presence... no > checking for png.h... no > no libpng headers installed; building from PLT copy > checking jpeglib.h usability... no > checking jpeglib.h presence... no > checking for jpeglib.h... no > no libjpeg headers installed; building from PLT copy > configure: creating ./config.status > config.status: creating Makefile > config.status: creating mzscheme/Makefile > config.status: creating mzscheme/src/Makefile > config.status: creating mzscheme/dynsrc/Makefile > config.status: creating mzscheme/gc/Makefile > config.status: creating mzscheme/sgc/Makefile > config.status: creating mzscheme/gc2/Makefile > config.status: creating foreign/Makefile > config.status: creating mred/Makefile > config.status: creating mred/wxs/Makefile > config.status: creating mred/gc2/Makefile > config.status: creating wxcommon/libpng/Makefile > config.status: creating wxcommon/zlib/Makefile > config.status: creating wxmac/src/Makefile > config.status: creating mzscheme/mzconfig.h > === configuring in foreign/gcc/libffi > (/Users/robby/svn/exp/plt/src/build/foreign/gcc/libffi) > configure: running /bin/sh ../../../../foreign/gcc/libffi/configure > '--prefix=/Users/robby/svn/exp/plt' '--disable-multilib' > --cache-file=/dev/null --srcdir=../../../../foreign/gcc/libffi > checking build system type... i386-apple-darwin9.6.0 > checking host system type... i386-apple-darwin9.6.0 > checking target system type... i386-apple-darwin9.6.0 > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... yes > configure: error: source directory already configured; run "make > distclean" there first > configure: error: ../../../../foreign/gcc/libffi/configure failed for > foreign/gcc/libffi > Exit 1 > [chienshi] exp/plt/src/build% > _________________________________________________ For list-related administrative tasks: http://list.cs.brown.edu/mailman/listinfo/plt-dev