Boost logo

Boost Users :

Subject: Re: [Boost-users] [Install] Am I doing something silly....?
From: Olaf Peter (ope-devel_at_[hidden])
Date: 2010-04-26 07:47:00


> Despite having used Boost for quite while I'm doing my first install of
> Boost on
> a Linux box and don't seem to be getting it right! This should be
> straight forward,
> using all the defaults.
>
> Specifically this is Fedora 11 (64-bit), with gcc 4.4.1 and Boost 1.42,
> and I don't have
> write permission for /usr/local, so...
>
>> ./bootstrap.sh --prefix=/home/rjones/thirdparty/boost/boost_1_42_0
> ....
>> ./bjam install 2>&1 | tee bjam.log
>
> There's A LOT of noise, lots of warnings, some errors, and finally
>
> cp: cannot create regular file `/usr/local/lib/libboost_wave.a':
> Permission denied
>
> cp
> "bin.v2/libs/wave/build/gcc-4.4.1/release/link-static/threading-multi/libboost_wave.a"
> "/usr/local/lib/libboost_wave.a"
>
> ...failed common.copy /usr/local/lib/libboost_wave.a...
> ...failed updating 98 targets...
> ...skipped 7732 targets...
> ...updated 674 targets...
>
> I've attached the logfile begin and end (it's huge!). Can anyone tell me
> what I'm doing wrong.

without reading your full log file, do you have write permissions on
/usr/local (maybe /usr/local mounted ro)? I guess, you have sudo on
Fedora, try on install time sudo ./bjam install .....

Regards,
Olaf


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