<br><font size=2 face="sans-serif">Hi Berk,</font>
<br>
<br><font size=2 face="sans-serif">Thanks for your interest!</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br><font size=2 face="sans-serif">I just had a look, and saw that this
variable is automatically set the first time you run the ncurses interface.
It seems that </font>
<br><font size=2 face="sans-serif">only pre-loaded caches meet this pb,
so your solution is fine.</font>
<br>
<br><font size=2 face="sans-serif">For the </font><tt><font size=2>vtkQtPython.so</font></tt><font size=2 face="sans-serif">
not being installed, do you think it is related?</font>
<br>
<br><font size=2 face="sans-serif">Best</font>
<br><font size=2 face="sans-serif">Stephane</font>
<br><font size=2 face="sans-serif"><br>
-----------------------------------------------------------------------------<br>
Stéphane Ploix<br>
EDF R&amp;D <br>
1 avenue du Général de Gaulle<br>
F-92141 Clamart Cedex<br>
Phone : +33 (0)1 47 65 51 10<br>
Email : stephane.ploix 'at' edf.fr</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>berk.geveci@kitware.com</b>
</font>
<p><font size=1 face="sans-serif">26/05/2008 16:11</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">stephane.ploix@edf.fr</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">paraview@paraview.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">Re: [Paraview] build and install pb
with pre-loaded cache (3.3.0)</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Can't you just set PYTHON_EXECUTABLE when you are
preloading the cache?<br>
<br>
-berk<br>
<br>
On Mon, May 26, 2008 at 8:22 AM, Stephane PLOIX &lt;stephane.ploix@edf.fr&gt;
wrote:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have some troubles compiling ParaView 3.3.0 (cvs from a week ago).<br>
&gt; I use a cache file with some preset options &nbsp;(cmake -C cache.txt<br>
&gt; /path/to/source), and :<br>
&gt;<br>
&gt; there is a pb compiling the paraview/compile_all_py target, which
I tracked<br>
&gt; down to the PYTHON_EXECUTABLE cmake variable not being set in the<br>
&gt; Utilities/VTKPythonWrapping/CMakeLists.txt file.<br>
&gt;<br>
&gt; One solution is to add a FIND_PACKAGE(PythonInterp REQUIRED) before
using<br>
&gt; the PYTHON_EXECUTABLE variable (line 616 for instance)<br>
&gt;<br>
&gt; after setting this variable, the vtkQtPython.so library is not installed<br>
&gt; when calling &quot;make install&quot;<br>
&gt;<br>
&gt; I think that is due to my particular choice of options in the pre-loaded<br>
&gt; cache...<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Stephane<br>
&gt;<br>
&gt; Here is content of my cache.txt file :<br>
&gt;<br>
&gt; SET(QT_QMAKE_EXECUTABLE &quot;/usr/local/Trolltech/Qt-4.3.4/bin/qmake&quot;
CACHE<br>
&gt; FILEPATH &quot;qmake executable&quot;)<br>
&gt; SET(BUILD_SHARED_LIBS ON CACHE BOOL &quot;shared lib build&quot;)<br>
&gt; SET(BUILD_TESTING OFF CACHE BOOL &quot;testing&quot;)<br>
&gt; SET(PARAVIEW_ENABLE_PYTHON ON CACHE BOOL &quot;ParaView use python&quot;)<br>
&gt; SET(PARAVIEW_USE_MPI ON CACHE BOOL &quot;ParaView use mpi&quot;)<br>
&gt; SET(VTK_USE_CG_SHADERS ON CACHE BOOL &quot;VTK use Cg&quot;)<br>
&gt; SET(PARAVIEW_BUILD_CustomServer OFF CACHE BOOL &quot;Custom Server&quot;)<br>
&gt; SET(PARAVIEW_BUILD_DobranoViz OFF CACHE BOOL &quot;DobranoViz&quot;)<br>
&gt; SET(PARAVIEW_BUILD_PLUGIN_Prism OFF CACHE BOOL &quot;Prism plugin&quot;)<br>
&gt; SET(PARAVIEW_USE_SYSTEM_HDF5 ON CACHE BOOL &quot;Use the system HDF5
lib&quot;)<br>
&gt;<br>
&gt; -----------------------------------------------------------------------------<br>
&gt; Stéphane Ploix<br>
&gt; EDF R&amp;D<br>
&gt; 1 avenue du Général de Gaulle<br>
&gt; F-92141 Clamart Cedex<br>
&gt; Phone : +33 (0)1 47 65 51 10<br>
&gt; Email : stephane.ploix 'at' edf.fr<br>
&gt; _______________________________________________<br>
&gt; ParaView mailing list<br>
&gt; ParaView@paraview.org<br>
&gt; http://www.paraview.org/mailman/listinfo/paraview<br>
&gt;<br>
&gt;<br>
</font></tt>
<br>