Hi all,
I may be doing something very stupid here so please forgive me in
advance.. I've installed Boost using Brew, and apparently have no
problems (I can compile and run the example in section 4 here:
http://www.boost.org/doc/libs/1_47_0/more/getting_started/unix-variants.html
) but I'm looking to understand the system further and in particular
to use Boost.Python. The documents say things like "To run the full
test suite for Boost.Python, invoke bjam in the libs/python/test
subdirectory of your Boost distribution." and other sections of the
documents say I should have a boost directory which looks like this:
boost_1_47_0/ .................The “boost root directory”
index.htm .........A copy of www.boost.org starts here
boost/ .........................All Boost Header files
libs/ ............Tests, .cpps, docs, etc., by library
index.html ........Library documentation starts here
algorithm/
any/
array/
…more libraries…
status/ .........................Boost-wide test suite
tools/ ...........Utilities, e.g. Boost.Build, quickbook, bcp
more/ ..........................Policy documents, etc.
doc/ ...............A subset of all Boost library docs
All I can find is /usr/local/boost/1.46.1 which contains include/ and
lib/ (note: I'm not claiming the different version numbers are a
problem here). It appears all I have after instlalling with Homebrew
is the necessary headers and libraries to build and run programs. Is
this additional content (including documents, a shell script
'bootstrap.sh', etc..) installed somewhere by Brew and I can't find
it? If not is there a simple way to get at it? I have checked the
boost.rb file but unfortunately my Ruby knowledge is non-existent so I
couldn't quite follow through what was happening.
Can I get these support files conveniently, using Homebrew? Or is my
best option to install Boost and related "sub-libraries" like
Boost.Python myself?
Many thanks in advance for your help.
Malcolm
Sounds to me like they expect you to run these things on the tarball they distribute, not the resulting installed files. > Hi all, > > I may be doing something very stupid here so please forgive me in > advance.. I've installed Boost using Brew, and apparently have no > problems (I can compile and run the example in section 4 here: > http://www.boost.org/doc/libs/1_47_0/more/getting_started/unix-variants.html > ) but I'm looking to understand the system further and in particular > to use Boost.Python. The documents say things like "To run the full > test suite for Boost.Python, invoke bjam in the libs/python/test > subdirectory of your Boost distribution." and other sections of the > documents say I should have a boost directory which looks like this: > > boost_1_47_0/ .................The “boost root directory” > index.htm .........A copy of www.boost.org starts here > boost/ .........................All Boost Header files > > libs/ ............Tests, .cpps, docs, etc., by library > index.html ........Library documentation starts here > algorithm/ > any/ > array/ > …more libraries… > status/ .........................Boost-wide test suite > tools/ ...........Utilities, e.g. Boost.Build, quickbook, bcp > more/ ..........................Policy documents, etc. > doc/ ...............A subset of all Boost library docs > > All I can find is /usr/local/boost/1.46.1 which contains include/ and > lib/ (note: I'm not claiming the different version numbers are a > problem here). It appears all I have after instlalling with Homebrew > is the necessary headers and libraries to build and run programs. Is > this additional content (including documents, a shell script > 'bootstrap.sh', etc..) installed somewhere by Brew and I can't find > it? If not is there a simple way to get at it? I have checked the > boost.rb file but unfortunately my Ruby knowledge is non-existent so I > couldn't quite follow through what was happening. > > Can I get these support files conveniently, using Homebrew? Or is my > best option to install Boost and related "sub-libraries" like > Boost.Python myself? > > Many thanks in advance for your help. > > Malcolm
Yeah, I figured that, I just wondered if that was being stored somewhere hidden by Homebrew (as presumably that is what has been downloaded in the course of building on my machine). I think I'm just going to work with Boost from SVN and that solves my problem, although I'm interested to know if the tarball is kept in a directory anywhere. Malcolm On Thu, Jul 21, 2011 at 3:10 PM, Max Howell <max@methylblue.com> wrote: > Sounds to me like they expect you to run these things on the tarball they distribute, not the resulting installed files. > >> Hi all, >> >> I may be doing something very stupid here so please forgive me in >> advance.. I've installed Boost using Brew, and apparently have no >> problems (I can compile and run the example in section 4 here: >> http://www.boost.org/doc/libs/1_47_0/more/getting_started/unix-variants.html >> ) but I'm looking to understand the system further and in particular >> to use Boost.Python. The documents say things like "To run the full >> test suite for Boost.Python, invoke bjam in the libs/python/test >> subdirectory of your Boost distribution." and other sections of the >> documents say I should have a boost directory which looks like this: >> >> boost_1_47_0/ .................The “boost root directory” >> index.htm .........A copy of www.boost.org starts here >> boost/ .........................All Boost Header files >> >> libs/ ............Tests, .cpps, docs, etc., by library >> index.html ........Library documentation starts here >> algorithm/ >> any/ >> array/ >> …more libraries… >> status/ .........................Boost-wide test suite >> tools/ ...........Utilities, e.g. Boost.Build, quickbook, bcp >> more/ ..........................Policy documents, etc. >> doc/ ...............A subset of all Boost library docs >> >> All I can find is /usr/local/boost/1.46.1 which contains include/ and >> lib/ (note: I'm not claiming the different version numbers are a >> problem here). It appears all I have after instlalling with Homebrew >> is the necessary headers and libraries to build and run programs. Is >> this additional content (including documents, a shell script >> 'bootstrap.sh', etc..) installed somewhere by Brew and I can't find >> it? If not is there a simple way to get at it? I have checked the >> boost.rb file but unfortunately my Ruby knowledge is non-existent so I >> couldn't quite follow through what was happening. >> >> Can I get these support files conveniently, using Homebrew? Or is my >> best option to install Boost and related "sub-libraries" like >> Boost.Python myself? >> >> Many thanks in advance for your help. >> >> Malcolm > >
On Thu, Jul 21, 2011 at 9:36 AM, Malcolm Reynolds < malcolm.reynolds@gmail.com> wrote: > Yeah, I figured that, I just wondered if that was being stored > somewhere hidden by Homebrew (as presumably that is what has been > downloaded in the course of building on my machine). I think I'm just > going to work with Boost from SVN and that solves my problem, although > I'm interested to know if the tarball is kept in a directory anywhere. > > Malcolm Homebrew keeps tarballs and source checkouts in: ~/Library/Caches/Homebrew There's an external command called `brew unpack` that will extract those tarballs to the location of your choosing: brew unpack boost Will extract boost to the current working directory. The only caveat with `brew unpack` is that it does not apply patches. -Charlie