In configured hugin as follows:

CMAKE_PREFIX_PATH=$HOME/opt/libpano13-2.9.19:$HOME/opt/tclap-1.2.1 cmake 
 -DCMAKE_INSTALL_PREFIX:PATH=$HOME/opt/hugin-2014.0.0   ..

When I did a "make install", I got:

-- Installing: /usr/lib64/python2.7/site-packages/_hsi.so
CMake Error at src/hugin_script_interface/cmake_install.cmake:70 (FILE):
  file INSTALL cannot copy file
  
"/export/home/citibob/Downloads/hugin-2014.0.0/BUILD/src/hugin_script_interface/_hsi.so"
  to "/usr/lib64/python2.7/site-packages/_hsi.so".
Call Stack (most recent call first):
  src/cmake_install.cmake:42 (INCLUDE)
  cmake_install.cmake:37 (INCLUDE)

Apparently... in spite of my request to install in a custom location, Hugin 
is still installing Python modules into my system python location.  The 
correct place to install is the directory you get if you do a python 
install using "python build.py install --user ...".  On My CentOS 7, that 
is ~/.local/python2.7/site-packages

I hacked the file cmake_install.cmake, doing a search-and-replace of 
/usr/lib64/python2.7 to ~/.local/python2.7  But it would be really nice if 
installation could handle this smoothly.

Thanks!
-- Bob

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/536a3399-bd78-4935-91bc-2c64ca1080a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to