Trying to install 1.47 on Snow Leopard using clang toolset gives error "missing argument parent-requirements"

Hi -- I'm trying to install boost 1.47.0 on my Snow Leopard machine, using clang, but I can't seem even to build the b2 tool. The error I get is "missing argument parent-requirements". The full output is here: https://gist.github.com/1081527 If anyone could offer me any advice, I'd be very grateful -- I'm dying to play with Phoenix! :) Cheers, Doug.

On Jul 13, 2011, at 4:00 PM, doug livesey wrote:
That's odd - I didn't have any problems with it on my Mac (MacBookPro, 10.6.8, gcc and llvm). On the other hand, I didn't use --prefix -- Marshall Marshall Clow Idio Software mailto:mclow.lists@gmail.com A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki

On Thu, Jul 14, 2011 at 1:00 AM, doug livesey
You should run the bootstrap script and b2 executable from the boost root directory (not tools/build/v2).
If anyone could offer me any advice, I'd be very grateful -- I'm dying to play with Phoenix! :)
You don't need to install anything if you want to play with phoenix. It is header only. Point your compiler to the proper include directory, read the docs, and off you go ;)
Cheers, Doug.

As I say, I'm not even getting to the boost build, as it's the build tools
install that's failing. I have bjam, but it generates a warning about being
an incompatible version when I run it.
Incidentally, the bootstrap.sh in tools/build/v2 is slightly incorrect -- it
offers a --with-bjam option in the usage instructions, but there's no such
option in the script.
Thanks very much for the replies so far,
Doug.
On 14 July 2011 06:48, Thomas Heller

On Thu, Jul 14, 2011 at 8:25 AM, doug livesey
Which docs? Did you try the Getting Started Guide? http://www.boost.org/doc/libs/1_47_0/more/getting_started/unix-variants.html... I may miss something ... but this procedure is working for me since quite a while now ... As for installing b2, it is enough to put it into $PATH

On Thu, Jul 14, 2011 at 9:32 AM, doug livesey
Building the Boost.Build binaries with the default system compiler should be fine. What you want to do is to invoke the actual building with a different toolset. This is what you want to do: $ cd boost_1_47_0 $ ./bootstrap.sh --prefix=/path/to/your/boost/installation $ ./b2 toolset=clang install these set of commands will build the b2 with gcc, but the libraries itself with clang. HTH, Thomas
participants (3)
-
doug livesey
-
Marshall Clow
-
Thomas Heller