Boost logo

Boost-Build :

From: Bill Taylor (wataylor_at_[hidden])
Date: 2007-01-15 19:39:17


The boost jam file has 2 versions. The default is to use v1, would v2
be any better for me?
Anyway, this is what my problem is all about. Thanks in advance.

> Message: 8
> Date: Mon, 15 Jan 2007 10:07:12 -0600
> From: Rene Rivera <grafikrobot_at_[hidden]>
> Subject: Re: [Boost-build] I can't get boot to build on MAC OSX 10.3.9
> To: "Boost.Build developer's and user's list"
> <boost-build_at_[hidden]>
> Message-ID: <45ABA6B0.6080203_at_[hidden]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Bill Taylor wrote:
>
>> copy
>> "/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/wave/util/
>> unput_queue_iterator.hpp"
>> "C:/Boost/include/boost-1_33_1/boost/wave/util/
>> unput_queue_iterator.hpp" >NUL:
>
> Weird.
>
>> What am I doing wrong?
>
> Do you have a variable "NT" defined in you environment? If you do it's
> likely confusing Boost.Build into thinking it's running in a WindowsNT
> OS.

I did indeed have such a symbol, it stands for New Testament and
supports my Biblical research by listing all the books of the New
Testament. I took it out and with the command

time bjam -sTOOLS=darwin install

boost now compiles except for:

In file included from
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/th\
read/detail/config.hpp:18,
                  from
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/libs/thr\
ead/src/barrier.cpp:12:
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/config/
requires_threads.\
hpp:47:5: #error "Compiler threading support is not turned on. Please
set the c\
orrect command line options for threading: -pthread (Linux), -pthreads
(Solaris\
) or -mthreads (Mingw32)"
In file included from
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/th\
read/barrier.hpp:17,
                  from
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/libs/thr\
ead/src/barrier.cpp:13:
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/thread/
mutex.hpp:58: err\
or: `
    cv_state' was not declared in this scope
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/thread/
mutex.hpp:58: err\
or: `
    state' was not declared in this scope
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/thread/
mutex.hpp:58: err\
or: invalid
    data member initialization
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/thread/
mutex.hpp:58: err\
or: (use
    `=' to initialize static data members)
/Users/wat/Desktop/AccessLitigation/boost_1_33_1/boost/thread/
mutex.hpp:58: err\
or: variable
    o

I obviously have to tell boost to use threads. The application I am
linking does not use threads, but boost won't install the .h files
unless everything compiles and my application's configure utility won't
proceed without them.

Do you have another suggestion?

Thanks.

Bill Taylor


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