Autoconf.err log errors after installation 0.8.24 need help

Hallo,

I need help. I don’t know what is to do.

Here is the configure file for nginx-0.8.24

./configure
–prefix=/nginx
–sbin-path=/nginx/sbin/nginx
–user=nginx
–group=nginx
–builddir=/nginx
–with-http_ssl_module
–with-http_flv_module
–with-http_secure_link_module
–with-http_stub_status_module
–with-debug

###########################################################

Here is the autoconf.err. log:


checking for C compiler

checking for gcc -pipe switch

checking for gcc variadic macros

checking for C99 variadic macros

checking for unistd.h

checking for inttypes.h

checking for limits.h

checking for sys/filio.h

/nginx/autotest.c:3:23: error: sys/filio.h: Datei oder Verzeichnis nicht
gefunden

#include

int main() {
return 0;
}


gcc -o /nginx/autotest /nginx/autotest.c


checking for sys/param.h

checking for sys/mount.h

checking for sys/statvfs.h

checking for crypt.h

checking for epoll

checking for sendfile()

checking for sendfile64()

checking for sys/prctl.h

checking for prctl(PR_SET_DUMPABLE)

checking for sched_setaffinity()

checking for crypt_r()

checking for sys/vfs.h

checking for poll()

checking for /dev/poll

/nginx/autotest.c:4:25: error: sys/devpoll.h: Datei oder Verzeichnis
nicht gefunden
/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:7: error: storage size of ‘dvp’ isn’t known
/nginx/autotest.c:12: error: ‘DP_POLL’ undeclared (first use in this
function)
/nginx/autotest.c:12: error: (Each undeclared identifier is reported
only once
/nginx/autotest.c:12: error: for each function it appears in.)

#include
#include
#include

int main() {
int n, dp; struct dvpoll dvp;
dp = 0;
dvp.dp_fds = NULL;
dvp.dp_nfds = 0;
dvp.dp_timeout = 0;
n = ioctl(dp, DP_POLL, &dvp);
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for kqueue

/nginx/autotest.c:4:23: error: sys/event.h: Datei oder Verzeichnis nicht
gefunden

#include
#include
#include

int main() {
int kq; kq = kqueue();
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for crypt()

/tmp/ccU5sxF3.o: In function main': autotest.c:(.text+0x21): undefined reference to crypt’
collect2: ld returned 1 exit status

#include
#include

int main() {
crypt(“test”, “salt”);;
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for crypt() in libcrypt

checking for F_READAHEAD

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:7: error: ‘F_READAHEAD’ undeclared (first use in this
function)
/nginx/autotest.c:7: error: (Each undeclared identifier is reported only
once
/nginx/autotest.c:7: error: for each function it appears in.)

#include
#include
#include

int main() {
fcntl(0, F_READAHEAD, 1);;
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for posix_fadvise()

checking for O_DIRECT

checking for F_NOCACHE

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:7: error: ‘F_NOCACHE’ undeclared (first use in this
function)
/nginx/autotest.c:7: error: (Each undeclared identifier is reported only
once
/nginx/autotest.c:7: error: for each function it appears in.)

#include
#include
#include

int main() {
fcntl(0, F_NOCACHE, 1);;
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for directio()

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:8: error: ‘DIRECTIO_ON’ undeclared (first use in this
function)
/nginx/autotest.c:8: error: (Each undeclared identifier is reported only
once
/nginx/autotest.c:8: error: for each function it appears in.)

#include
#include
#include
#include

int main() {
directio(0, DIRECTIO_ON);;
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for statfs()

checking for statvfs()

checking for dlopen()

/tmp/cckSjsqf.o: In function main': autotest.c:(.text+0x21): undefined reference to dlopen’
collect2: ld returned 1 exit status

#include
#include
#include

int main() {
dlopen(NULL, 0);
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for dlopen() in libdl

checking for sched_yield()

checking for PCRE library

checking for OpenSSL library

checking for zlib library

checking for int size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’


checking for long size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’

checking for long long size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’


checking for void * size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’


checking for uint64_t

checking for sig_atomic_t

checking for sig_atomic_t size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’


checking for socklen_t

checking for in_addr_t

checking for in_port_t

checking for rlim_t

checking for uintptr_t

checking for system endianess


checking for size_t size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’


checking for off_t size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’


checking for time_t size

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:11: warning: incompatible implicit declaration of
built-in function ‘printf’


checking for setproctitle()

/tmp/cck9dHtu.o: In function main': autotest.c:(.text+0x19): undefined reference to setproctitle’
collect2: ld returned 1 exit status

#include
#include

int main() {
setproctitle(“test”);;
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for pread()

checking for pwrite()

checking for strerror_r()

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:7: warning: assignment makes integer from pointer
without a cast


checking for gnu style strerror_r()

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:7: warning: assignment makes integer from pointer
without a cast


checking for localtime_r()

checking for posix_memalign()

checking for memalign()

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:7: warning: assignment makes pointer from integer
without a cast


checking for mmap(MAP_ANON|MAP_SHARED)

checking for mmap(“/dev/zero”, MAP_SHARED)

checking for System V shared memory

checking for struct msghdr.msg_control

checking for ioctl(FIONBIO)

checking for struct tm.tm_gmtoff

checking for struct dirent.d_namlen

/nginx/autotest.c: In function ‘main’:
/nginx/autotest.c:7: error: ‘struct dirent’ has no member named
‘d_namlen’

#include
#include
#include

int main() {
struct dirent dir; dir.d_namlen = 0;
return 0;
}


gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o /nginx/autotest
/nginx/autotest.c


checking for struct dirent.d_type

##########################################################

thanks

Varix

Posted at Nginx Forum:

On Mon, Nov 16, 2009 at 08:54:31AM -0500, Varix wrote:

–group=nginx
Here is the autoconf.err. log:
The errors in autoconf.err is a normal state: nginx tests various
platform
features.

hi Igor,

good news for me

thanks

Varix

Posted at Nginx Forum: