> On Nov. 20, 2015, 1:44 p.m., Martin Gräßlin wrote:
> > The need for the change surprises me. I have been using a /opt setup for 
> > years and udev was always found. Can you show the error you hit?

Have you been using a Linux distro like Ubuntu that has multi-arch, with the 
actual libraries installed in `/[usr/]lib/x86_64-linux-gnu`? I guess it's also 
not for nothing that most FindFoo scripts appear to use the 2-stage approach 
where pkgconfig is queried first for hints about where to look in addition to 
the default locations. BTW, I'm using cmake 3.3.1 . That's not the host's 
default cmake which *may* have been patched to look in the multi-arch 
locations, but in my experience it works better to use a cmake from the target 
prefix (Ubuntu's Project Neon5 did the same, IIRC).

I don't have access to the Linux system right now, but the error was that the 
library wasn't being found, IIRC it did find the headerfile. The error wasn't 
more explicit than that, my initial reaction was to check if I had the 
libudev-dev package installed.


- René J.V.


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126123/#review88645
-----------------------------------------------------------


On Nov. 20, 2015, 1:41 p.m., René J.V. Bertin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126123/
> -----------------------------------------------------------
> 
> (Updated Nov. 20, 2015, 1:41 p.m.)
> 
> 
> Review request for KDE Frameworks and Kubuntu.
> 
> 
> Repository: solid
> 
> 
> Description
> -------
> 
> Configuring KF5 Solid under KUbuntu 14.04 for installation in a parallel 
> prefix (/opt/local) it failed to find libudev which is installed "normally".
> 
> Modifying FindUDev.cmake to follow the same approach as other Find`*.cmake 
> files (use pkgconfig first, and the results as hints for `find_path` and 
> `find_library`) corrected that failure.
> 
> 
> Diffs
> -----
> 
>   cmake/FindUDev.cmake 9d0f21d 
> 
> Diff: https://git.reviewboard.kde.org/r/126123/diff/
> 
> 
> Testing
> -------
> 
> On Kubuntu 14.04.3 with Qt 5.5.1 and all of Solid 5.16.0's KF5 dependencies 
> installed in /opt/local
> 
> 
> Thanks,
> 
> René J.V. Bertin
> 
>

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to