Boost logo

Boost-Build :

Subject: Re: [Boost-build] Installing new version on top of old version...
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-04-03 01:11:18

On Friday 03 April 2009 02:22:02 barcaroller wrote:
> I had a Linux system with Boost v1.33 already installed. To install Boost
> v1.38, I ran the following commands:
> > tar xvfz boost_1_38_0.tar.gz
> > cd boost_1_38_0
> > ./configure --prefix=/usr
> > sudo make install
> This caused two problems:
> - In the /usr/lib directory, the v1.33 Boost library names were unchanged
> (e.g. libboost_iostreams.a) while the new v1.38 Boost library names had
> postfixes (e.g. libboost_iostreams-gcc41-mt-1_38.a)
> - The /usr/include/boost directory remained unchanged and the new
> installation used /usr/include/boost-1_38/boost for the new header files
> I do not want to modify my makefiles. How do I build Boost v1.38 so as to
> completely replace Boost v1.33 (using the same file names and directories)

I suggest you add --layout=system option, and then handle remaining differences
using symlinks.

- Volodya

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at