[vtkusers] Python and cvs update

Ravi Gupta rgupta at irus.rri.ca
Mon May 27 14:35:37 EDT 2002


We got it building for now by just replacing the CMakeLists.txt file in 
VTK/Wrapping/Python with a blank file to skip the additional 
vtkpython.cxx (vtkpython.cxx.in) build... if the only reason for this 
addition was to add an executable this work arround should allow us to 
proceed as before...

-Ravi

Berk Geveci wrote:

> Actually, it looks like a recent change broke the python build.
> We'll fix it tomorrow.
> 
> -Berk
> 
> On Mon, 2002-05-27 at 13:43, Prabhu Ramachandran wrote:
> 
>>>>>>>"MM" == Mathieu Malaterre <mmalat at irus.rri.ca> writes:
>>>>>>>
>>    MM> Hi there, I tried a cvs update this morning. And here is what
>>    MM> I get.
>>
>>    MM> /shalom/data/mmalat/VTKBin/Wrapping/Python/vtkpython.cxx:36:
>>    MM> undefined reference to `Py_Main'
>>    MM> /shalom/data/mmalat/VTKBin/Lib//libvtkCommonPython.so:
>>    MM> undefined reference to `openpty'
>>    MM> /shalom/data/mmalat/VTKBin/Lib//libvtkCommonPython.so:
>>    MM> undefined reference to `forkpty'
>>
>>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
>>
>>
>>prabhu
>>_______________________________________________
>>This is the private VTK discussion list. 
>>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>>Follow this link to subscribe/unsubscribe:
>>http://public.kitware.com/mailman/listinfo/vtkusers
>>
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 


-- 
Ravi Gupta

Programmer


#################################################
The John P. 			| P.O. Box 5015
Robarts Research Institute	| 100 Perth Drive
Imaging Research Laboratories	| London
Tel: (519) 663-5777 ext. 1-34077| Ontario
Fax: (519) 663-3403		| Canada
E-Mail: rgupta at irus.rri.ca	| N6A 5K8
#################################################

#################################################
http://www.irus.rri.ca/igns 

http://www.irus.rri.ca/~rgupta 

#################################################

"Be the change you wish to see in the world."
-Mohandas Karamchand Gandhi




More information about the vtkusers mailing list