What removes protocoltojson with make install in kio?

Mark Gaiser markg85 at gmail.com
Sun Oct 22 15:30:26 UTC 2017


On Sun, Oct 22, 2017 at 5:29 PM, Mark Gaiser <markg85 at gmail.com> 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
>
> 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
>
>
Note: i got the cmake arguments from ArchLinux:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/kio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171022/6812d54b/attachment.html>


More information about the Kde-frameworks-devel mailing list