Opened 15 years ago

Closed 15 years ago

#1047 closed Bugs (fixed)

Small Problem with the getting started guide making the whole build fail

Reported by: ben04_01@… Owned by: Dave Abrahams
Milestone: To Be Determined Component: Building Boost
Version: Severity: Showstopper
Keywords: Cc:

Description

Near the place where it says how to invoke bjam the following is written

C:WINDOWS> cd C:\Program Files\boost\boost_1_34_0 C:\Program Files\boost\boost_1_34_0> bjam More? --build-dir=%TEMP%\build-boost More? --toolset=msvc stage

That command line actually doesn't work. At least on my PC. %TEMP% expands to

DOCUME~1\HP_PRO~1\LOCALS~1\Temp

bjam tries to make sure that the directory exists and therefore tries to create it. However mkdir doesn't seem to like the short file version and fails in a way which results in bjam not building anything. Replacing %TEMP% with some directory without short file name made the build work.

I'd suggest replacing the commandline with

C:WINDOWS> cd C:\Program Files\boost\boost_1_34_0 C:\Program Files\boost\boost_1_34_0> bjam More? --build-dir=C:\my_temp\build-boost More? --toolset=msvc stage

There certainly are more important issues but it's just frustrating when bjam strikes and you copied pasted the suggest command line.

Change History (2)

comment:1 by Eric Niebler, 15 years ago

Owner: set to Dave Abrahams

comment:2 by Dave Abrahams, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.