List Info

Thread: configure --prefix= ignored




configure --prefix=<path> ignored
country flaguser name
Germany
2007-03-23 07:57:08
I want to compile, install and check boost.
Since I use different compiler versions I need to keep
different versions of libraries at different places.

I tried the following commands:


#unpack sources
mkdir /srv/develpak/boost133
cd /srv/develpak/boost133
tar -xjf /srv/develpak/dnl/boost_1_33_1.tar.bz2

#configure
cd /srv/develpak/boost133/boost_1_33_1/libs/config/
export LIBS="-lpthread"
sh ./configure --prefix=/usr/local/boost133-gcc40
cp user.hpp
/srv/develpak/boost133/boost_1_33_1/boost/config

#build jam
cd /srv/develpak/boost133/boost_1_33_1/tools/build/jam_src/
sh ./build.sh
export
PATH=$PATH:/srv/develpak/boost133/boost_1_33_1/tools/build/j
am_src/bin.linux

#compile
cd /srv/develpak/boost133/boost_1_33_1
bjam -j8

#login as root
su 

#install
bjam install

But then I get messages like:
"FileClone
/usr/local/lib/libboost_regex-gcc-d-1_33_1.so"

I specified "--prefix=/usr/local/boost133-gcc40"
at configure so why does it install in /usr/local/lib/ ?

Also since I do a 64bit build it uses /usr/local/lib/ and
not /usr/local/lib64/
But that only because I just see it ....

My problem is that I want to install in the directory given
at configure and NEVER touch any existing software in other
directories like /usr/local/lib where the production
versions are.

Can you please advice me what I have to do?


Many thanks in advance
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: configure --prefix=<path> ignored
country flaguser name
United States
2007-03-23 13:28:26
On Fri, 2007-03-23 at 13:57 +0100, Michael Cieslinski
wrote:
> I want to compile, install and check boost.
> Since I use different compiler versions I need to keep
different versions of libraries at different places.
> 
> I tried the following commands:
> 
> 
> #unpack sources
> mkdir /srv/develpak/boost133
> cd /srv/develpak/boost133
> tar -xjf /srv/develpak/dnl/boost_1_33_1.tar.bz2
> 
> #configure
> cd /srv/develpak/boost133/boost_1_33_1/libs/config/
> export LIBS="-lpthread"
> sh ./configure --prefix=/usr/local/boost133-gcc40
> cp user.hpp
/srv/develpak/boost133/boost_1_33_1/boost/config

configure generates a Makefile. You should just be able to
"make", then
"make install".

  Cheers,
  Doug

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )