Boost logo

Boost Users :

Subject: [Boost-users] [Boost] Boost 1.39: libdir installation path problem
From: Marco Guazzone (marco.guazzone_at_[hidden])
Date: 2009-05-03 04:47:56

I'm installing Boost 1.39 on Fedora 10 64bit (gcc 4.3.2) with the
following command:

$ ./ --prefix=/home/marco/sys
$ ./bjam install

The installation process showed a lot of error like this:

--- [error_snip] ---
common.copy /lib/
cp: cannot create regular file
`/lib/': Permission denied

    cp "bin.v2/libs/math/build/gcc-4.3.2/release/threading-multi/"

...failed common.copy /lib/
--- [/error_snip] ---

In effect it seems that the script "" did not correctly
write the "libdir" configuration in the JAM project config file (at
least as expected from what is said in the " --help"
message, which claims that "libdir" defaults to "EPREFIX/lib" which
in turns defaults to "PREFIX/lib").

Here below is the generated "project-config.jam" file:

--- [snip] ---
# Boost.Build Configuration
# Automatically generated by

import option ;
import feature ;

# Compiler configuration. This definition will be used unless
# you already have defined some toolsets in your user-config.jam
# file.
if ! gcc in [ feature.values <toolset> ]
    using gcc ;

project : default-build <toolset>gcc ;

# Python configuration
using python : 2.5 : /usr ;

# List of --with-<library> and --without-<library>
# options. If left empty, all libraries will be built.
# Options specified on the command line completely
# override this variable.
libraries = ;

# These settings are equivivalent to corresponding command-line
# options.
option.set prefix : /home/marco/Sys ;
option.set exec-prefix : /home/marco/Sys ;
option.set libdir : /lib ;
option.set includedir : /home/marco/Sys/include ;
--- [/snip] ---

To solve, I have to explicitly force the lib path with


-- Marco

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at