
Has anyone been able to successfully build and install boost on Mac OS X 10.3 (panther). I am using gcc 3.3, the latest xcode. The python variables were configured to: export PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 export PYTHON_VERSION=2.3 I have bjam installed. I used bjam "-sTOOLS=darwin" in the boost root directory. However at the yields a number of warning and error messages, and ends with : ...failed updating 70 targets... .. .. Any suggestions ? -Vineet

Vineet, Yes, I was able to get boost 1.30.2 built on Mac OSX 10.3 using gcc 3.3. I didn't set up the Python stuff, so I received a message saying that it would be skipped, but other than that I didn't have any problems, and I didn't have to do anything particular. What were the warnings you received? Tim On Jan 1, 2004, at 8:41 PM, Vineet Mehta wrote:
Has anyone been able to successfully build and install boost on Mac OS X 10.3 (panther). I am using gcc 3.3, the latest xcode. The python variables were configured to:
export PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 export PYTHON_VERSION=2.3
I have bjam installed. I used bjam "-sTOOLS=darwin" in the boost root directory.
However at the yields a number of warning and error messages, and ends with :
...failed updating 70 targets... .. ..
Any suggestions ?
-Vineet
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

Tim,
Most of the error messages are related to Python.
Following are messages on what appear to be failures in linking.
-Vineet
c++ -c -Wall -ftemplate-depth-100 -DNDEBUG
-DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_SOURCE -DBOOST_STATIC_LIB
-Wno-long-double -no-cpp-precomp -O3 -finline-functions -Wno-inline
-fcoalesce-templates -I"libs/python/build"
-I"/System/Library/Frameworks/Python.framework/Versions/2.3/include/
python2.3" -I"/Users/vineet/tools/boost/boost-1.30.2" -o
"libs/python/build/bin/libboost_python.a/darwin/release/runtime-link-
dynamic/object_operators.o"
"libs/python/build/../src/object_operators.cpp"
..failed darwin-C++-action
libs/python/build/bin/libboost_python.a/darwin/release/runtime-link-
dynamic/object_operators.o...
...skipped
Vineet, Yes, I was able to get boost 1.30.2 built on Mac OSX 10.3 using gcc 3.3. I didn't set up the Python stuff, so I received a message saying that it would be skipped, but other than that I didn't have any problems, and I didn't have to do anything particular.
What were the warnings you received?
Tim
On Jan 1, 2004, at 8:41 PM, Vineet Mehta wrote:
Has anyone been able to successfully build and install boost on Mac OS X 10.3 (panther). I am using gcc 3.3, the latest xcode. The python variables were configured to:
export PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 export PYTHON_VERSION=2.3
I have bjam installed. I used bjam "-sTOOLS=darwin" in the boost root directory.
However at the yields a number of warning and error messages, and ends with :
...failed updating 70 targets... .. ..
Any suggestions ?
-Vineet
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
---------------------------- Vineet Mehta MIT Lincoln Laboratory, Advanced Networks and Applications 244 Wood Street, Room C-255, Lexington, MA 02420 (p) 781-981-2762 (e) vineet@ll.mit.edu

Vineet Mehta
Has anyone been able to successfully build and install boost on Mac OS X 10.3 (panther). I am using gcc 3.3, the latest xcode. The python variables were configured to:
export PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 export PYTHON_VERSION=2.3
I have bjam installed. I used bjam "-sTOOLS=darwin" in the boost root directory.
However at the yields a number of warning and error messages, and ends with :
...failed updating 70 targets... .. ..
Any suggestions ?
Boost.Python questions should go to the C++-sig (http://www.boost.org/more/mailing_lists.htm#cplussig). Several people who are not subscribed to this list have had success with MacOS X on that list. Ralf W. Grosse-Kunstleve writes: I am not subscribed to boost-users and I cannot easily reply. We completed the OS X port only after the 1.30.2 release. To use Boost.Python they have to work with the latest CVS, e.g. the release candidate. See also: http://cci.lbl.gov/~rwgk/shortcuts/boost/libs/python/doc/v2/faq.html#macosx HTH, -- Dave Abrahams Boost Consulting www.boost-consulting.com

Vineet Mehta wrote:
Has anyone been able to successfully build and install boost on Mac OS X 10.3 (panther). I am using gcc 3.3, the latest xcode. The python variables were configured to:
export PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 export PYTHON_VERSION=2.3
Which version of boost? boost 1.30.2 is documented to work only with Python 2.2 The boost CVS build is supposed to work with Python 2.3 What's xcode?

In article <3FF98231.3020603@booksys.com>, Rob Lemley
What's xcode?
Apple's developer toolchain (gcc + gdb + Apple's IDE and other tools). meeroh -- If this message helped you, consider buying an item from my wish list: http://web.meeroh.org/wishlist

On 5/1/04 8:20 pm, in article macdev-EF1B1E.15204205012004@sea.gmane.org,
"Miro Jurisic"
In article <3FF98231.3020603@booksys.com>, Rob Lemley
wrote: What's xcode?
Apple's developer toolchain (gcc + gdb + Apple's IDE and other tools).
meeroh
In the olden days, known as Project Builder. S

On 1/1/04 11:41 PM, in article
1D6C03C5-3CCD-11D8-B590-000A956FE514@ll.mit.edu, "Vineet Mehta"
Has anyone been able to successfully build and install boost on Mac OS X 10.3 (panther). I am using gcc 3.3, the latest xcode. The python variables were configured to:
export PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 export PYTHON_VERSION=2.3
I have bjam installed. I used bjam "-sTOOLS=darwin" in the boost root directory.
However at the yields a number of warning and error messages, and ends with :
...failed updating 70 targets... .. ..
Any suggestions ?
-Vineet
I am having problems too trying to build the threads lib, and it fails due to an unrecognized -shared option passed to the linker and as far as i can see, there is no a thread static library. Then I ran bjam "-sTools=darwin cwpro8" in the boost root directory and i only got static library builds. All the dynamic library builds failed due to this -shared option passed to the linker. So what is the flag that the build system should use instead of -shared ?

Sebastian Orfino wrote:
I am having problems too trying to build the threads lib, and it fails due to an unrecognized -shared option passed to the linker and as far as i can see, there is no a thread static library. Then I ran bjam "-sTools=darwin cwpro8" in the boost root directory and i only got static library builds. All the dynamic library builds failed due to this -shared option passed to the linker. So what is the flag that the build system should use instead of -shared ?
I've run into this same problem. I haven't bothered to get it to build the dynamic libs, but maybe this info will help: On OS X, things are a bit different than the rest of the world. It has three different kinds of libraries to Linux's two: A static library is a ".a", just as under Linux. On Linux, a dynamic library is a ".so". On OS X, there are two different kinds: - A dynamic _linking_ library (the kind you probably want here) is a .dylib. (The kind you can link to with -lboost_XXX.) I think you want "-dynamiclib" instead of "-shared" to make one of these. - A dynamic _loading_ library (for modules loaded through dlopen() and friends) is a .so. (I'm not sure if any part of boost uses these or not.) Plus, libraries can be packaged into bundles or frameworks. There's a specific directory structure for those, and the rpath needs to be set up in a specific (weird) way...something like ../@executable_name IIRC. That's the most "OS X"y way to do things, I guess. Also, you specify the rpath a little differently. Under Linux, you'd specify it to the gcc link stage with -Wl,--rpath=blah ("-Wl," being an argument that passes an argument through to ld.) Under OS X, you'd specify it with --rpath=blah (no "-Wl,"; the rpath argument being to gcc itself, not to ld.) Also, apparently there's a boost-build mailing list (or similar; I've forgotten the exact name) for the boost jam build tool. You probably would have better luck asking about this there. Good luck. Scott Lamb

Vineet Mehta
Has anyone been able to successfully build and install boost on Mac OS X 10.3 (panther). I am using gcc 3.3, the latest xcode. The python variables were configured to:
export PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 export PYTHON_VERSION=2.3
I have bjam installed. I used bjam "-sTOOLS=darwin" in the boost root directory.
However at the yields a number of warning and error messages, and ends with :
This is with the current CVS: http://www.boost-consulting.com/boost/libs/python/doc/v2/faq.html#macosx -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (8)
-
David Abrahams
-
Miro Jurisic
-
Rob Lemley
-
Scott Lamb
-
Sebastian Orfino
-
Steve Folly
-
Timothy Perrigo
-
Vineet Mehta