[vtkusers] cannot find lproj while make install

Joao Pinto joao_icaro at yahoo.com
Thu Jun 9 13:13:23 EDT 2011


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:

...
-- Up-to-date: /home/joao/vtk-5.6.1/include/vtk-5.6/DICOMCMakeConfig.h
-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6.1
-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6
-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so
CMake Error at Utilities/vtklibproj4/cmake_install.cmake:74 (FILE):
  file INSTALL cannot find "/home/joao/vtk-5.6.1/bin/lproj".
Call Stack (most recent call first):
  Utilities/cmake_install.cmake:66 (INCLUDE)
  cmake_install.cmake:173 (INCLUDE)

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:

-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6.1
-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so.5.6
-- Up-to-date: /home/joao/vtk-5.6.1/lib/vtk-5.6/libvtkproj4.so
CMake Error at Utilities/vtklibproj4/cmake_install.cmake:77 (FILE):
  file RPATH_REMOVE could not remove RPATH from file:

    /home/joao/vtk-5.6.1/bin/lproj

  Error opening file for update.
Call Stack (most recent call first):
  Utilities/cmake_install.cmake:66 (INCLUDE)
  cmake_install.cmake:173 (INCLUDE)

If lproj is needed down the line during install, why is it being deleted by 
RPATH_REMOVE? What am I missing?

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.

Joao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110609/cc3c1506/attachment.htm>


More information about the vtkusers mailing list