Bug#753680: [paraview] fail to build application on top of paraview
trophime
christophe.trophime at lncmi.cnrs.fr
Fri Jul 4 09:43:57 UTC 2014
Package: paraview
Version: 4.1.0+dfsg-3
Severity: normal
Trying to build application on top of paraview-dev (for instance Salome 7.4.0)
because of some missing files:
usr/lib/cmake/paraview/VTKTargets.cmake
usr/lib/cmake/paraview/Modules/*.cmake
usr/lib/cmake/paraview/Modules/*.txt
usr/bin/vtkHashSource
usr/bin/vtkWrapPython
usr/bin/vtkWrapTcl
usr/bin/vtkWrapPythonInit
usr/bin/vtkParseJava
usr/bin/vtkWrapJava
usr/bin/vtkWrapTclInit
usr/bin/vtkParseOGLExt
usr/bin/vtkWrapHierarchy
usr/bin/smTestDriver
usr/bin/vtkkwProcessXML
usr/bin/vtkEncodeString
It's fairly easy to add these files to the paraview-dev package.
eg for VTKTargets.cmake:
override_dh_install:
# install missing file
mkdir -p $(DESTDIR)/usr/lib/cmake/paraview
find . -name VTKTargets.cmake | xargs -i -t install -m 644 {} $(DESTDIR)/usr/lib/cmake/paraview/
sed -i "s%\(IMPORTED_LOCATION_NONE.*\"\).*/lib/\([^/]\+\"\)%\1/usr/lib/paraview/\2%g" $(DESTDIR)/usr/lib/cmake/paraview/
VTKTargets.cmake
sed -i "s%\(IMPORTED_LOCATION_NONE.*\"\).*/bin/\([^/]\+\"\)%\1/usr/bin/\2%g" $(DESTDIR)/usr/lib/cmake/paraview/VTKTarget
s.cmake
#cat $(DESTDIR)/usr/lib/cmake/paraview/VTKTargets.cmake
#find . -name VTKTargets.cmake
dh_install --list-missing
However there are some name clashes with tcl-tk, libvtk5-dev, libvtk-java and python-vtk
5.8.0 versions.
The solution is either :
* to add conflicts with these vtk5 packages
* or to use an extension for any executables generated by paraview
by removing the -DVTK_CUSTOM_LIBRARY_SUFFIX="" option in cmake
I would personally by in favor of the second solution as it will
enable to install and use both paraview, vtk6 and vtk5 packages
on a given machine
Best
C
--- System information. ---
Architecture: amd64
Kernel: Linux 3.14-1-amd64
Debian Release: jessie/sid
500 testing-proposed-updates ftp.fr.debian.org
500 testing security.debian.org
500 testing http.us.debian.org
500 testing ftp.fr.debian.org
500 testing euler.lcmi.local
500 stable dl.google.com
500 sid linux.dropbox.com
500 jessie neuro.debian.net
500 data neuro.debian.net
--- Package information. ---
Depends (Version) | Installed
=========================================-+-==================
tcl8.5 | 8.5.15-4
OR tclsh |
libavcodec55 (>= 6:10~beta1~) | 6:10.1-1
OR libavcodec-extra-55 (>= 6:10.1) |
libavformat55 (>= 6:10~beta1~) | 6:10.1-1
libavutil53 (>= 6:10~beta1~) | 6:10.1-1
libc6 (>= 2.15) |
libexpat1 (>= 2.0.1) |
libfreetype6 (>= 2.2.1) |
libgcc1 (>= 1:4.1.1) |
libgl1-mesa-glx |
OR libgl1 |
libhdf5-7 |
libjpeg8 (>= 8c) |
libjsoncpp0 |
libogg0 (>= 1.0rc3) |
libopenmpi1.6 |
libpng12-0 (>= 1.2.13-4) |
libpython2.7 (>= 2.7) |
libqt4-help (>= 4:4.5.3) |
libqt4-network (>= 4:4.5.3) |
libqtcore4 (>= 4:4.8.0) |
libqtgui4 (>= 4:4.8.0) |
libqtwebkit4 (>= 2.2.1) |
libstdc++6 (>= 4.6) |
libswscale2 (>= 6:10~beta1~) |
libtheora0 (>= 1.0) |
libtiff5 (>= 4.0.3) |
libx11-6 |
libxml2 (>= 2.7.4) |
libxt6 |
zlib1g (>= 1:1.2.3.4) |
Recommends (Version) | Installed
==============================-+-===========
mpi-default-bin | 1.0.2+nmu1
paraview-python |
paraview-doc | 4.1.0+dfsg-3
Suggests (Version) | Installed
=========================-+-===========
hdf5-tools |
h5utils |
--
Christophe TROPHIME
Research Engineer
LNCMI
CNRS - LNCMI
25, rue des Martyrs
BP 166
38042 GRENOBLE Cedex 9
FRANCE
CNRS
Tel : +33 (0)4 76 88 90 02
Fax : +33 (0) 4 76 88 10 01
Office U 19
M at il : christophe.trophime at lncmi.cnrs.fr
________________________________________________________________________
More information about the debian-science-maintainers
mailing list