<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Oct 22, 2017 at 8:23 PM, Kevin Funk <span dir="ltr"><<a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sunday, 22 October 2017 17:29:17 CEST Mark Gaiser wrote:<br>
> Hi,<br>
><br>
> My cmake line:<br>
> cmake ../../kio -DCMAKE_BUILD_TYPE=<wbr>RelWithDebInfo<br>
> -DCMAKE_INSTALL_PREFIX=~/<wbr>GitProjects/builds/kio -DBUILD_TESTING=OFF<br>
> -DBUILD_QCH=ON -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_LIBEXECDIR=lib<br>
><br>
> make runs just fine<br>
><br>
> After that my bin folder looks like this [1], the relevant part (ls -l<br>
> bin/):<br>
> -rwxr-xr-x 1 mark users 645616 okt 22 17:21 protocoltojson<br>
><br>
> But running make install ends with:<br>
> -- Up-to-date:<br>
> /home/mark/GitProjects/builds/<wbr>kio/include/KF5/KIOCore/<wbr>KSSLSettings<br>
> -- Up-to-date:<br>
> /home/mark/GitProjects/builds/<wbr>kio/include/KF5/KIOCore/<wbr>ksslsettings.h<br>
> -- Up-to-date:<br>
> /home/mark/GitProjects/builds/<wbr>kio/include/KF5/KIOCore/<wbr>kiocore_export.h<br>
> -- Up-to-date:<br>
> /home/mark/GitProjects/builds/<wbr>kio/etc/xdg/accept-languages.<wbr>codes<br>
> -- Up-to-date:<br>
> /home/mark/GitProjects/builds/<wbr>kio/mkspecs/modules/qt_<wbr>KIOCore.pri<br>
> CMake Error at src/protocoltojson/cmake_<wbr>install.cmake:42 (file):<br>
> file INSTALL cannot find<br>
> "/home/mark/GitProjects/<wbr>builds/kio/bin/protocoltojson"<wbr>.<br>
> Call Stack (most recent call first):<br>
> src/cmake_install.cmake:46 (include)<br>
> cmake_install.cmake:72 (include)<br>
><br>
><br>
> make: *** [Makefile:74: install] Error 1<br>
<br>
</div></div>Is /home/mark/GitProjects/builds/<wbr>kio/ both your build & install folder?<br>
<br>
If yes, don't do this, that won't work. Keep separate directories -- install<br>
into a different prefix.<br>
<br>
Regards,<br>
Kevin<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Hi Kevin,</div><div><br></div><div>Yes, the build and install were both in the same build folder.</div><div>Changing the install to some other folder (a sub folder now of the build one) does indeed work.</div><div>Oh well, i'm happy :)</div><div><br></div><div>Thank you for the tip!</div><div><br></div><div>Cheers,</div><div>Mark</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> and protocoltojson is indeed gone from the bin folder.<br>
> Running find . -iname "protocoltojson"<br>
> only gives me the build folder for it, the binary is actually gone...<br>
><br>
> Am i doing anything wrong?<br>
><br>
> Cheers,<br>
> Mark<br>
><br>
><br>
> [1] <a href="https://paste.kde.org/ptfhyntme" rel="noreferrer" target="_blank">https://paste.kde.org/<wbr>ptfhyntme</a><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Kevin Funk | <a href="mailto:kfunk@kde.org">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a></font></span></blockquote></div><br></div></div>