On Sun, 8 Nov 2009 11:17:44 -0800 Garrett Cooper wrote: > On Sun, Nov 8, 2009 at 10:13 AM, Mike Frysinger <[email protected]> wrote: > > On Sunday 08 November 2009 12:50:19 Randy Dunlap wrote: > >> On Fri, 6 Nov 2009 17:28:42 -0800 Garrett Cooper wrote: > >> > On Fri, Nov 6, 2009 at 4:03 PM, Randy Dunlap 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 [email protected] > >> > > with following information, > >> > > >> > My only question about this is this step above a frequently used usecase? > >> > >> I can't answer that. It seems like a good idea to be able to have > >> multiple versions of ltp installed and it took me a little while to > >> figure out how to use both DESTDIR and --prefix, so I'd like a reference > >> for it... > > > > --prefix and DESTDIR under LTP should work exactly the same as under any > > autotooled package. passing DESTDIR to configure doesnt make sense imo, nor > > does this example. this example suggests a file tree of: > > $PWD/$PWD/ltpbin/..... > > 1. DESTDIR doesn't get saved with configure today (and quite frankly > won't work). > 2. --prefix alone will do the trick (unless you're exporting this via > NFS at $(DESTDIR) or chrooting the path).
whatever. I sent a patch for what worked for me. thanks. --- ~Randy ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
