From: Garrett C. <yan...@gm...> - 2009-11-07 01:28:55
|
Hi again, On Fri, Nov 6, 2009 at 4:03 PM, Randy Dunlap <rd...@xe...> wrote: > > "Configuration" section to match Makefile message. > How to use DESTDIR and --prefix together. > > TODO: > "Quick Start" does not work. > "Not using autoconf:" does not work. > > --- > INSTALL | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > --- ltp-full-20091031-auto.orig/INSTALL > +++ ltp-full-20091031-auto/INSTALL > @@ -29,7 +29,7 @@ downloaded from: > - http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.bz2 > - http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.gz > > -Configuring > +Configuration > ------------------- > Using autoconf: > $ make autotools # This must be run from "$TOP_SRCDIR!" > @@ -74,6 +74,13 @@ in the same directory where the source f > sysroot, as opposed to the host system's sysroot. > - Specify SKIP_IDCHECK=1 if and when you don't want to modify /etc/{group,passwd} > on the target system's sysroot. > +- If you want to build and install ltp inside its source tree (e.g., in > + $TOP_SRCDIR/ltpbin/), to support multiple versions of LTP on one system, > + then use > + > + $ cd $TOP_SRCDIR > + $ mkdir ltpbin > + $ ./configure DESTDIR=$PWD --prefix=$PWD/ltpbin > > If you get a build error, please report it to ltp...@li... with > following information, > My only question about this is this step above a frequently used usecase? Thanks! -Garrett |