<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:verdana,helvetica,sans-serif;font-size:10pt;color:#000000;"><div>I am installing vtk on a ubuntu 11.04 OS. I managed to configure and make. However, when I do a make install it shows the following error:<br><br>...<br>-- Up-to-date: /home/joao/vtk-5.6.1/include/vtk-5.6/DICOMCMakeConfig.h<br>-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6.1<br>-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6<br>-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so<br>CMake Error at Utilities/vtklibproj4/cmake_install.cmake:74 (FILE):<br> file INSTALL cannot find "/home/joao/vtk-5.6.1/bin/lproj".<br>Call Stack (most recent call first):<br> Utilities/cmake_install.cmake:66 (INCLUDE)<br> cmake_install.cmake:173 (INCLUDE)<br><br>At first glance it seems that there is no lproj in bin/. And that is the weird
thing: when I do a make, lproj exists in bin/. However, after I do a make install lproj is somehow deleted from bin/. I have tried to make lproj imutable with "chattr +i lproj" but that gave me another error:<br><br>-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6.1<br>-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6<br>-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so<br>CMake Error at Utilities/vtklibproj4/cmake_install.cmake:77 (FILE):<br> file RPATH_REMOVE could not remove RPATH from file:<br><br> /home/joao/vtk-5.6.1/bin/lproj<br><br> Error opening file for update.<br>Call Stack (most recent call first):<br> Utilities/cmake_install.cmake:66 (INCLUDE)<br> cmake_install.cmake:173 (INCLUDE)<br><br>If lproj is needed down the line during install, why is it being deleted by RPATH_REMOVE? What am I missing?<br><br>Has anybody faced this kind of problem while
installing vtk? How did you fix it? Can someone help me solve this issue? Thank you all in advance.<br><br>Joao<br></div>
</div></body></html>