[Kmymoney-devel] Re: cmake error (sort of fixed)
Ian Neal
iann_bugzilla at blueyonder.co.uk
Tue Jun 7 00:14:58 CEST 2011
Okay done some more digging...
(My build directory is parallel rather than a subdirectory of the source)
If I do:
% rm -rf build
% mkdir build
% cd build
% cmake ../alkimia/ -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCMAKE_INSTALL_PREFIX=/usr/
% make
% make install
The final output now reads:
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/lib/libalkimia.so.4.3.0
-- Installing: /usr/lib/libalkimia.so.4
-- Installing: /usr/lib/libalkimia.so
-- Removed runtime path from "/usr/lib/libalkimia.so.4.3.0"
-- Installing: /usr/include/kde4/alkimia/alkvalue.h
-- Installing: /usr/include/kde4/alkimia/alkquoteitem.h
-- Installing: /usr/include/kde4/alkimia/alkcompany.h
-- Installing: /usr/include/kde4/alkimia/alk_export.h
-- Installing: /usr/lib/pkgconfig/libalkimia.pc
So for some reason, even though the build type is supposed to default to
"RelWithDebInfo" it doesn't seem to be.
The other minor issue is with make uninstall which gives an output of:
Scanning dependencies of target uninstall
-- Uninstalling "/usr/lib/libalkimia.so.4.3.0"
-- Uninstalling "/usr/lib/libalkimia.so.4"
-- File "/usr/lib/libalkimia.so.4" does not exist.
-- Uninstalling "/usr/lib/libalkimia.so"
-- File "/usr/lib/libalkimia.so" does not exist.
-- Uninstalling "/usr/include/kde4/alkimia/alkvalue.h"
-- Uninstalling "/usr/include/kde4/alkimia/alkquoteitem.h"
-- Uninstalling "/usr/include/kde4/alkimia/alkcompany.h"
-- Uninstalling "/usr/include/kde4/alkimia/alk_export.h"
-- Uninstalling "/usr/lib/pkgconfig/libalkimia.pc"
Built target uninstall
and leaves broken symbolic links libalkimia.so.4 and libalkimia.so
behind in /usr/lib
Regards,
Ian
More information about the KMyMoney-devel
mailing list