Ragnar Thomsen wrote:
> On Wednesday 04 July 2012 13:05:16 Bruce Dubbs wrote:
>> Ragnar,  I'm having the same problem with 4.8.3.  I do have the links:

> It seems that when installing polkit-qt, the variable:
> POLKITQT-1_INSTALL_DIR
>   in the cmake file:
> /opt/kde4/lib/cmake/PolkitQT-1/PolkitQt-1Config.cmake
> doesn't get set for you and Tony. This leads to the cmake-failure for kdelibs.
>
> Looking at the PolkitQt-1Config.cmake.in file, the variable should get set to
> whatever CMAKE_INSTALL_PREFIX is. And since we set this variable in the build
> instructions for polkit-qt, I can't understand why the cmake file isn't
> generated correctly.
>
> I can't replicate this on my machine. I tried reinstalling both polkit and
> polkit-qt, but the variable always gets set correctly for me.
>
> Can somebody (Armin...?) try building polkit-qt and see if the variable gets
> set correctly?

Solved.  I found:

/lib/pkgconfig/polkit-qt-1.pc
/lib/pkgconfig/polkit-qt-core-1.pc
/lib/pkgconfig/polkit-qt-gui-1.pc
/lib/pkgconfig/polkit-qt-agent-1.pc

and

/lib/cmake/PolkitQt-1Config.cmake
/lib/cmake/PolkitQt-1ConfigVersion.cmake

dated yesterday and

/opt/kde-4.8.3/lib/pkgconfig/polkit-qt-1.pc
/opt/kde-4.8.3/lib/pkgconfig/polkit-qt-core-1.pc
/opt/kde-4.8.3/lib/pkgconfig/polkit-qt-gui-1.pc
/opt/kde-4.8.3/lib/pkgconfig/polkit-qt-agent-1.pc

opt/kde4/lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake
opt/kde4/lib/cmake/PolkitQt-1/PolkitQt-1ConfigVersion.cmake

dated today.  Deleting the ones in /lib running the standard cmake 
command completes successfully.

I suspect I ran polkit-qt once without the KDE4_PREFIX set and it left 
cruft in where it was picked up by cmake in kdelibs.

   -- Bruce





-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to