Howto - compile on openSUSE 11.1

Andreas Pakulat apaku at gmx.de
Thu May 7 09:30:57 UTC 2009


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>.

Andreas

-- 
Today's weirdness is tomorrow's reason why.
		-- Hunter S. Thompson




More information about the KDevelop-devel mailing list