Re: kio-related build error in plasma-framework
On Friday, October 04, 2013 17:56:52 Sebastian Kügler wrote: > I'm getting a build error in a few places in plasma-framework, kio isn't > found. I can't seem to figure out why, maybe someone who has a better > overview of what in KIO is where, and what I need to tell cmake to figure > this out? > > The error is: > /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: > cannot find -lkio > collect2: error: ld returned 1 exit status I've figured it out: using add_library(...) this fails, using kde4_add_library(...) it succeeds, same for add_executable(...) vs kde4_add_executable(...). It's only needed in a few places, once everything has moved into its final place, we'll just keep it like that. Thanks everybody for the input! -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: kio-related build error in plasma-framework
On Saturday 05 October 2013, David Faure wrote: > On Friday 04 October 2013 19:55:52 Sebastian Kügler wrote: > > On Friday, October 04, 2013 17:56:52 Sebastian Kügler wrote: > > > Hi, > > > > > > I'm getting a build error in a few places in plasma-framework, kio > > > isn't found. I can't seem to figure out why, maybe someone who has a > > > better overview of what in KIO is where, and what I need to tell cmake > > > to figure this out? > > > > > > The error is: > > > /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ > > > ld: cannot find -lkio > > > collect2: error: ld returned 1 exit status > > > > > > Others reproduce it, too, so it's blocking us right now. > > > > It turns out that removing KDE4_KIO_LIBS from the linker targets it > > needed to build. > > I'm seeing the same in other areas, e.g. > kde-workspace/plasma/generic/wallpapers/image gives > > cannot find -lkio > cannot find -lkfile > cannot find -lknewstuff3 > > It seems the -L pointing to the lib dir is missing, all of a sudden. Usually there should be no -L, and no -l either (neither ?). The libraries should be linked using their full path, e.g. "/opt/kf5/libs/libkio.so". AFAIk the only case where this is not done is if the library is loacted in one of the system library directories, then cmake generates only "-lkio" and relies on the directory being found automatically by the linker. Alex ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: Re: kio-related build error in plasma-framework
On Saturday 05 October 2013 13:00:24 David Faure wrote: > On Friday 04 October 2013 19:55:52 Sebastian Kügler wrote: > > On Friday, October 04, 2013 17:56:52 Sebastian Kügler wrote: > > > Hi, > > > > > > I'm getting a build error in a few places in plasma-framework, kio isn't > > > found. I can't seem to figure out why, maybe someone who has a better > > > overview of what in KIO is where, and what I need to tell cmake to > > > figure > > > this out? > > > > > > The error is: > > > /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/l > > > d: > > > cannot find -lkio > > > collect2: error: ld returned 1 exit status > > > > > > Others reproduce it, too, so it's blocking us right now. > > > > It turns out that removing KDE4_KIO_LIBS from the linker targets it needed > > to build. > > I'm seeing the same in other areas, e.g. > kde-workspace/plasma/generic/wallpapers/image gives > > cannot find -lkio > cannot find -lkfile > cannot find -lknewstuff3 > > It seems the -L pointing to the lib dir is missing, all of a sudden. > > But I'm not sure where it came from, before, so I'm not sure where to > look... I think I figured it out: reason is the moving of FindQt5Transitional.cmake. I had to delete the files from ECM in my install dir and rm -rf the build directory of kde-workspace. Cheers Martin signature.asc Description: This is a digitally signed message part. ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: kio-related build error in plasma-framework
On Friday 04 October 2013 19:55:52 Sebastian Kügler wrote: > On Friday, October 04, 2013 17:56:52 Sebastian Kügler wrote: > > Hi, > > > > I'm getting a build error in a few places in plasma-framework, kio isn't > > found. I can't seem to figure out why, maybe someone who has a better > > overview of what in KIO is where, and what I need to tell cmake to figure > > this out? > > > > The error is: > > /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: > > cannot find -lkio > > collect2: error: ld returned 1 exit status > > > > Others reproduce it, too, so it's blocking us right now. > > It turns out that removing KDE4_KIO_LIBS from the linker targets it needed > to build. I'm seeing the same in other areas, e.g. kde-workspace/plasma/generic/wallpapers/image gives cannot find -lkio cannot find -lkfile cannot find -lknewstuff3 It seems the -L pointing to the lib dir is missing, all of a sudden. But I'm not sure where it came from, before, so I'm not sure where to look... -- David Faure, fa...@kde.org, http://www.davidfaure.fr Working on KDE, in particular KDE Frameworks 5 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
Re: kio-related build error in plasma-framework
On Friday, October 04, 2013 17:56:52 Sebastian Kügler wrote: > Hi, > > I'm getting a build error in a few places in plasma-framework, kio isn't > found. I can't seem to figure out why, maybe someone who has a better > overview of what in KIO is where, and what I need to tell cmake to figure > this out? > > The error is: > /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: > cannot find -lkio > collect2: error: ld returned 1 exit status > > Others reproduce it, too, so it's blocking us right now. It turns out that removing KDE4_KIO_LIBS from the linker targets it needed to build. -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
kio-related build error in plasma-framework
Hi, I'm getting a build error in a few places in plasma-framework, kio isn't found. I can't seem to figure out why, maybe someone who has a better overview of what in KIO is where, and what I need to tell cmake to figure this out? The error is: /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lkio collect2: error: ld returned 1 exit status Others reproduce it, too, so it's blocking us right now. Thanks, -- sebas http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9 ___ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel