[Paraview] Trouble building paraview 3.12.0 Fedora package

David Partyka david.partyka at kitware.com
Fri Nov 11 21:14:09 EST 2011


Some of the logic in VTK was changed to install the python module and
shared libs. I thought I corrected it before tagging 3.12.0 but it appears
not. Let me see if I can send you a diff, or if you want, you just need to
copy libvtk*Python.so into your lib/paraview-<blah> directory.

On Fri, Nov 11, 2011 at 6:42 PM, Orion Poplawski <orion at cora.nwra.com>wrote:

> 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
> ______________________________**_________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/**
> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/**ParaView <http://paraview.org/Wiki/ParaView>
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/**mailman/listinfo/paraview<http://www.paraview.org/mailman/listinfo/paraview>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111111/e85d3808/attachment.htm>


More information about the ParaView mailing list