stopping on errors?

Alexander Neundorf neundorf at kde.org
Mon Apr 26 19:08:47 CEST 2010


On Friday 23 April 2010, David Faure wrote:
> Sorry if this was already discussed somewhere, but why doesn't
> cmake stop immediately on syntax errors?
>
> Finding the error in the log below is not as trivial as one might expect...
> (especially considering that the terminal will show the bottom part of it,
> so one typically reads up from there).
>
>
> Executing command /d/qt/4/kde-qt-4.6/bin/qmake -query QT_VERSION
> -- Found Qt-Version 4.6.2 (using /d/qt/4/kde-qt-4.6/bin/qmake)
> -- Found X11: /usr/lib/libX11.so
> Executing command /usr/lib/icecc/bin/gcc --version
> Executing command /usr/lib/icecc/bin/gcc -v
> -- Found KDE 4.5 include dir: /d/kde/inst/kde-trunk/include
> -- Found KDE 4.5 library dir: /d/kde/inst/kde-trunk/lib
> -- Found the KDE4 kconfig_compiler preprocessor: /d/kde/inst/kde-
> trunk/bin/kconfig_compiler
> -- Found automoc4: /d/kde/inst/kdesupport_trunk/bin/automoc4
> -- Strigi API needs 'signed char'
> KDE4_DBUS_INTERFACES_DIR = /d/kde/inst/kde-trunk/share/dbus-1/interfaces
> -- Could NOT find LIBLZMA  (missing:  LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY
> LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
> -- Found OPENEXR:
> /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libH
>alf.so;/usr/lib/libIlmThread.so -- Found ALSA: /usr/lib/libasound.so
> Executing command /usr/bin/xine-config --version
> -- Strigi API needs 'signed char'
> CMake Error: Error in cmake code at
> /d/kde/src/t/kdebase/apps/keditbookmarks/kbookmarkmodel/CMakeLists.txt:19:
> Parse error.  Function missing ending ")".  End of file reached.

Hmm, yes.
Can you post this to the cmake list ?

Alex


More information about the Kde-buildsystem mailing list