Howto - compile on openSUSE 11.1

Alexander Neundorf neundorf at kde.org
Thu May 7 21:57:11 BST 2009


On Thursday 07 May 2009, Andreas Pakulat wrote:
> On 07.05.09 02:22:19, Amilcar do Carmo Lucas wrote:
> > Hi all,
> >
> > OpenSUSE 11.1 is borked.
> >
> > To compile KDevelop4 you need to do this:
> > cd /usr/lib64/cmake
> > sudo ln -s KDE4Workspace-4.2.2 KDE4Workspace
> > cd /usr/share/kde4/apps/cmake/modules
> > sudo emacs FindKDE4Workspace.cmake
> > replace /KDE4Workspace/cmake with /cmake/KDE4Workspace
>
> Huh? The link should be uneeded, cmake automatically searches for
> KDE4Workspace* in the directory.
>
> And the rest I also don't understand as the directory is only supplied as
> additional search path. CMake searches in /usr/lib/cmake,
> /usr/local/lib/cmake before trying KDE4_LIB_DIR/KDE4Workspace/cmake.
>
> Additionally you can extend the prefixes to search under via
> CMAKE_PREFIX_PATH variable.
>
> And last but not least: Make sure to use the system cmake, which seems to
> be cmake 2.6.3 in this case. CMake 2.6.2 installed the XXXConfig.cmake
> files in <prefix>/lib/<name>/cmake, while with CMake 2.6.3 its
> <prefix>/lib/cmake/<name>.

Yes, this looks like an issue with the versions of cmake which have been 
used/are in use. Tomorrow evening I'll have a closer look.
Which version of cmake are you using ?
Did you upgrade the cmake version ?

Alex




More information about the KDevelop mailing list