Web lists-archives.org

Re: break kdegames cmake file




On 21.10.07 19:46:13, Giovanni Venturi wrote:
> -- Found Qt-Version 4.3.2
> -- Found X11: /usr/lib/libX11.so
> -- Found KDE 4.0 include dir: /opt/kde4-dev/include
> -- Found KDE 4 library dir: /opt/kde4-dev/lib
> -- Found KDE4 kconfig_compiler 
> preprocessor: /opt/kde4-dev/bin/kconfig_compiler
> -- Found KDE4 automoc: /opt/kde4-dev/bin/kde4automoc
> -- GGZ: Warning: ggz-config not found, game modules will not be registered!
> --  Source package containing ggz-config: 'ggz-client-libs'
> --  Binary package containing ggz-config: 'ggzcore-bin' (or similar)
> CMake Error: Error in cmake code at
> /home/devel/kde4-sources/kdegames/cmake/modules/GGZ.cmake:45:
> IF had incorrect arguments: ${SYSCONF_INSTALL_DIR} STREQUAL ${REG} (Unknown 
> arguments specified).
> Current CMake 
> stack: /home/devel/kde4-sources/kdegames/CMakeLists.txt;/usr/share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/home/devel/kde4-sources/kdegames/cmake/modules/GGZ.cmake

I guess a similar thing happened recently for Anders Lund in
kdesupport/soprano. In his case the executable run to get its return
value "vanished" due to a system upgrade. I suggest to check what your
CMakeCache.txt shows for GGZCONFIG_EXECUTABLE and wether that file
actually exists.

IMHO the GGZ.cmake should check for REG being empty before using it in
an if or something else.

Andreas

-- 
You look tired.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<