[Paraview] Trouble building paraview 3.12.0 Fedora package

Orion Poplawski orion at cora.nwra.com
Fri Nov 11 18:42:34 EST 2011


No PNG issues for me, but with python shell:

Python 2.7.2 (default, Sep 30 2011, 20:54:11)
[GCC 4.6.1 20110908 (Red Hat 4.6.1-9)] on linux2
 >>> from paraview.simple import *
Traceback (most recent call last):
   File "<string>", line 4, in <module>
   File "/usr/lib64/paraview/site-packages/paraview/servermanager.py", line 
43, in <module>
     import paraview, re, os, os.path, new, sys, vtk
   File "/usr/lib64/paraview/site-packages/paraview/vtk/__init__.py", line 1, 
in <module>
     from vtkCommonPython import *
ImportError: No module named vtkCommonPython

Looks like vtkCommonPython.so is built but not installed.

$ grep -F vtkCommonPython.so build.log
Linking CXX shared module ../../bin/vtkCommonPython.so
/usr/lib64/ccache/g++  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector --param=ssp-buffer-size=4  -m64 -mtune=generic 
  -Wno-deprecated  -Wno-deprecated -g  -Wl,-z,relro   -shared 
-Wl,-soname,vtkCommonPython.so -o ../../bin/vtkCommonPython.so 
CMakeFiles/vtkCommonPython.dir/vtkCommonPythonInit.cxx.o 
../../bin/libvtkCommonPythonD.so.pv3.12 ../../bin/libvtkPythonCore.so.pv3.12 
../../bin/libvtkCommon.so.pv3.12 ../../bin/libvtksys.so.pv3.12 -ldl -lm
cd /builddir/build/BUILD/ParaView-3.12.0/fedora/VTK/Common && /usr/bin/cmake 
-E create_symlink vtkCommonPython.so 
/builddir/build/BUILD/ParaView-3.12.0/fedora/bin/libvtkCommonPython.so
Linking CXX shared module ../../bin/vtkCommonPython.so

Missing a build flag?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the ParaView mailing list