On Sunday, 22 October 2017 17:29:17 CEST Mark Gaiser wrote: > Hi, > > My cmake line: > cmake ../../kio -DCMAKE_BUILD_TYPE=RelWithDebInfo > -DCMAKE_INSTALL_PREFIX=~/GitProjects/builds/kio -DBUILD_TESTING=OFF > -DBUILD_QCH=ON -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_LIBEXECDIR=lib > > make runs just fine > > After that my bin folder looks like this [1], the relevant part (ls -l > bin/): > -rwxr-xr-x 1 mark users 645616 okt 22 17:21 protocoltojson > > But running make install ends with: > -- Up-to-date: > /home/mark/GitProjects/builds/kio/include/KF5/KIOCore/KSSLSettings > -- Up-to-date: > /home/mark/GitProjects/builds/kio/include/KF5/KIOCore/ksslsettings.h > -- Up-to-date: > /home/mark/GitProjects/builds/kio/include/KF5/KIOCore/kiocore_export.h > -- Up-to-date: > /home/mark/GitProjects/builds/kio/etc/xdg/accept-languages.codes > -- Up-to-date: > /home/mark/GitProjects/builds/kio/mkspecs/modules/qt_KIOCore.pri > CMake Error at src/protocoltojson/cmake_install.cmake:42 (file): > file INSTALL cannot find > "/home/mark/GitProjects/builds/kio/bin/protocoltojson". > Call Stack (most recent call first): > src/cmake_install.cmake:46 (include) > cmake_install.cmake:72 (include) > > > make: *** [Makefile:74: install] Error 1
Is /home/mark/GitProjects/builds/kio/ both your build & install folder? If yes, don't do this, that won't work. Keep separate directories -- install into a different prefix. Regards, Kevin > and protocoltojson is indeed gone from the bin folder. > Running find . -iname "protocoltojson" > only gives me the build folder for it, the binary is actually gone... > > Am i doing anything wrong? > > Cheers, > Mark > > > [1] https://paste.kde.org/ptfhyntme -- Kevin Funk | kf...@kde.org | http://kfunk.org
signature.asc
Description: This is a digitally signed message part.