[Install] Am I doing something silly....?
Hi Guys 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. Thanks, Rob.
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
On Mon, Apr 26, 2010 at 12:47 PM, Olaf Peter
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
Hi Olaf - thanks for replying. I do not have permission for /usr/local, but why I should need it is one of the things that puzzles me. Since I specified ~/thirdparty/... as the prefix to bootstrap I figured I should be able to run this as me, not as root? Cheers, Rob.
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
Hi Olaf - thanks for replying. I do not have permission for /usr/local, but why I should need it is one of the things that puzzles me. Since I specified ~/thirdparty/... as the prefix to bootstrap I figured I should be able to run this as me, not as root?
IIRC you need to specify the prefix=... on bjam's install option as well (I don't have nor my linux box or bjam here). bjam is different from autotools or even cmake ;-) Regards, Olaf
On Mon, Apr 26, 2010 at 1:33 PM, Olaf Peter
IIRC you need to specify the prefix=... on bjam's install option as well (I don't have nor my linux box or bjam here). bjam is different from autotools or even cmake ;-)
Olaf - Many thanks, that was much better - only python bindings and bzip fail now, and that's an easy thing to sort out. This is quite different from the beginner's getting started guide, which seems a bit of a catastrophe really! - Rob.
participants (2)
-
Olaf Peter
-
Robert Jones