Opened 8 years ago

Closed 8 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:


I downloaded 1.39.0 and did

./ --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)

Attachments (0)

Change History (7)

comment:1 Changed 8 years ago by anonymous

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

comment:2 Changed 8 years ago by steven_watanabe

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

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

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 Changed 8 years ago by steven_watanabe

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

comment:5 Changed 8 years ago by steven_watanabe

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

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

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 Changed 8 years ago by vladimir_prus

  • Resolution set to invalid
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.