Can't configure in source dir..

Ben Elliston bje@redhat.com
Tue Oct 10 13:15:00 GMT 2000


Hi Mike,

   I get the following error after untarring the SN source, cd'ing
   into the dir and trying to configure:
   
   10 mharris@asdf:~/rpmbuild/SOURCES/SN452-source$ ./configure
   Configuring for a i586-pc-linux-gnu host.
   *** Cannot configure in source tree.
   *** Make a parallel directory and configure there.

   No matter what directory I put the sources in I get this.  I've got 3
   copies of the untarred sources right now and it still does not
   configure no matter what.  Looking at the configure script I find:

It means exactly what the error says: you can't run configure in the source
tree.  Instead, do this:

	$ mkdir build && cd build
	$ ../path/to/src/configure [--switches]

Sorry about the confusion.  Syd -- this is a good candidate for an FAQ.

Cheers, Ben



More information about the Sourcenav mailing list