On Thu, Dec 20, 2012 at 03:24:20PM -0500, Ken Giusti wrote: > make install (as per readme) fails on my Fedora 17 box when installing ruby > binding: > > $ cmake -DCMAKE_INSTALL_PREFIX=/home/kgiusti/work/proton/RC3/install .. > <ok> > $ make all docs > <ok> > $ make install > [ 64%] Built target qpid-proton > [ 67%] Built target proton > <snip> > -- Installing: > /home/kgiusti/work/proton/RC3/install/lib64/python2.7/site-packages/proton.pyo > -- Installing: > /home/kgiusti/work/proton/RC3/install/lib64/python2.7/site-packages/_cproton.so > -- Removed runtime path from > "/home/kgiusti/work/proton/RC3/install/lib64/python2.7/site-packages/_cproton.so" > -- Installing: /usr/lib64/ruby/cproton.so > CMake Error at bindings/ruby/cmake_install.cmake:50 (FILE): > file INSTALL cannot copy file > > "/home/kgiusti/work/proton/RC3/qpid-proton-c-0.3/build/bindings/ruby/cproton.so" > to "/usr/lib64/ruby/cproton.so". > Call Stack (most recent call first): > bindings/cmake_install.cmake:38 (INCLUDE) > cmake_install.cmake:137 (INCLUDE) > > > make: *** [install] Error 1
You need to do the install with: make DESTDIR=$TOP_OF_INSTALL_DIR_YOU_WANT or else you have to "make install" as root since the language bindings don't use the CMAKE_INSTALL_PREFIX to modify their install location. -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
pgpepsjdA8H9n.pgp
Description: PGP signature