Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost] Boost 1.39: libdir installation path problem
From: Marco Guazzone (marco.guazzone_at_[hidden])
Date: 2009-05-07 09:01:59


On Thu, May 7, 2009 at 2:48 PM, Johan Oudinet <johan.oudinet_at_[hidden]> wrote:
> Hi,
>
> On Mon, May 4, 2009 at 11:01 AM, Vladimir Prus
> <vladimir_at_[hidden]> wrote:
>> Marco Guazzone wrote:
>>
>>> Hi,
>>> I'm installing Boost 1.39 on Fedora 10 64bit (gcc 4.3.2) with the
>>> following command:
>>>
>>> $ ./bootstrip.sh --prefix=/home/marco/sys
>>> $ ./bjam install
>>>
>>> The installation process showed a lot of error like this:
>>>
>>> --- [error_snip] ---
>>> common.copy /lib/libboost_math_tr1f-gcc43-mt-1_39.so.1.39.0
>>> cp: cannot create regular file
>>> `/lib/libboost_math_tr1f-gcc43-mt-1_39.so.1.39.0': Permission denied
>>
>> Seems like a bug :-( I'll see what we can do.
>
> I have the same problem on Ubuntu 8.10 32bits with the following command:
> $ ./bootstrip.sh --prefix=$HOME/usr/
> $ ./bjam install
>
> Do there is a workaround? for example, can I do something like that:
> $ cp **/*.{a,so} $HOME/usr/lib/

As I suggested in my email above, a possible workaround (that works
for me) is by specifying the "--libdir" option, that is:

$ ./bootstrap.sh --prefix=$HOME/usr --libdir=$HOME/usr/lib
$ ./bjam install

Another workaround is by setting by hand the libdir properties in the
file "project-config.jam", just after issuing the bootstrap.sh command
and before the bjam one.

Cheers,

-- Marco


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net