[C++-sig] OSX darwin-tools glitch?
Scott A. Smith
ssmith at magnet.fsu.edu
Tue Mar 4 14:25:00 CET 2003
Hello,
For fun I have once again tried to build Boost.Python using OSX.
Nothing worked well, so I decided I better follow the directions
recently posted: http://cci.lbl.gov/boost/ (darwin_notes). I
rebuilt gcc, rebuilt python, then tried BP w/ latest CVS. Although there are
lots of warnings, everything proceeded up to the end of the BP
build. Then I get these complaints:
ld: can't open: /usr/local_cci/gcc-3.2.2/lib/libstdc++.a (No such file or
directory, errno = 2)
ld: can't open:
/usr/local_cci/gcc-3.2.2/lib/gcc-lib/powerpc-apple-darwin6.4/3.2.2/libgcc.a
(No such file or directory,
Having a look in the darwin-tools.jam file in the boost/tools/build
directory,
I found that local-cci is explicitly used. My (plain) install of GCC put the
libraries
into /usr/local/lib rather that libstdc++.a /usr/local_cci/gcc-3.2.2/lib. I
altered the
darwin-tools.jam file to reflect this and the BP build then ran to
completion and
produced libboost_python.dylib.
Am I doing something wrong or is there a glitch in the darwin-tools.jam
file?
I am not familiar with the directory /usr/local_cci, perhaps Nick just used
that
for his GCC install?
Thanks & many thanks to Nick for putting up his build directions,
Scott
More information about the Cplusplus-sig
mailing list