autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a clean configure?


From: Ralf Wildenhues
Subject: Re: a clean configure?
Date: Thu, 23 Jun 2005 20:17:27 +0200
User-agent: Mutt/1.5.9i

* Allen Irwin wrote on Thu, Jun 23, 2005 at 08:08:17PM CEST:
> 
> > > Right now I'm having to delete the whole directory structure and untar
> > > my libs each time.
> > 
> > Hmm, yet another reason to have a build tree separate from the source
> > tree.  You should try that.  But also, quite a number of packages break
> > VPATH builds (unintentionally) when the maintainers don't use them.
> > OTOH, there are also packages which require you to have a build tree
> > different from the source tree (GCC, for example).
>
> Thanks for your reply Ralf!  I wasn't aware I had an option of a
> separate source and build dir.  I'll do some research into that (I can
> see the --srcdir option) as that certainly makes sense.

No need for --srcdir.  Just do it like this (assuming the sources live
in the directory $PACKAGE-$VERSION):

mkdir build
cd build
../$PACKAGE-$VERSION/configure [ OPTIONS.. ]
make
make install

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]