FindKDE4Internal confusion

David Faure faure at kde.org
Wed May 3 14:40:57 CEST 2006


On Wednesday 03 May 2006 14:31, Benjamin Reed wrote:
> I've built kdelibs head, and I was trying to just make kdebase head
> (since there's no bleedingedge, I'm assuming it still works against
> kdelibs head?) 

No, no. kdebase works against branches/work/kdelibs4_snapshot.

Forget about bleedingedge, that's just for a few developers to prepare the next
version of kdebase, when needed.

> and I get this error trying to cmake it: 
> 
> ---(snip!)---
> Disco-Volante:~/cvs/build/kdebase ranger$ !cmake
> cmake ../../kdebase -DCMAKE_INSTALL_PREFIX=/opt/kde4
> ERROR: cmake/modules/FindKDE4Internal.cmake not found in
> /Users/ranger/.kde/share/apps/;/sw/share/apps/
> -- Configuring done
> ---(snip!)---
> 
> What method does it use to find the FindKDE4Internal.cmake file
> nowadays?  The list of places it couldn't find it doesn't even include
> the install prefix I'm setting, shouldn't it look there first?

It uses kde-config, so you need to set your PATH.

The install prefix you're setting could be different from the prefix where kdelibs is installed,
this is quite a common situation for e.g. kdepim or koffice.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list