[Paraview] building paraview against non-framework python?

Jack Howarth howarth at bromo.med.uc.edu
Thu May 7 09:53:30 EDT 2009


   I have taken over as maintainer of the fink paraview package
and updated it to the current 3.4.0 release. However I am having
trouble adding python support to my build. I want to build paraview
against the fink python26 package in %p (usually /sw). All may attempts
so far to set         

-DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
-DPYTHON_EXECUTABLE=%p/bin/python2.6 \
-DPYTHON_LIBRARIES=%p/lib/python2.6/config \
-DPYTHON_DEBUG_LIBRARIES=%p/lib/python2.6/config \
-DPYTHON_INCLUDE_PATH=%p/include/python2.6

or

-DPARAVIEW_ENABLE_PYTHON:BOOL=ON \
-DPYTHON_EXECUTABLE=%p/bin/python2.6 \
-DPYTHON_LIBRARIES=%p/lib \
-DPYTHON_DEBUG_LIBRARIES=%p/lib \
-DPYTHON_INCLUDE_PATH=%p/include/python2.6

have failed. In the resulting build, configure finds the python
headers properly in %p/include/python2.6 but always finds the
wrong libraries. It returns the PythonLibs as...

/usr/lib/python2.6/config/libpython2.6.a

rather than the expected....

/sw/lib/python2.6/config/libpython2.6.a

Is there any easy way to fix this issue?
                       Jack




More information about the ParaView mailing list