Boost logo

Boost :

Subject: Re: [boost] [btree] build advice needed
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-10-03 14:43:14


Vladimir Prus wrote:

> Phil Endecott wrote:
>
>> Dear Beman & others,
>>
>> At the risk of appearing ignorant and being told the RTM, can someone
>> please help me to build btree? I am attempting to do this on a
>> smallish ARM Linux box where building the whole of Boost is impractical
>> (but which should otherwise be very similar to an x86 Linux system).
>> So far:
>>
>> # apt-get install g++ (etc)
>> # apt-get install boost-build
>> # apt-get install bjam
>> # apt-get install git
>>
>> $ git clone git://github.com/Beman/Boost-Btree btree
>> $ cd btree/libs/btree/build
>> $ bjam
>> error: Could not find parent for project at '.'
>> error: Did not find Jamfile or project-root.jam in any parent directory.
>>
>> As it says, there is no project-root.jam or Jamfile in any parent; this
>> makes me think that perhaps it is expecting this to be part of a larger
>> Boost tree.
>
> Yes, that's what it expects. Is getting full Boost source tree inpractical, too?
> You can build just one library easily.

Ah, and when you get full tree, I'd recommend:

        ./bootstrap.sh
        ./bjam --with-btree

as opposed to using whatever version of Boost.Build is in Debian -- it is
probably old.

- Volodya


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk