[vtkusers] vtk/Python build

Andy Cedilnik andy.cedilnik at kitware.com
Tue Apr 8 07:41:54 EDT 2003


Hi Neil,

My mistake. I thought you are on Windows. On some Linux platforms
libpython2.1.a depends on libutil.a. Unfortunately at the time CMake 1.6
was not released yet, so we are just looking for that library. It should
however work fine without it if you do not have it. If it does not, let
me know and I will fix it.

			Andy

On Tue, 2003-04-08 at 01:57, Neil Killeen wrote:
> G'day again...
> 
> I succesfully built the python wrappers under Linux (vtk 4.2, python 2.1).
> 
> The mysterious PYTHON_UTIL library automatically (not sure how as the
> FindPythonLibs.cmake file does not try to find this library) put
> itself down to be
> 
> /usr/lib/libutil.a
> 
> phoenix-235% ar tv libutil.a
> rw-r--r-- 0/0   1936 Sep 18 19:41 2002 login.o
> rw-r--r-- 0/0    968 Sep 18 19:41 2002 login_tty.o
> rw-r--r-- 0/0   1344 Sep 18 19:41 2002 logout.o
> rw-r--r-- 0/0   1144 Sep 18 19:41 2002 logwtmp.o
> rw-r--r-- 0/0   1708 Sep 18 19:41 2002 openpty.o
> rw-r--r-- 0/0   1032 Sep 18 19:41 2002 forkpty.o
> 
> 
> This library was used in the link for  'vtkpython'.  I don't know
> if it is the right one or if it is even needed.
> 
> Under Solaris I didn't do so well.   It failed to build the shareable
> object libvtkCommonPython.so  (the command is appended below) generating
> allocation linker errors (see attachment for some sample errors).  For
> the named symbols (e.g. like PyErr_Format) I could not find where they
> might live. I tried a few things but could not get it to build.
> 
> I compared the build command with the linux one and it is identical
> except that under linux I used -lpthread instead of -lthread (tried
> adding that to no avail).
> 
> I get the impression that there aren't many Solaris vtk systems
> out there (the dashboard has only one with no output presently)
> so I am not too hopeful that anybody has vtkpython running
> under Solaris :-(







More information about the vtkusers mailing list