Hi, on Tuesday 07 June 2011 00:14:58 Ian Neal wrote:
> 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. Why? It says it install just that configuration. I need to do 'sudo make install' here when I want to install anything in /usr/... . Does your user have the powers to do that w/o sudo? Here's what I see: thb@thb-nb:~/devel/alkimia/libalkimia/build> sudo make install [ 0%] Built target alkcompanytest_automoc [ 0%] Built target alkimia_automoc [ 40%] Built target alkimia [ 60%] Built target alkcompanytest [ 60%] Built target alkquoteitemtest_automoc [ 80%] Built target alkquoteitemtest [ 80%] Built target alkvaluetest_automoc [100%] Built target alkvaluetest Linking CXX shared library CMakeFiles/CMakeRelink.dir/libalkimia.so Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /usr/lib64/libalkimia.so.4.3.0 -- Up-to-date: /usr/lib64/libalkimia.so.4 -- Up-to-date: /usr/lib64/libalkimia.so -- Installing: /usr/include/alkimia/alkvalue.h -- Installing: /usr/include/alkimia/alkquoteitem.h -- Installing: /usr/include/alkimia/alkcompany.h -- Installing: /usr/include/alkimia/alk_export.h -- Installing: /usr/lib64/pkgconfig/libalkimia.pc Where does your line -- Removed runtime path from "/usr/lib/libalkimia.so.4.3.0" comes from and what does it mean? Some more details: I am on openSUSE 11.4 using cmake 2.8.3 > 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 It's a known (upstream KDE) issue and we already know about it. I entered an entry on bko once, but now I don't find it anymore :) -- Regards Thomas Baumgart GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA ------------------------------------------------------------- Computers let you make more mistakes faster than any other invention in human history, with the possible exception of handguns and tequila. --Mitch Radcliffe -------------------------------------------------------------
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ KMyMoney-devel mailing list KMyMoney-devel@kde.org https://mail.kde.org/mailman/listinfo/kmymoney-devel