Compile pronlem with old centosls

Alejandro Martínez lists at ruby-forum.com
Mon Jun 15 18:35:43 MSD 2009


I don't know what is wrong, and couldn't find anything about it by
googling.

Any ideas?

[root at s164 nginx-0.8.1]# ./configure
checking for OS
 + Linux 2.6.9-34.ELsmp i686
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 3.4.6 20060404 (Red Hat 3.4.6-10)
checking for gcc -pipe switch ... found
checking for gcc variadic macros ... found
checking for C99 variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... not found
checking for sys/filio.h ... not found
checking for sys/param.h ... not found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
 + rt signals found
checking for epoll ... found
checking for sendfile() ... not found
checking for sendfile64() ... not found
checking for sys/prctl.h ... not found
checking for prctl(PR_SET_DUMPABLE) ... not found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... found
checking for system md library ... not found
checking for system md5 library ... not found
checking for OpenSSL md5 crypto library ... found
checking for zlib library ... found
creating objs/Makefile
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 bytes
checking for uint64_t ... uint64_t not found u_int64_t not found
./configure: error: can not define uint64_t
[root at s164 nginx-0.8.1]#


with gcc4 the problem is the same:

[root at s164 nginx-0.8.1]# CC=gcc4 CXX=g++4 ./configure
checking for OS
 + Linux 2.6.9-34.ELsmp i686
checking for C compiler ... found
 + using GNU C compiler
 + gcc version: 4.1.2 20071124 (Red Hat 4.1.2-42)
checking for gcc -pipe switch ... found
checking for gcc variadic macros ... found
checking for C99 variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... not found
checking for sys/filio.h ... not found
checking for sys/param.h ... not found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
 + rt signals found
checking for epoll ... found
checking for sendfile() ... not found
checking for sendfile64() ... not found
checking for sys/prctl.h ... not found
checking for prctl(PR_SET_DUMPABLE) ... not found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for PCRE library ... not found
checking for PCRE library in /usr/local/ ... not found
checking for PCRE library in /usr/include/pcre/ ... found
checking for system md library ... not found
checking for system md5 library ... not found
checking for OpenSSL md5 crypto library ... found
checking for zlib library ... found
creating objs/Makefile
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 bytes
checking for uint64_t ... uint64_t not found u_int64_t not found
./configure: error: can not define uint64_t
[root at s164 nginx-0.8.1]#


Thanks :)
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list