[CMake] cmake 2.8.2 doesn't build on suse 9.3

Verweij, Arjen VerweijA at tass-safe.com
Tue Oct 5 16:06:49 EDT 2010


Hi Brad,

Yes:

Determining if files sys/types.h;ctype.h;dlfcn.h;errno.h;fcntl.h;grp.h;inttypes.h;langinfo.h;limits.h;linux/fs.h;locale.h;memory.h;paths.h;poll.h;pwd.h;regex.h;signal.h;stdarg.h;stdint.h;stdlib.h;string.h;strings.h;sys/ioctl.h;sys/param.h;sys/poll.h;sys/select.h;sys/stat.h;sys/time.h;sys/wait.h exist failed with the following output:
Change Dir: /usr2/people/verweija/cmake/cmake-2.8.2/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"
gmake -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build
gmake[1]: Entering directory `/usr2/people/verweija/cmake/cmake-2.8.2/CMakeFiles/CMakeTmp'
/usr2/people/verweija/cmake/cmake-2.8.2/Bootstrap.cmk/cmake -E cmake_progress_report /usr2/people/verweija/cmake/cmake-2.8.2/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o
/usr/local/bin/cc    -o CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o   -c /usr2/people/verweija/cmake/cmake-2.8.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c
In file included from /usr2/people/verweija/cmake/cmake-2.8.2/CMakeFiles/CMakeTmp/CheckIncludeFiles.c:30:
/usr/include/sys/wait.h:103: error: syntax error before numeric constant
gmake[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckIncludeFiles.c.o] Error 1
gmake[1]: Leaving directory `/usr2/people/verweija/cmake/cmake-2.8.2/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec/fast] Error 2

gcc version:
/usr/local/bin/cc -v
Reading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib64 --enable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)

Attached wait.h.

Regards,
Arjen

>-----Original Message-----
>From: Brad King [mailto:brad.king at kitware.com]
>Sent: dinsdag 5 oktober 2010 18:59
>To: Verweij, Arjen
>Cc: cmake at cmake.org
>Subject: Re: [CMake] cmake 2.8.2 doesn't build on suse 9.3
>
>On 10/05/2010 08:34 AM, Verweij, Arjen wrote:
>> For some reason bootstrap on a plain SuSE 9.3 fails to find
>sys/wait.h.
>>
>> Manually defining HAVE_SYS_WAIT_H to 1 in config.h allows cmake and
>friends to be built.
>>
>> -rw-r--r--  1 root root 6620 2005-06-11 00:58 /usr/include/sys/wait.h
>>
>> -- Looking for include files HAVE_SYS_WAIT_H
>> -- Looking for include files HAVE_SYS_WAIT_H - not found.
>
>It looks like the bootstrap CMake builds but fails to configure the
>full build.  Does information about this check appear in the
>CMakeFiles/CMakeError.log file?
>
>-Brad
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wait.h
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101005/d82aae4a/attachment-0001.asc>


More information about the CMake mailing list