Modify

Ticket #3355 (closed Bugs: invalid)

Opened 5 years ago

Last modified 5 years ago

"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)

Attachments

Change History

comment:1 Changed 5 years ago by anonymous

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

comment:2 Changed 5 years ago by steven_watanabe

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

comment:3 Changed 5 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 5 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 5 years ago by steven_watanabe

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

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

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.