Opened 13 years ago

Closed 13 years ago

#3355 closed Bugs (invalid)

"bjam install" tries to put libraries directly into /lib/ although --prefix is set

Reported by: peterschueller Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.39.0 Severity: Problem
Keywords: bjam install libdir lib Cc:

Description

I downloaded 1.39.0 and did

./bootstrap.sh --prefix=/home/staff/ps --without-libraries=python bjam install

bjam then builds and tries to install the libraries into /lib/... and not into /home/staff/ps/lib/ as intended

(install libraries in [EPREFIX/lib], exec prefix = [PREFIX], prefix = given)

Change History (7)

comment:1 by anonymous, 13 years ago

using --libdir=/home/staff/ps/lib as additional argument to ./boostrap.sh works flawlessly

comment:2 by Steven Watanabe, 13 years ago

This is a known bug which will be fixed in 1.40.

comment:3 by Peter Schüller <schueller.p@…>, 13 years ago

I just downloaded 1.40.0 and it no longer tries to install into /lib but into /usr/local/lib although I specified --prefix as /home/staff/ps

Additionally specifying --libdir again solves the problem.

comment:4 by Steven Watanabe, 13 years ago

What does the project-config.jam generated by bootstrap.bat contain at the end where it sets prefix, etc.?

comment:5 by Steven Watanabe, 13 years ago

I just tried 1.40 and --prefix seems to work with bootstrap.sh. I'm not sure why it didn't work for you.

comment:6 by Peter Schüller <schueller.p@…>, 13 years ago

I tried again, even with a completely new unpacked tar.gz, and now it works.

I'm sorry, the bug is fixed for me, obviously I did something wrong the first time.

comment:7 by Vladimir Prus, 13 years ago

Resolution: invalid
Status: newclosed

Thanks for re-checking. I'm marking this bug closed. Should it reappear, please reopen, and provide the exact commands you have used, so that we have a chance to understand the problem.

Note: See TracTickets for help on using tickets.