Boost logo

Boost-Build :

From: ylei2 (ylei2_at_[hidden])
Date: 2005-05-01 10:34:42


Hi there,

I got a problem in building boost.
Boost version: 1.32.0
BJam version : 3.1.10

I downloaded the source code onto Solaris 5.8 with Gcc 333.

First I built the jam/bjam as instructed from tools/build/jam_src,
and got my jam/bjam executable.

Then I copied those jam/bjam tools into my ~/bin directory which is on
my PATH env.

Third, I cd to my boost src directory
and do

bjam -fjamfile "-sTOOLS=gcc" stage

then comes out the following error message
--- error msg ----
jamfile:105: in module scope
rule unless unknown in module

The line 105 is something like :
local boost-locate = [ unless $(with-stage) : [ MATCH
"^--prefix=(.*)" : $(ARGV) ] : $(stage-locate) ] ;

Well, it seems this jam didn't understand unless rule.
I have no idea whethere I should define a unless rule,
or get another version of jam.

I have searched the boost.org mail archive,
seems one guy had the same question, the answer is just
what I 've done as described above. He is on Darwin, succeeded.
While I am on Solaris, and failed.

Any suggestions appreciated.

-- Yong

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk