[vtkusers] Python and cvs update

David Gobbi dgobbi at irus.rri.ca
Mon May 27 14:37:43 EDT 2002


On Mon, 27 May 2002, David Gobbi wrote:

> On Mon, 27 May 2002, Prabhu Ramachandran wrote:
>
> > I guess that you haven't set the PYTHON_LIBRARY variable in your
> > CMakeCache.txt to point to your Python library.  Just set it, run
> > cmake followed by make and your problem will disappear.  My setting
> > looks like this:
> >
> > PYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.1.so
>
> This is very strange, I have python 1.5.2, python 2.1, and python 2.2
> installed under Linux and I have never seen a 'libpythonXX.so' before.
> I've only ever seen a python21.lib under Windows.

Okay, I did find a libpython2.1.a in the python 'config' directory:
/usr/lib/python2.1/config/libpython2.1.a
but I'm still not sure what it's for since I've never used it when
hand-crafting python modules.  And back in the VTK 3.2 days, the
VTK/Python modules didn't use it either.

 - David




More information about the vtkusers mailing list