Hi Alan, it seems that CMake is correctly picking up my compiled version of Python and bypassing the system version.
The following lines were copied from CMakeCache.txt file: //Path to a program. PYTHON_EXECUTABLE:FILEPATH=/sw/shared/x86_64/Python/2.6.2/bin/python2.6 //Path to a file. PYTHON_INCLUDE_PATH:PATH=/sw/shared/x86_64/Python/2.6.2/include/python2.6 //Path to a library. PYTHON_LIBRARY:FILEPATH=/sw/shared/x86_64/Python/2.6.2/lib/libpython2.6.a but I still get the same error message :-( any clue? Moreover, how can I force the make process to be more verbose? Renato. On Tue, Aug 11, 2009 at 2:29 PM, Scott, W Alan <[email protected]> wrote: > Make sure you aren't picking up Python from your Linux OS, and are only > using the version that you just compiled? > > Alan > > ------------------------------ > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Renato Elias > *Sent:* Thursday, August 06, 2009 10:40 AM > *To:* [email protected] > *Subject:* [Paraview] [PV-3.6.1] Problem compiling with Python in linux > x86_64 > > Folks, > > I'm trouble in compiling PV-3.6.1 in a linux x86_64 environment. The error > is: > > Linking CXX shared library ../../../bin/libvtkPVPythonInterpretor.so > /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' can not be used when making a shared > object; recompile with -fPIC > /sw/shared/x86_64/Python/2.6.2/lib/libpython2.6.a: could not read symbols: > Bad value > > 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's the secret? > > Thanks for any help > > -- > Renato N. Elias > =================================== > High Performance Computing Center (NACAD) > Federal University of Rio de Janeiro (UFRJ) > Rio de Janeiro, Brazil > > Sent from Rio de Janeiro, Brasil > > -- Renato N. Elias =================================== High Performance Computing Center (NACAD) Federal University of Rio de Janeiro (UFRJ) Rio de Janeiro, Brazil
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
