[Pkg-scicomp-devel] paraview and python

Ondrej Certik ondrej at certik.cz
Fri Feb 15 23:25:21 UTC 2008


Hi,

currently, paraview in our svn doesn't build against python (but the
package builds just fine, even in pbuilder). To enable python, apply
this patch:

$ svn di
Index: debian/control
===================================================================
--- debian/control	(revision 2140)
+++ debian/control	(working copy)
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Scientific Computing Team
<pkg-scicomp-devel at lists.alioth.debian.org>
 Uploaders: Christophe Prud'homme <prudhomm at debian.org>, Ondrej Certik
<ondrej at certik.cz>
-Build-Depends: cdbs (>= 0.4.51), debhelper (>= 5), autotools-dev,
quilt (>= 0.46-4), cmake (>= 2.4.8-1), libqt4-dev (>= 4.3.3-2),
libopenmpi-dev, python2.5, ffmpeg, libavformat-dev, libavutil-dev,
libavcodec-dev
+Build-Depends: cdbs (>= 0.4.51), debhelper (>= 5), autotools-dev,
quilt (>= 0.46-4), cmake (>= 2.4.8-1), libqt4-dev (>= 4.3.3-2),
libopenmpi-dev, python2.5, ffmpeg, libavformat-dev, libavutil-dev,
libavcodec-dev, python2.5-dev
 Standards-Version: 3.7.3
 XS-DM-Upload-Allowed: yes
 Homepage: http://www.paraview.org/
Index: debian/rules
===================================================================
--- debian/rules	(revision 2140)
+++ debian/rules	(working copy)
@@ -21,7 +21,7 @@
         -DBUILD_TESTING=OFF              \
         -DVTK_USE_FFMPEG_ENCODER=ON      \
         -DPARAVIEW_USE_MPI=ON            \
-        -DPARAVIEW_ENABLE_PYTHON=OFF     \
+        -DPARAVIEW_ENABLE_PYTHON=ON      \
         -DCMAKE_VERBOSE_MAKEFILE=ON      \
         -DCMAKE_C_FLAGS="-O2"            \
         -DCMAKE_CXX_FLAGS="-O2"          \



However, the compilation in pbuilder then stops at:

[...]
cd /tmp/buildd/paraview-3.2.1/obj-x86_64-linux-gnu/Utilities/VTKPythonWrapping
&& /usr/bin/cc   -O2  -fPIC
"CMakeFiles/vtkWrapPythonInit.dir/__/__/__/VTK/Wrapping/vtkWrapPythonInit.o"
  -o ../../bin/vtkWrapPythonInit -rdynamic
/usr/bin/cmake -E cmake_progress_report
/tmp/buildd/paraview-3.2.1/obj-x86_64-linux-gnu/CMakeFiles
[ 19%] Generating paraview/pv_compile_complete
cd /tmp/buildd/paraview-3.2.1/obj-x86_64-linux-gnu/Utilities/VTKPythonWrapping/paraview
&& compile_all_pv.py
/bin/sh: compile_all_pv.py: command not found
make[3]: *** [Utilities/VTKPythonWrapping/paraview/pv_compile_complete]
Error 127
make[3]: Leaving directory `/tmp/buildd/paraview-3.2.1/obj-x86_64-linux-gnu'
make[2]: *** [Utilities/VTKPythonWrapping/CMakeFiles/paraview_pyc.dir/all]
Error 2
make[2]: *** Waiting for unfinished jobs....



Which I don't know how to fix. Any ideas?

Ondrej



More information about the Pkg-scicomp-devel mailing list