From: Abdulla K. <abd...@gm...> - 2011-01-30 02:15:55
|
I just checked the .info and remembered that explicitly links against the system version of Python in 10.5+, this was primarily so that Fink's Python need not be installed to installed to install Boost. I tried rebuilding Boost on my system (OS 10.6.6, Fink 0.29.19) and I can't seem to replicate your problem. I also get: -- Python: -- PYTHON_INCLUDE_PATH = /usr/include/python2.5 -- PYTHON_EXECUTABLE = /usr/bin/python2.5 -- PYTHON_LIBRARIES = -framework Python -- PYTHON_DEBUG_LIBRARIES = PYTHON_DEBUG_LIBRARIES-NOTFOUND If you run CMake manually, you can use: "VERBOSE=1 cmake", to see exactly what it's linking to. On my system, the final Boost Python library is linking with: /sw/lib/libboost_python-mt.dylib: /sw/lib/libboost_python-mt.1.41.0.dylib (compatibility version 1.41.0, current version 0.0.0) /System/Library/Frameworks/Python.framework/Versions/2.6/Python (compatibility version 2.6.0, current version 2.6.1) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1) Admittedly, I don't use Boost Python as I use Python 3 and I had to write my own bindings. Hopefully that'll help you, if it doesn't, let me know and I'll do some further digging. It'd be interesting to see what versions of the system Python frameworks you have on your machine. On Sun, Jan 30, 2011 at 11:05 AM, Adam Skwersky <ask...@co...>wrote: > I removed all packages and started from scratch. > > I see this in the fink build output: > > -- Python: > -- PYTHON_INCLUDE_PATH = /usr/include/python2.5 > -- PYTHON_EXECUTABLE = /usr/bin/python2.5 > -- PYTHON_LIBRARIES = -framework Python > -- PYTHON_DEBUG_LIBRARIES = PYTHON_DEBUG_LIBRARIES-NOTFOUND > > Why is it using the Python installed on my Mac instead of what FINK > installs? Is it possible its still picking up the wrong version framework > even though it says 2.5? How can I check this? Is there a env. variable I > can set to get the build to print out the actual link lines? > > > On Jan 29, 2011, at 6:11 PM, Abdulla Kamar wrote: > > Hi Adam > > What version of Python do you have installed? It appears that PyErr_WarnEx > was introduced in Python 2.5, so you may want to ensure that you have 2.5 or > higher installed. > > On Sun, Jan 30, 2011 at 4:18 AM, Adam Skwersky <ask...@co...>wrote: > >> Trying to build the above package I get this error: >> >> [ 62%] Building CXX object >> libs/python/src/CMakeFiles/boost_python-mt-shared.dir/object/function_doc_signature.cpp.o >> Linking CXX shared library ../../../lib/libboost_python-mt.dylib >> Undefined symbols: >> "_PyErr_WarnEx", referenced from: >> boost::python::converter::registry::insert(_object* (*)(void >> const*), boost::python::type_info, _typeobject const* (*)())in >> registry.cpp.o >> ld: symbol(s) not found >> collect2: ld returned 1 exit status >> >> suggestions? >> >> Ultimately I'm trying to build kde4 >> >> -- >> Package manager version: 0.29.19 >> Distribution version: selfupdate-rsync Sat Jan 29 11:42:02 2011, 10.6, >> i386 >> Mac OS X version: 10.6.6 >> Xcode version: 3.2.5 >> gcc version: 4.2.1 (Apple Inc. build 5664) >> make version: 3.81 >> Feedback Courtesy of FinkCommander >> > > > > -- > Abdulla > > > -- Abdulla |