Can't configure kdevelop, unable to find kdevplatform

Andreas Pakulat apaku at gmx.de
Tue Oct 28 22:24:55 CET 2008


> Matthew Woehlke wrote:
> > This looks to be caused by the simplification of FindKDevPlatform 9 days
> > ago (I don't think I've built since then, anyway).
> > 
> > It seems that, unlike the Find's for automoc, strigi, etc, 
> > FindKDevPlatform does not check CMAKE_INSTALL_PREFIX. Since most people 
> > are probably installing kdevelop and kdevplatform to the same location, 
> > this seems like a reasonable thing to do, but I'm not entirely sure how 
> > to go about adapting e.g. FindAutomoc.cmake for KDevPlatform. (The naive
> > way is to append CMAKE_INSTALL_PREFIX to CMAKE_PREFIX_PATH, but automoc 
> > seems to do something better, but without more digging I'm not clear how
> > it works. I'm hoping someone else will have a better idea.)
> 
> Hmm, looking more closely at FindAutomoc4.cmake, I wonder if someone has 
> jumped the gun requiring cmake 2.6.2?

No, I just wasn't aware that CMake 2.6.0 has a bug on 64-bit systems.

> Since 2.6.2 is not required yet, what to do? I have it working currently 
> (see attached), but I guess for cmake 2.6.2 this is superfluous? (IOW, I 
> could commit it now with a note to revert when we require 2.6.2...)

IIRC requiring cmake 2.6.2 is only 3 weeks away so I'm not sure its worth the effort (we might easily forget to change it back). And so far you're the first to run into issues since the change.

Andreas


More information about the Kde-buildsystem mailing list