[vtk-developers] ppc-debug dashboard link error

Sean McBride sean at rogue-research.com
Mon Feb 11 15:42:38 EST 2013


On Mon, 11 Feb 2013 09:42:56 -0700, David Gobbi said:

>No need for a verbose build, the configure summary that it dumps to
>the dashboard is enough.  It reports this:
>
>  Found PythonLibs: /usr/lib/libpython2.5.dylib
>
>even though PYTHON_LIBRARY was set to this:
>
>  /Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
>
>Maybe your python install also created a libpython2.7.a that you can try
>instead?  Or maybe it also put the libraries in /usr/local/lib?

So today I set:

SET (PYTHON_EXECUTABLE "/System/Library/Frameworks/Python.framework/Versions/2.5/bin/python")
SET (PYTHON_LIBRARY "/System/Library/Frameworks/Python.framework/Versions/2.5/Python")
SET (PYTHON_INCLUDE_DIR "/System/Library/Frameworks/Python.framework/Versions/2.5/Headers")

and I'm sure they exist:

$ /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python --version
Python 2.5.1

$ file /System/Library/Frameworks/Python.framework/Versions/2.5/Python
/System/Library/Frameworks/Python.framework/Versions/2.5/Python: Mach-O universal binary with 4 architectures

$ ls /System/Library/Frameworks/Python.framework/Versions/2.5/Headers
Python-ast.h    cStringIO.h     complexobject.h floatobject.h   intrcheck.h     etc...

oddly, it still shows:

-- Found PythonLibs: /usr/lib/libpython2.5.dylib  

but at least that's a symlink to the file I specified... still, odd that it's not using the exact path I specified.  Looking in the CMakeCache.txt I see that it's also not using the correct executable at all:

PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python

That's a 2.6 version... probably explains the link error...  but why is it ignoring the explicit python choices???

Anyway, it's now building yet again after I deleted a bunch of old symlinks, cleaned up $PATH, etc.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list