Re: [Plib-devel] Make Local for PLIB?
Brought to you by:
sjbaker
From: Bert D. <dri...@pl...> - 2004-07-29 00:24:17
|
On Wed, 28 Jul 2004, Fay John F Contr AAC/WMG wrote: > I have been trying to implement PLIB on my upgraded Linux box and > have run into a bit of a snag. I would like to make the PLIB libraries as a > user (rather than as root) and keep them in a local user directory rather > than installing them. Would it be possible to add a "local" option to the > Makefiles so that I could say "make local" and have all the header files and > library files wind up in a local directory? We do exactly that under > Windows right now and I find it quite handy. I do something like that, using something like this: #!/bin/sh [ -d ~/fgfs-install ] || mkdir ~/fgfs-install inst_root=`cd ~/fgfs-install;pwd` cd ~/cvs/plib # where I check out plib ./configure --prefix=$inst_root gmake install cd ~/cvs/SimGear ./configure --prefix=$inst_root gmake install ... (off the top off my head, but you get the idea). I occasionally even use a trick like this to compare the functionality of different releases, e.g. I might do mkdir ~/fgfs-gcc33 inst_root=`cd ~/fgfs-gcc33;pwd` cd ~/cvs/plib # where I check out plib CC=gcc33 CXX=g++33 ./configure --prefix=$inst_root [...] Isn't this what you want to achieve? Cheers, -- bert -- Bert Driehuis -- dri...@pl... -- +31-20-3116119 If the only tool you've got is an axe, every problem looks like fun! |