|
Boost Users : |
Subject: Re: [Boost-users] simple thread program hardtocompile/link with 1.46.1
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-05-22 21:38:03
On May 22, 2011, at 7:09 PM, Eric Lin wrote:
> Dear Steven or any boost programers/users:
>
> I tried
> ./bootstrap.sh
> ./bjam
> ./bjam install
>
> in my /boost_1_46_1/ directory which is auto extracted by my ubuntu linux after download
>
> but I got the following build/compile errors:(these are just small portion of all errors)(c++ compiler is g++ of gnu on intel)
> ------------------------------
> cp "bin.v2/libs/math/build/gcc-4.4.3/release/link-static/threading-multi/libboost_math_c99f.a" "/usr/local/lib/libboost_math_c99f.a"
>
> ...failed common.copy /usr/local/lib/libboost_math_c99f.a...
> common.copy /usr/local/lib/libboost_math_c99l.a
> cp: cannot create regular file `/usr/local/lib/libboost_math_c99l.a': Permission denied
Looks like you'll need to do
sudo ./bjam install
in order to get the permissions to install there.
or use
./bootstrap.sh --prefix=path/to/installation/prefix
to install somewhere else.
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