compiling from SVN

Robby Stephenson robby at periapsis.org
Fri Jun 12 23:15:05 MDT 2009


On Friday 12 June 2009, Adolph & Sharon Weidanz wrote:
> I am more experienced with ./configure. I started with "cmake
> -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`" but got a:
> CMake Error at CMakeLists.txt:2 (KDE4_CREATE_HANDBOOK):
>   Unknown CMake command "KDE4_CREATE_HANDBOOK".
>
> I've also tried cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR where KDEDIR is
> /usr/share/kde4

Even though cmake is supposed to be easier than the automake stuff, it still 
confuses me at times, especially with the srcdir != builddir paradigm.

I've been using the scripts at 
http://techbase.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts

Typing cmakekde in the top-level tellico src directory compiles everything 
ok. I have the actual cmake command using

        cmake -GKDevelop3 \
                -DCMAKE_INSTALL_PREFIX=/usr/local \
                -DCMAKE_BUILD_TYPE=debug \
                "."

Have you been specifying the source dir at the end of the cmake command?

The handbook error sounds like you're compiling in the 
extragear/office/doc/tellico directory?

Robby


More information about the tellico-users mailing list