Hi,<br><br>I am trying to build latest version of ParaView. I added the following CMAKE flags<br> -DPYTHON_EXECUTABLE=${TEMP_DIR}/Python-2.6.2/python \<br><div class="gmail_quote"> -DPYTHON_INCLUDE_DIR=${TEMP_DIR}/Python-2.6.2/Include \<br>
-DPYTHON_INCLUDE=${TEMP_DIR}/Python-2.6.2/Include \<br>
-DPYTHON_LIBRARY=${TEMP_DIR}/Python-2.6.2/Lib \<br><br>and now paraview takes python lib from<br>-- Found PythonLibs: /home/user/customParaView/build/Python-2.6.2/Lib<br><br>Paraview build failed with following error:<br>
<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:773: undefined reference to `PySequence_Check'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:776: undefined reference to `PySequence_Size'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:788: undefined reference to `PySequence_GetItem'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/vtkPythonArgs.cxx:805: undefined reference to `PySequence_SetItem'<br>
<br>home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:450: undefined reference to `PyString_AsString'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:458: undefined reference to `PyExc_TypeError'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:458: undefined reference to `PyErr_SetString'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:468: undefined reference to `PyExc_TypeError'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:468: undefined reference to `PyErr_SetString'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:475: undefined reference to `PyExc_TypeError'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:475: undefined reference to `PyErr_SetString'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:487: undefined reference to `PyExc_TypeError'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:487: undefined reference to `PyErr_SetString'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:491: undefined reference to `PyInt_FromLong'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:556: undefined reference to `PyExc_TypeError'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:556: undefined reference to `PyErr_SetString'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:579: undefined reference to `PyExc_TypeError'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:579: undefined reference to `PyErr_SetString'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:582: undefined reference to `PyString_FromStringAndSize'<br>/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:593: undefined reference to `PyTuple_New'<br>
/home/rruser/ss02/source/src/RollsRoyceParaView/VTK/Wrapping/Python/PyVTKTemplate.cxx:600: undefined reference to `PyDict_SetItem'<br><br>These macros or strings are used in many files in Python dir. <br><br>Please share any inputs regarding this.<span class="HOEnZb"><font color="#888888"><br clear="all">
<br>-- <br>Thanks,<br>Pandu.</font></span></div>