Sohail Shafii | 26 Jun 2012 21:39
Picon
Favicon

Compile error for vtkWrapPython (locally installed python)

Hi,

I am currently compiling paraview 3.14.1 and using a locally installed version of python2.7. My version of cmake is 2.8.8. The OS is Red Hat Enterprise Linux Client release 5.8. I get the following error during compilation:
[  0%] Built target vtkWrapPythonInit
make[2]: *** No rule to make target `/home/***/local/lib/libpython2.7.a', needed by `bin/vtkWrapPython'.  Stop.
make[1]: *** [VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  0%] Built target vtkWrapHierarchy
[  0%] Built target vtksys
[  1%] Built target vtkzlib
make: *** [all] Error 2

With verbose one, it fails after this line:
make -f VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/build.make VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/build

In the build.make file, it has the following under vtkWrapPython_EXTERNAL_OBJECTS =
....
bin/vtkWrapPython: VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/build.make
bin/vtkWrapPython: /home/***/local/lib/libpython2.7.a
...

Any ideas?

Thanks, Sohail
<div><div>
<div>Hi,</div>
<div><br></div>
<div>I am currently compiling paraview 3.14.1 and using a locally installed version of python2.7. My version of cmake is 2.8.8. The OS is Red Hat Enterprise Linux Client release 5.8. I get the following error during compilation:</div>
<div>[&nbsp; 0%] Built target vtkWrapPythonInit<br>make[2]: *** No rule to make target `/home/***/local/lib/libpython2.7.a', needed by `bin/vtkWrapPython'.&nbsp; Stop.<br>make[1]: *** [VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/all] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>[&nbsp; 0%] Built target vtkWrapHierarchy<br>[&nbsp; 0%] Built target vtksys<br>[&nbsp; 1%] Built target vtkzlib<br>make: *** [all] Error 2</div>
<div><br></div>
<div>With verbose one, it fails after this line:</div>
<div>make -f VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/build.make
 VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/build</div>
<div><br></div>
<div>In the build.make file, it has the following under vtkWrapPython_EXTERNAL_OBJECTS =</div>
<div>....</div>
<div>bin/vtkWrapPython: VTK/Wrapping/CMakeFiles/vtkWrapPython.dir/build.make<br>bin/vtkWrapPython: /home/***/local/lib/libpython2.7.a<br>
</div>
<div>...<br>
</div>
<div><br></div>
<div>Any ideas?<br>
</div>
<div><br></div>
<div>Thanks, Sohail</div>
</div></div>

Gmane