Hi Alan,<br><br>it seems that CMake is correctly picking up my compiled version of Python and bypassing the system version. <br><br>The following lines were copied from CMakeCache.txt file:<br><br>//Path to a program.<br>PYTHON_EXECUTABLE:FILEPATH=/sw/shared/x86_64/Python/2.6.2/bin/python2.6<br>

<br>//Path to a file.<br>PYTHON_INCLUDE_PATH:PATH=/sw/shared/x86_64/Python/2.6.2/include/python2.6<br><br>//Path to a library.<br>PYTHON_LIBRARY:FILEPATH=/sw/shared/x86_64/Python/2.6.2/lib/libpython2.6.a<br><br>but I still get the same error message :-(<br>

<br>any clue?<br><br>Moreover, how can I force the make process to be more verbose?<br><br>Renato.<br><br><br><div class="gmail_quote">On Tue, Aug 11, 2009 at 2:29 PM, Scott, W Alan <span dir="ltr">&lt;<a href="mailto:wascott@sandia.gov">wascott@sandia.gov</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">Make sure you aren&#39;t picking up Python from your Linux OS, 
and are only using the version that you just compiled?</font></span></div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial"></font></span> </div>
<div dir="ltr" align="left"><span><font size="2" color="#0000ff" face="Arial">Alan</font></span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div dir="ltr" align="left" lang="en-us">
  <hr>
  <font size="2" face="Tahoma"><b>From:</b> <a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a> 
  [mailto:<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>] <b>On Behalf Of </b>Renato 
  Elias<br><b>Sent:</b> Thursday, August 06, 2009 10:40 AM<br><b>To:</b> 
  <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b>Subject:</b> [Paraview] [PV-3.6.1] Problem 
  compiling with Python in linux x86_64<br></font><br></div><div><div></div><div class="h5">
  <div></div>Folks,<br><br>I&#39;m trouble in compiling PV-3.6.1 in a linux x86_64 
  environment. The error is:<br><br>Linking CXX shared library 
  ../../../bin/libvtkPVPythonInterpretor.so<br>/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: 
  /sw/shared/x86_64/Python/2.6.2/lib/libpython2.6.a(abstract.o): relocation 
  R_X86_64_32 against `a local symbol&#39; can not be used when making a shared 
  object; recompile with 
  -fPIC<br>/sw/shared/x86_64/Python/2.6.2/lib/libpython2.6.a: could not read 
  symbols: Bad value<br><br>Ok, I already followed what the error message 
  suggests and recompiled Python 2.6.2 as well as PV-3.6.1 with the -fPIC option 
  with no luck. Thus, what&#39;s the secret?<br><br>Thanks for any help<br clear="all"><br>-- <br>Renato N. 
  Elias<br>===================================<br>High Performance Computing 
  Center (NACAD)<br>Federal University of Rio de Janeiro (UFRJ)<br>Rio de 
  Janeiro, Brazil<br><br>Sent from Rio de Janeiro, Brasil 
</div></div></blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br>Renato N. Elias<br>===================================<br>High Performance Computing Center (NACAD)<br>Federal University of Rio de Janeiro (UFRJ)<br>Rio de Janeiro, Brazil<br>

<br>