[Paraview] build and install pb with pre-loaded cache (3.3.0)

Stephane PLOIX stephane.ploix at edf.fr
Mon May 26 08:22:41 EDT 2008


Hi,

I have some troubles compiling ParaView 3.3.0 (cvs from a week ago).
I use a cache file with some preset options  (cmake -C cache.txt 
/path/to/source), and :
there is a pb compiling the paraview/compile_all_py target, which I 
tracked down to the PYTHON_EXECUTABLE cmake variable not being set in the 
Utilities/VTKPythonWrapping/CMakeLists.txt file.
One solution is to add a FIND_PACKAGE(PythonInterp REQUIRED) before using 
the PYTHON_EXECUTABLE variable (line 616 for instance)
after setting this variable, the vtkQtPython.so library is not installed 
when calling "make install"

I think that is due to my particular choice of options in the pre-loaded 
cache...

Best regards,
Stephane

Here is content of my cache.txt file :

SET(QT_QMAKE_EXECUTABLE "/usr/local/Trolltech/Qt-4.3.4/bin/qmake" CACHE 
FILEPATH "qmake executable")
SET(BUILD_SHARED_LIBS ON CACHE BOOL "shared lib build")
SET(BUILD_TESTING OFF CACHE BOOL "testing")
SET(PARAVIEW_ENABLE_PYTHON ON CACHE BOOL "ParaView use python")
SET(PARAVIEW_USE_MPI ON CACHE BOOL "ParaView use mpi")
SET(VTK_USE_CG_SHADERS ON CACHE BOOL "VTK use Cg")
SET(PARAVIEW_BUILD_CustomServer OFF CACHE BOOL "Custom Server")
SET(PARAVIEW_BUILD_DobranoViz OFF CACHE BOOL "DobranoViz")
SET(PARAVIEW_BUILD_PLUGIN_Prism OFF CACHE BOOL "Prism plugin")
SET(PARAVIEW_USE_SYSTEM_HDF5 ON CACHE BOOL "Use the system HDF5 lib")

-----------------------------------------------------------------------------
Stéphane Ploix
EDF R&D 
1 avenue du Général de Gaulle
F-92141 Clamart Cedex
Phone : +33 (0)1 47 65 51 10
Email : stephane.ploix 'at' edf.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080526/0232818e/attachment.htm>


More information about the ParaView mailing list