Hi guys, I've had this problem for about 2-3 weeks, and I still can't find a solution. These are the steps i go through trying to compile kdelibs4_snapshot. I'm currently using cmake 2.4.2, since 2.4.1 gave me the same error thus I upgraded, hoping to solve it:
[EMAIL PROTECTED]:/home/kde4/kde4/kdelibs4_snapshot$ mkdir build [EMAIL PROTECTED]:/home/kde4/kde4/kdelibs4_snapshot$ cd build [EMAIL PROTECTED]:/home/kde4/kde4/kdelibs4_snapshot/build$ cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=debugfull .. -- Check for working C compiler: gcc -- Check for working C compiler: gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: c++ -- Check for working CXX compiler: c++ -- works -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Found Qt-Version 4.1.1 -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libXft.so;/usr/X11R6/lib/libXau.so;/usr/X11R6/lib/libXdmcp.so;/usr/X11R6/lib/libXpm.so -- Looking for XOpenDisplay in /usr/X11R6/lib/libX11.so;/usr/X11R6/lib/libXext.so;/usr/X11R6/lib/libXft.so;/usr/X11R6/lib/libXau.so;/usr/X11R6/lib/libXdmcp.so;/usr/X11R6/lib/libXpm.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Building kdelibs... -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Failed -- Found KDE4 dcopidl preprocessor: /home/kde4/kde4/kdelibs4_snapshot/dcop/dcopidlng/dcopidl -- Found KDE4 dcopidl2cpp preprocessor: /home/kde4/kde4/kdelibs4_snapshot/build/bin/./dcopidl2cpp.sh -- Found KDE4 kconfig_compiler preprocessor: /home/kde4/kde4/kdelibs4_snapshot/build/bin/./kconfig_compiler.sh -- Found Z: /usr/lib/libz.so -- This is a SVN repository -- Using Buildname: Linux-c++ -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so -- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found -- Found BZip2: /usr/lib/libbz2.so -- Found OpenSSL: /usr/lib/libssl.so -- Looking for include files HAVE_LIBINTL_H -- Looking for include files HAVE_LIBINTL_H - found -- Looking for dgettext -- Looking for dgettext - found -- Found Gettext: built in libc -- Looking for include files HAVE_ATTR_LIBATTR_H -- Looking for include files HAVE_ATTR_LIBATTR_H - found -- Looking for include files HAVE_SYS_XATTR_H -- Looking for include files HAVE_SYS_XATTR_H - found -- Looking for include files HAVE_SYS_ACL_H -- Looking for include files HAVE_SYS_ACL_H - found -- Looking for include files HAVE_ACL_LIBACL_H -- Looking for include files HAVE_ACL_LIBACL_H - found -- Found ACL support: /usr/lib/libacl.so;/usr/lib/libattr.so -- Looking for include files HAVE_STDIO_H -- Looking for include files HAVE_STDIO_H - found -- Looking for include files HAVE_STDLIB_H -- Looking for include files HAVE_STDLIB_H - found -- Looking for include files HAVE_STRING_H -- Looking for include files HAVE_STRING_H - found -- Looking for include files HAVE_STRINGS_H -- Looking for include files HAVE_STRINGS_H - found -- Looking for include files HAVE_CTYPE_H -- Looking for include files HAVE_CTYPE_H - found -- Looking for include files HAVE_MALLOC_H -- Looking for include files HAVE_MALLOC_H - found -- Looking for include files HAVE_MEMORY_H -- Looking for include files HAVE_MEMORY_H - found -- Looking for include files HAVE_DLFCN_H -- Looking for include files HAVE_DLFCN_H - found -- Looking for include files TIME_WITH_SYS_TIME -- Looking for include files TIME_WITH_SYS_TIME - found -- Looking for include files HAVE_FLOAT_H -- Looking for include files HAVE_FLOAT_H - found -- Looking for include files HAVE_CRT_EXTERNS_H -- Looking for include files HAVE_CRT_EXTERNS_H - not found. -- Looking for include files HAVE_DLD_H -- Looking for include files HAVE_DLD_H - not found. -- Looking for include files HAVE_DL_H -- Looking for include files HAVE_DL_H - not found. -- Looking for include files HAVE_ALLOCA_H -- Looking for include files HAVE_ALLOCA_H - found -- Looking for include files HAVE_FSTAB_H -- Looking for include files HAVE_FSTAB_H - found -- Looking for include files HAVE_IEEEFP_H -- Looking for include files HAVE_IEEEFP_H - not found. -- Looking for include files HAVE_LIMITS_H -- Looking for include files HAVE_LIMITS_H - found -- Looking for include files HAVE_LIBUTIL_H -- Looking for include files HAVE_LIBUTIL_H - not found. -- Looking for include files HAVE_UTIL_H -- Looking for include files HAVE_UTIL_H - not found. -- Looking for include files HAVE_MNTENT_H -- Looking for include files HAVE_MNTENT_H - found -- Looking for include files HAVE_PTHREAD_NP_H -- Looking for include files HAVE_PTHREAD_NP_H - not found. -- Looking for include files HAVE_PTY_H -- Looking for include files HAVE_PTY_H - found -- Looking for include files HAVE_SYSENT_H -- Looking for include files HAVE_SYSENT_H - not found. -- Looking for include files HAVE_SYS_BITYPES_H -- Looking for include files HAVE_SYS_BITYPES_H - found -- Looking for include files HAVE_SYS_MMAN_H -- Looking for include files HAVE_SYS_MMAN_H - found -- Looking for include files HAVE_SYS_STAT_H -- Looking for include files HAVE_SYS_STAT_H - found -- Looking for include files HAVE_SYS_UCRED_H -- Looking for include files HAVE_SYS_UCRED_H - not found. -- Looking for include files HAVE_SYS_TYPES_H -- Looking for include files HAVE_SYS_TYPES_H - found -- Looking for include files HAVE_SYS_SELECT_H -- Looking for include files HAVE_SYS_SELECT_H - found -- Looking for include files HAVE_SYS_STROPTS_H -- Looking for include files HAVE_SYS_STROPTS_H - found -- Looking for include files HAVE_SYS_PARAM_H -- Looking for include files HAVE_SYS_PARAM_H - found -- Looking for include files HAVE_SYS_MNTTAB_H -- Looking for include files HAVE_SYS_MNTTAB_H - not found. -- Looking for include files HAVE_SYS_MNTENT_H -- Looking for include files HAVE_SYS_MNTENT_H - not found. -- Looking for include files HAVE_SYS_MOUNT_H -- Looking for include files HAVE_SYS_MOUNT_H - found -- Looking for include files HAVE_TERMIOS_H -- Looking for include files HAVE_TERMIOS_H - found -- Looking for include files HAVE_TERMIO_H -- Looking for include files HAVE_TERMIO_H - found -- Looking for include files HAVE_UNISTD_H -- Looking for include files HAVE_UNISTD_H - found -- Looking for include files HAVE_STDINT_H -- Looking for include files HAVE_STDINT_H - found -- Looking for include files HAVE_NETINET_IN_H -- Looking for include files HAVE_NETINET_IN_H - found -- Looking for include files HAVE_PATHS_H -- Looking for include files HAVE_PATHS_H - found -- Looking for include files HAVE_ERRNO_H -- Looking for include files HAVE_ERRNO_H - found -- Looking for include files HAVE_SYS_TIME_H -- Looking for include files HAVE_SYS_TIME_H - found -- Looking for include files HAVE_SYS_TIMEB_H -- Looking for include files HAVE_SYS_TIMEB_H - found -- Looking for include files HAVE_ARPA_NAMESER8_COMPAT_H -- Looking for include files HAVE_ARPA_NAMESER8_COMPAT_H - not found. -- Looking for include files HAVE_SYS_INOTIFY_H -- Looking for include files HAVE_SYS_INOTIFY_H - not found. -- Looking for strncasecmp -- Looking for strncasecmp - found -- Looking for strchr -- Looking for strchr - found -- Looking for strcmp -- Looking for strcmp - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for S_ISSOCK -- Looking for S_ISSOCK - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for index -- Looking for index - found -- Looking for rindex -- Looking for rindex - found -- Looking for memcpy -- Looking for memcpy - found -- Looking for bcopy -- Looking for bcopy - found -- Looking for backtrace -- Looking for backtrace - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for getpeereid -- Looking for getpeereid - not found -- Looking for getpt -- Looking for getpt - found -- Looking for grantpt -- Looking for grantpt - found -- Looking for madvise -- Looking for madvise - found -- Looking for mmap -- Looking for mmap - found -- Looking for readdir_r -- Looking for readdir_r - found -- Looking for sendfile -- Looking for sendfile - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for srandom -- Looking for srandom - found -- Looking for unlockpt -- Looking for unlockpt - found -- Looking for _NSGetEnviron -- Looking for _NSGetEnviron - not found -- Looking for addToUtmp in utempter -- Looking for addToUtmp in utempter - found -- Looking for volmgt_running in volmgt -- Looking for volmgt_running in volmgt - not found -- Looking for res_init in resolv -- Looking for res_init in resolv - not found -- Looking for __res_init in resolv -- Looking for __res_init in resolv - found -- Looking for openpty in util -- Looking for openpty in util - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for dlopen -- Looking for dlopen - not found -- Looking for dlerror in dl -- Looking for dlerror in dl - found -- Looking for shl_load -- Looking for shl_load - not found -- Looking for dld_init -- Looking for dld_init - not found -- Looking for getmntinfo -- Looking for getmntinfo - not found -- Looking for initgroups -- Looking for initgroups - found -- Looking for mkstemps -- Looking for mkstemps - not found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for mkdtemp -- Looking for mkdtemp - found -- Looking for ptsname -- Looking for ptsname - found -- Looking for random -- Looking for random - found -- Looking for revoke -- Looking for revoke - found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for setenv -- Looking for setenv - found -- Looking for seteuid -- Looking for seteuid - found -- Looking for setmntent -- Looking for setmntent - found -- Looking for unsetenv -- Looking for unsetenv - found -- Looking for usleep -- Looking for usleep - found -- Looking for _getpty -- Looking for _getpty - not found -- Looking for _finite -- Looking for _finite - not found -- Looking for finite -- Looking for finite - found -- Looking for isinf -- Looking for isinf - found -- Looking for isnan -- Looking for isnan - found -- Performing Test HAVE_MKSTEMPS_PROTO -- Performing Test HAVE_MKSTEMPS_PROTO - Failed -- Performing Test HAVE_MKDTEMP_PROTO -- Performing Test HAVE_MKDTEMP_PROTO - Success -- Performing Test HAVE_MKSTEMP_PROTO -- Performing Test HAVE_MKSTEMP_PROTO - Success -- Performing Test HAVE_STRLCAT_PROTO -- Performing Test HAVE_STRLCAT_PROTO - Failed -- Performing Test HAVE_STRLCPY_PROTO -- Performing Test HAVE_STRLCPY_PROTO - Failed -- Performing Test HAVE_RANDOM_PROTO -- Performing Test HAVE_RANDOM_PROTO - Success -- Performing Test HAVE_RES_INIT_PROTO -- Performing Test HAVE_RES_INIT_PROTO - Success -- Performing Test HAVE_SETENV_PROTO -- Performing Test HAVE_SETENV_PROTO - Success -- Performing Test HAVE_SRANDOM_PROTO -- Performing Test HAVE_SRANDOM_PROTO - Success -- Performing Test HAVE_UNSETENV_PROTO -- Performing Test HAVE_UNSETENV_PROTO - Success -- Performing Test HAVE_USLEEP_PROTO -- Performing Test HAVE_USLEEP_PROTO - Success -- Performing Test HAVE_INITGROUPS_PROTO -- Performing Test HAVE_INITGROUPS_PROTO - Success -- Performing Test HAVE_SETREUID_PROTO -- Performing Test HAVE_SETREUID_PROTO - Success -- Performing Test HAVE_SETEUID_PROTO -- Performing Test HAVE_SETEUID_PROTO - Success -- Check size of struct ucred -- Check size of struct ucred - done -- Performing Test GETMNTINFO_USES_STATVFS -- Performing Test GETMNTINFO_USES_STATVFS - Failed -- Performing Test HAVE_STRUCT_TM_TM_ZONE -- Performing Test HAVE_STRUCT_TM_TM_ZONE - Success -- Performing Test HAVE_TM_GMTOFF -- Performing Test HAVE_TM_GMTOFF - Success -- Looking for include files HAVE_SYS_FILIO_H -- Looking for include files HAVE_SYS_FILIO_H - not found. -- Looking for include files HAVE_SYS_NDIR_H -- Looking for include files HAVE_SYS_NDIR_H - not found. -- Looking for include files HAVE_INTTYPES_H -- Looking for include files HAVE_INTTYPES_H - found -- Looking for include files HAVE_LINUX_AWE_VOICE_H -- Looking for include files HAVE_LINUX_AWE_VOICE_H - found -- Looking for include files HAVE_LOCALE_H -- Looking for include files HAVE_LOCALE_H - found -- Looking for include files HAVE_MACHINE_SOUNDCARD_H -- Looking for include files HAVE_MACHINE_SOUNDCARD_H - not found. -- Looking for include files HAVE_NDIR_H -- Looking for include files HAVE_NDIR_H - not found. -- Looking for include files HAVE_NL_TYPES_H -- Looking for include files HAVE_NL_TYPES_H - found -- Looking for include files HAVE_PUNYCODE_H -- Looking for include files HAVE_PUNYCODE_H - found -- Looking for include files HAVE_STRINGPREP_H -- Looking for include files HAVE_STRINGPREP_H - found -- Looking for include files HAVE_VALUES_H -- Looking for include files HAVE_VALUES_H - found -- Looking for include files HAVE_SYS_DIR_H -- Looking for include files HAVE_SYS_DIR_H - found -- Looking for include files HAVE_DIRENT_H -- Looking for include files HAVE_DIRENT_H - found -- Looking for include files HAVE_X11_EXTENSIONS_SHAPE_H -- Looking for include files HAVE_X11_EXTENSIONS_SHAPE_H - found -- Looking for include files HAVE_X11_EXTENSIONS_XSHM_H -- Looking for include files HAVE_X11_EXTENSIONS_XSHM_H - found -- Looking for include files HAVE_X11_ICE_ICELIB_H -- Looking for include files HAVE_X11_ICE_ICELIB_H - found -- Looking for include files HAVE_XRENDER -- Looking for include files HAVE_XRENDER - found -- Looking for stpcpy -- Looking for stpcpy - found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strfmon -- Looking for strfmon - found -- Looking for LC_MESSAGES -- Looking for LC_MESSAGES - found -- Looking for gai_strerror -- Looking for gai_strerror - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for getgroups -- Looking for getgroups - found -- Looking for getsockname -- Looking for getsockname - found -- Looking for getsockopt -- Looking for getsockopt - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for munmap -- Looking for munmap - found -- Looking for putenv -- Looking for putenv - found -- Looking for setegid -- Looking for setegid - found -- Looking for setfsent -- Looking for setfsent - found -- Looking for setgroups -- Looking for setgroups - found -- Looking for setlocale -- Looking for setlocale - found -- Looking for socket -- Looking for socket - found -- Looking for __argz_count -- Looking for __argz_count - found -- Looking for __argz_next -- Looking for __argz_next - found -- Looking for __argz_stringify -- Looking for __argz_stringify - found -- Looking for mkstemps -- Looking for mkstemps - not found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for crypt in crypt -- Looking for crypt in crypt - found -- Looking for include files HAVE_IDNA_H -- Looking for include files HAVE_IDNA_H - found -- Looking for include files HAVE_NET_IF_H -- Looking for include files HAVE_NET_IF_H - found -- Looking for inet_pton -- Looking for inet_pton - found -- Looking for inet_ntop -- Looking for inet_ntop - found -- Looking for getprotobyname_r -- Looking for getprotobyname_r - found -- Looking for poll -- Looking for poll - found -- Looking for getservbyname_r -- Looking for getservbyname_r - found -- Looking for getservbyport_r -- Looking for getservbyport_r - found -- Looking for gethostbyname2 -- Looking for gethostbyname2 - found -- Looking for gethostbyname2_r -- Looking for gethostbyname2_r - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for if_nametoindex -- Looking for if_nametoindex - found -- Performing Test HAVE_GETSERVBYNAME_R_PROTO -- Performing Test HAVE_GETSERVBYNAME_R_PROTO - Success -- Looking for freeaddrinfo -- Looking for freeaddrinfo - found -- Looking for getnameinfo -- Looking for getnameinfo - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for res_init -- Looking for res_init - found -- Check size of struct addrinfo -- Check size of struct addrinfo - failed -- Check size of struct sockaddr_in6 -- Check size of struct sockaddr_in6 - done -- Looking for pthread_attr_get_np in pthread -- Looking for pthread_attr_get_np in pthread - not found -- Looking for pthread_getattr_np in pthread -- Looking for pthread_getattr_np in pthread - found -- Found PCRE: /usr/lib/libpcre.so;/usr/lib/libpcreposix.so -- Found fam: /usr/lib/libfam.so -- Looking for include files HAVE_SYS_SOUNDCARD_H -- Looking for include files HAVE_SYS_SOUNDCARD_H - found -- Found LibXml2: /usr/lib/libxml2.so -- Found LibXslt: /usr/lib/libxslt.so -- Looking for ippDeleteAttribute in cups -- Looking for ippDeleteAttribute in cups - found -- Found Cups: /usr/lib/libcups.so -- Found ASPELL: /usr/lib/libaspell.so -- Found JPEG: /usr/lib/libjpeg.so -- Found GIF: /usr/lib/libgif.so -- Found JPEG: /usr/lib/libjpeg.so -- Found TIFF: /usr/lib/libtiff.so -- Configuring done -- Generating done -- Build files have been written to: /home/kde4/kde4/kdelibs4_snapshot/build [EMAIL PROTECTED]:/home/kde4/kde4/kdelibs4_snapshot/build$ make CMake Error: Parse error in cache file /home/kde4/kde4/kdelibs4_snapshot/build/CMakeCache.txt. Offending entry: Error processing project file; /home/kde4/kde4/kdelibs4_snapshot/build/CMakeFiles/CMakeTmpQmake/tmp.pro CMake Error: Parse error in cache file /home/kde4/kde4/kdelibs4_snapshot/build/CMakeCache.txt. Offending entry: Error processing project file; /home/kde4/kde4/kdelibs4_snapshot/build/CMakeFiles/CMakeTmpQmake/tmp.pro -- Found Qt-Version 4.1.1 -- Building kdelibs... -- Found KDE4 dcopidl preprocessor: /home/kde4/kde4/kdelibs4_snapshot/dcop/dcopidlng/dcopidl -- Found KDE4 dcopidl2cpp preprocessor: /home/kde4/kde4/kdelibs4_snapshot/build/bin/./dcopidl2cpp.sh -- Found KDE4 kconfig_compiler preprocessor: /home/kde4/kde4/kdelibs4_snapshot/build/bin/./kconfig_compiler.sh -- This is a SVN repository -- Using Buildname: Linux-c++ -- Found ACL support: /usr/lib/libacl.so;/usr/lib/libattr.so -- Found JPEG: /usr/lib/libjpeg.so -- Found JPEG: /usr/lib/libjpeg.so -- Configuring done make: *** [cmake_check_build_system] Error 255 [EMAIL PROTECTED]:/home/kde4/kde4/kdelibs4_snapshot/build$ I hope you guys can help me, as I'm really a newbie at using cmake... Thanks in advance :) --Leonardo Cassarani _______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
