[Kmymoney-devel] [Bug 261132] New: Installation uses /usr/local when /usr is specified
Thomas Baumgart
ipwizard at users.sourceforge.net
Fri Dec 24 10:20:41 CET 2010
https://bugs.kde.org/show_bug.cgi?id=261132
Summary: Installation uses /usr/local when /usr is specified
Product: kmymoney4
Version: unspecified
Platform: openSUSE RPMs
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kmymoney-devel at kde.org
ReportedBy: ipwizard at users.sourceforge.net
Version: unspecified (using KDE 1.2)
OS: Linux
After running cmake in a fresh build environment, the CMAKE_INSTALL_PREFIX is
set to /usr but when running 'make install' things get installed in /usr/local.
Reproducible: Always
Steps to Reproduce:
Create an empty build sub-directory. cd into this directory. Run 'cmake ..'. No
need to actually compile anything.
Actual Results:
The setting is correct, but generated files don't contain it.
thb at localhost:~/tmp/kmymoney-4.5.2/build> grep INSTALL_PREFIX CMakeCache.txt
CMAKE_INSTALL_PREFIX:PATH=/usr
thb at localhost:~/tmp/kmymoney-4.5.2/build> grep "INSTALL DESTINATION"
kmymoney/cmake_install.cmake | head -n 1
FILE(INSTALL DESTINATION "/usr/local/bin" TYPE EXECUTABLE FILES
"/home/thb/tmp/kmymoney-4.5.2/build/kmymoney/CMakeFiles/CMakeRelink.dir/kmymoney")
Expected Results:
thb at localhost:~/tmp/kmymoney-4.5.2/build> grep INSTALL_PREFIX CMakeCache.txt
CMAKE_INSTALL_PREFIX:PATH=/usr
thb at localhost:~/tmp/kmymoney-4.5.2/build> grep "INSTALL DESTINATION"
kmymoney/cmake_install.cmake | head -n 1
FILE(INSTALL DESTINATION "/usr/bin" TYPE EXECUTABLE FILES
"/home/thb/tmp/kmymoney-4.5.2/build/kmymoney/CMakeFiles/CMakeRelink.dir/kmymoney")
Removing all 'cmake_install.cmake' with 'find . -name cmake_install.cmake |
xargs rm' after running 'cmake ..' the first time and re-running 'cmake ..'
solves the problem.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list