Opened 12 years ago

Closed 10 years ago

#4628 closed Bugs (fixed)

Old location of Boost.Jam source in documentation

Reported by: Mateusz Loskot Owned by: Vladimir Prus
Milestone: To Be Determined Component: build
Version: Boost 1.46.0 Severity: Problem
Keywords: bjam, jam Cc:

Description

The Boost 1.44 docs specify the old Boost.Jam location:

For the Boost.Jam source included with the Boost distribution the jam source
location is BOOST_ROOT/tools/jam/src. 

The location [source:trunk/tools/build/v2/engine@64010 has changed to engine] recently.

Attachments (1)

boost.png (62.2 KB ) - added by sumeet.jauhar@… 10 years ago.
Boost Root directory . I cant see any "tools" directory

Download all attachments as: .zip

Change History (13)

comment:1 by Daniel James, 12 years ago

Component: Documentationbuild
Resolution: invalid
Status: newclosed

The boost 1.44 documentation is for boost 1.44, not trunk. This hasn't been updated in trunk yet, but it presumably will be before release since the build procedure is different now anyway - IIUC bjam and boost build will be built and installed as a single entity.

comment:2 by Mateusz Loskot, 12 years ago

I'm sorry, I misunderstood the 1.44 includes already this change that introduced the move of jam sources.

comment:3 by anonymous, 12 years ago

This issue still persists with version 1_45_0. The instructions (http://www.boost.org/doc/libs/1_45_0/doc/html/jam/building.html ) on how to build bjam state "For the Boost.Jam source included with the Boost distribution the jam source location is BOOST_ROOT/tools/jam/src", however the package boost_1_45_0.zip does provide this directory. I do not understand the previous comment. If the page http://www.boost.org/doc/libs/1_45_0/doc/html/jam/building.html is deprecated it should be marked as such.

comment:4 by anonymous, 12 years ago

Resolution: invalid
Status: closedreopened
Version: Boost 1.44.0Boost 1.46.0

comment:5 by anonymous, 12 years ago

Owner: changed from Matias Capeletto to Vladimir Prus
Status: reopenednew

comment:6 by sumeet.jauhar@…, 10 years ago

I downloaded the version 1.50 version of boost . I get an error while trying to build the Boost libraries

C:\Program Files (x86)\boost\boost_1_50>bjam --build-dir="C:\build-boost" toolse

t=msvc --build-type=complete stage

Unable to load Boost.Build: could not find build system. --------------------------------------------------------- C:\Program Files (x86)\boost\boost_1_50\boost-build.jam attempted to load the bu ild system by invoking

'boost-build tools/build/v2 ;'

but we were unable to find "bootstrap.jam" in the specified directory

I agree with the above ticket i dont see any " tools/build/v2" directory in my Boost Installation ..... What is the new location ? Is the document not yet updated ?

comment:7 by Vladimir Prus, 10 years ago

What is the exact link to the 1.50 archive you've used? "tools/build/v2" surely exists in all versions.

in reply to:  7 comment:8 by sumeet.jauhar@…, 10 years ago

http://www.boostpro.com/download/

I picked the installers hosted here . I first tried with version 1.51 . When I encountered the same problem i downgraded to 1.50 . I can be sure that i did not see the "tools/build/v2" directory in either of the versions .

by sumeet.jauhar@…, 10 years ago

Attachment: boost.png added

Boost Root directory . I cant see any "tools" directory

comment:9 by Vladimir Prus, 10 years ago

Installers from those site are provided by a commercial company, and are therefore not supported via this tracker. Further, those installers *should* install binary packages, so you don't have to build anything. I have no idea why they appear to include boost-build.jam in the root folder, but not the "tools/build/v2" folder, but again, it's question for them.

If you wish to building using official docs, please use official packages, please see here http://www.boost.org/users/history/version_1_50_0.html

Does that answer your question?

in reply to:  9 comment:10 by sumeet.jauhar@…, 10 years ago

Thanks ! i was not aware of the fact that there was a mismatch between my downloaded boost and the documentation that i was following . Phew . Apologies . However another point of confusion remains . Is bjam driver the same as b2 ?

I am following the documentation here http://www.boost.org/doc/libs/1_50_0/libs/python/doc/building.html . And here the step 3 describes the way to get bjam driver . But the link has "no" mention about bjam driver . Instead it speaks about b2 driver .

I am so confused . If you can provide me with the link to the compatible bjam driver for Boost Python 1.50 i would appreciate it .

comment:11 by Vladimir Prus, 10 years ago

b2 and bjam are the same, with b2 a newer name. If you have full source, and you went to root folder, and ran

bootstrap.bat

You will have either b2.exe or bjam.exe created right in the root folder, which is the easiest approach.

comment:12 by Steven Watanabe, 10 years ago

Resolution: fixed
Status: newclosed

(In [83494]) Adjust jam docs to match the current state. Fixes #4628.

Note: See TracTickets for help on using tickets.