[vtkusers] Install vtk 5 from source on redhat with python 2.5

fred fredmfp at gmail.com
Wed Nov 29 13:48:14 EST 2006


Fabian Braennstroem wrote:

>Hi,
>
>I would like to install vtk 5.0 on a scientific linux
>machine (redhat enterprise) clone. I enabled python and set
>the path to my newly installed python 2.5 in an extra
>directory:
>
> PYTHON_EXECUTABLE                /opt/python-2.5/bin/python2.5                                                                                                                     
> PYTHON_EXTRA_LIBS                                                                                                                                                                  
> PYTHON_INCLUDE_PATH              /opt/python-2.5/include/python2.5                                                                                                                 
> PYTHON_LIBRARY                   
> PYTHON_UTIL_LIBRARY              /usr/lib/libutil.so    
>
>Maybe, one mistake is to leave the library path empty, but setting it to
>/opt/python-2.5/lib/python2.5 did not work; I got:
>  
>
You have to set the python lib, not its directory.

Try /opt/python-2.5/lib/python2.5/libpython2.5.so

-- 
http://scipy.org/FredericPetit




More information about the vtkusers mailing list