Boost logo

Boost-Build :

From: Rush Manbert (rush_at_[hidden])
Date: 2006-03-21 13:50:46


Phillip Seaver wrote:
> I'm trying to get all my libs and necessary header files installed in a
> common place so that someone using xcode to build their app can just
> point there instead of the individual project folders and build
> directories. It's saying that I need to do a ranlib on the .a files.
> How would I fix boost.build to do a ranlib after it copies .a files? Or
> does something else need to be done?
>
>
>>common.copy /Users/flip/stage/libs/debug/libetsopt.a
>>darwin.link
>>../../../bbuild/progs/pdftool/darwin/debug/link-static/pdftool_d
>>ld: table of contents for archive:
>>/Users/flip/stage/libs/debug/libetsopt.a is out of date; rerun
>>ranlib(1) (can't load from it)
>

Hi Phillip,

I see you got no other responses, so I'll give you my 2 cents.

I have built and installed Boost on Mac OS 10.4.5 (ppc and intel), and I
don't have the problem you describe. My bjam invocation looks like this:

# Directories of interest
bjam="../../thirdPartyTools/installedMac/bjam"
installDir="../installedMac/individual/boost"
buildProductsDir="../buildProductsMac/boost"

cd ../sources/boost || exit 1
../$bjam -sTOOLS=darwin --layout=system --prefix=../$installDir
--exec-prefix=../$installDir --builddir=../$buildProductsDir install

I extracted this from my bash script that builds and installs Boost, but
you can see that --prefix and --exec-prefix point to one place, while
--builddir points to another, and I specify install so that the build
copies the files. I don't run ranlib after the install, have linked
against a subset of the resultant libraries, and the linker has never
complained.

My guess is that this won't really help you (which is why I didn't reply
earlier), but it's another data point.

Regards,
Rush


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