Thanks for the quick responses! On Sat, Mar 20, 2010 at 6:20 PM, Eric Noulard <[email protected]> wrote: > Which one did you try? > RPM, TGZ, ZIP ?
DEB and TGZ. > when you do "make install" are you root or normal user? > Are you installing files in absolute location or relatively to your > install prefix? I am root. > You must be installing file with absolute pathname destination. > If you do so you should: > > 1) try to avoid absolute pathname destination > > or > > 2) SET(CPACK_SET_DESTDIR ON) in your CMakeLists.txt > > see: > http://www.cmake.org/pipermail/cmake/2008-July/022958.html Some files are relative to the install prefix and some aren't, but I don't think I can avoid it in some cases. For example, certain config files must go into "/etc" or my tool won't work. But I will give CPACK_SET_DESTDIR a try and report back. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
