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

Stephane PLOIX stephane.ploix at edf.fr
Mon May 26 12:07:56 EDT 2008


Hi Berk,

Thanks for your interest!

Of course I can set it in the preloaded cache, I was just surprised that 
this variable is not checked in the CMakeLists.txt file.
I just had a look, and saw that this variable is automatically set the 
first time you run the ncurses interface. It seems that 
only pre-loaded caches meet this pb, so your solution is fine.

For the vtkQtPython.so not being installed, do you think it is related?

Best
Stephane

-----------------------------------------------------------------------------
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



berk.geveci at kitware.com 
26/05/2008 16:11

A
stephane.ploix at edf.fr
cc
paraview at paraview.org
Objet
Re: [Paraview] build and install pb with pre-loaded cache (3.3.0)






Can't you just set PYTHON_EXECUTABLE when you are preloading the cache?

-berk

On Mon, May 26, 2008 at 8:22 AM, Stephane PLOIX <stephane.ploix at edf.fr> 
wrote:
>
> 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
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080526/058f5283/attachment.htm>


More information about the ParaView mailing list