What removes protocoltojson with make install in kio?

Mark Gaiser markg85 at gmail.com
Sun Oct 22 20:00:36 UTC 2017


On Sun, Oct 22, 2017 at 8:23 PM, Kevin Funk <kfunk at kde.org> wrote:

> 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
>
>
Hi Kevin,

Yes, the build and install were both in the same build folder.
Changing the install to some other folder (a sub folder now of the build
one) does indeed work.
Oh well, i'm happy :)

Thank you for the tip!

Cheers,
Mark


> > 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 | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171022/27502022/attachment.html>


More information about the Kde-frameworks-devel mailing list