Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-21 11:41:22


Avram Aelony <aavram_at_[hidden]> writes:

> From: Avram Aelony <aavram_at_[hidden]>
> Subject: new to Boost - need help with installation issues
> Newsgroups: gmane.comp.lib.boost.user
> Date: Tue, 21 Oct 2003 01:05:51 -0700
> Reply-To: Boost Users mailing list <boost-users_at_[hidden]>
>
> Hi,
>
> I would like to use Boost on my Powerbook G4 running Jaguar (Mac Os X
> 10.2.8).
> I have tried to make as much sense as possible from Boost
> documentation concerning bjam and tried to install Boost yet I
> suspect it failed, as I see no newly created target (library, object
> file, etc..).
>
> If anyone uses Boost running on Mac Os X, I would be grateful to learn
> of how they installed Boost and how they currently use Boost in the
> sense of "Best practices". I'm fluent in c++ and I look forward to
> being able to write my c++ code invoking Boost objects/functions.
>
> Any help appreciated.
>
> thanks,
>
> Avram
>
>
> More detailed info...

First, Avram, thanks for the detailed info. It's probably too
detailed, though: many hundreds of kilobytes of warning messages are
probably not appropriate to post here.

Second, see
http://article.gmane.org/gmane.comp.python.c++/4504/match=darwin+ralf

I believe you need to use

  bjam -sTOOLS=darwin

> Using my Powerbook G4 running Mac Os X 10.2.8 with gcc 3.3 and I did
> the following:
>
> -downloaded boost-1.30.2.tar.gz
> -downloaded boost-jam-3.1.7.tgz
> -created a directory in ~/Library called Boost and moved the two
> downloaded files there.
> -expanded downloaded boost-jam-3.1.7.tgz and ran build.sh
> -opened my ~/.cshrc file and set my path to include
> ~/Library/Boost/boost-jam-3.1.7/bin.macosxppc
> -expanded boost-1.30.2.tar.gz and went to directory with jam files
> -set up my environment variables relating to Python, i.e.
> setenv PYTHON_ROOT /sw/bin/python
> setenv PYTHON_LIB_PATH /sw/lib/python2.2/config
> setenv PYTHON_INCLUDES /sw/include/python2.2
> [aa:~/Library/Boost/boost-1.30.2] aelony% which python
> /sw/bin/python
> [aa:~/Library/Boost/boost-1.30.2] aelony% python -V
> Python 2.2.2
>
> -ran bjam
> [aa:~] aelony% which bjam
> /Users/aelony/Library/Boost/boost-jam-3.1.7/bin.macosxppc/bjam
> [aa:~] aelony% cd /Users/aelony/Library/Boost/boost-1.30.2
>
> [aa:~/Library/Boost/boost-1.30.2] aelony% ls
> Jamfile* boost/ doc/ more/
> tools/
> Jamfile.v2* boost-build.jam* google_logo_40wht.gif* people/
> Jamrules* boost.css* index.htm* project-root.jam*
> README* c++boost.gif* libs/ status/
>
>
> Here is what it output, with modest indications of failure....
>
>
> [aa:~/Library/Boost/boost-1.30.2] aelony% bjam
>
> ...patience...
> ...found 3066 targets...
> ...updating 138 targets...
> MkDir1 libs/python/build/bin-stage

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net