# Problem with nginx installation on centOS

**URL:** <https://www.ruby-forum.com/t/problem-with-nginx-installation-on-centos/203765>\
**Category:** NGINX\
**Created:** [February 26, 2011, 6:57pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-installation-on-centos/203765 "2011-02-26T18:57:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 26, 2011, 6:57pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-installation-on-centos/203765/1 "2011-02-26T18:57:04Z")

</div>

Hi everyone,  
I am getting the following error when installing nginx after the  
configure, it seems that it’s missing some directive. What should I do?  
checking for OS + Linux 2.6.35.4-rscloud x86\_64checking for C compiler  
… found + using GNU C compiler + gcc version: 4.1.2 20080704 (Red Hat  
4.1.2-48)checking for gcc -pipe switch … foundchecking for gcc builtin  
atomic operations … foundchecking for C99 variadic macros …  
foundchecking for gcc variadic macros … foundchecking for unistd.h …  
foundchecking for inttypes.h … foundchecking for limits.h …  
foundchecking for sys/filio.h … not foundchecking for sys/param.h …  
foundchecking for sys/mount.h … foundchecking for sys/statvfs.h …  
foundchecking for crypt.h … foundchecking for Linux specific  
featureschecking for epoll … foundchecking for sendfile() …  
foundchecking for sendfile64() … foundchecking for sys/prctl.h …  
foundchecking for prctl(PR\_SET\_DUMPABLE) … foundchecking for  
sched\_setaffinity() … foundchecking for crypt\_r() … foundchecking  
for sys/vfs.h … foundchecking for nobody group … foundchecking for  
poll() … foundchecking for /dev/poll … not foundchecking for kqueue  
… not foundchecking for crypt() … not foundchecking for crypt() in  
libcrypt … foundchecking for F\_READAHEAD … not foundchecking for  
posix\_fadvise() … foundchecking for O\_DIRECT … foundchecking for  
F\_NOCACHE … not foundchecking for directio() … not foundchecking for  
statfs() … foundchecking for statvfs() … foundchecking for dlopen()  
… not foundchecking for dlopen() in libdl … foundchecking for  
sched\_yield() … foundchecking for SO\_SETFIB … not foundchecking for  
PCRE library … foundchecking for OpenSSL library … foundchecking for  
zlib library … foundcreating objs/Makefilechecking for int size … 4  
byteschecking for long size … 8 byteschecking for long long size … 8  
byteschecking for void \* size … 8 byteschecking for uint64\_t …  
foundchecking for sig\_atomic\_t … foundchecking for sig\_atomic\_t size  
… 4 byteschecking for socklen\_t … foundchecking for in\_addr\_t …  
foundchecking for in\_port\_t … foundchecking for rlim\_t …  
foundchecking for uintptr\_t … uintptr\_t foundchecking for system  
endianess … little endianesschecking for size\_t size … 8  
byteschecking for off\_t size … 8 byteschecking for time\_t size … 8  
byteschecking for setproctitle() … not foundchecking for pread() …  
foundchecking for pwrite() … foundchecking for strerror\_r() … found  
but is not workingchecking for gnu style strerror\_r() … foundchecking  
for sys\_errlist[] … foundchecking for localtime\_r() … foundchecking  
for posix\_memalign() … foundchecking for memalign() … foundchecking  
for mmap(MAP\_ANON|MAP\_SHARED) … foundchecking for mmap("/dev/zero",  
MAP\_SHARED) … foundchecking for System V shared memory …  
foundchecking for struct msghdr.msg\_control … foundchecking for  
ioctl(FIONBIO) … foundchecking for struct tm.tm\_gmtoff …  
foundchecking for struct dirent.d\_namlen … not foundchecking for  
struct dirent.d\_type … found  
Configuration summary + using system PCRE library + using system  
OpenSSL library + md5: using OpenSSL library + sha1 library is not  
used + using system zlib library  
nginx path prefix: “/usr/local/nginx” nginx binary file:  
“/usr/local/sbin” nginx configuration prefix: “/usr/local/nginx/conf”  
nginx configuration file: “/usr/local/nginx/conf/nginx.conf” nginx pid  
file: “/usr/local/nginx/logs/nginx.pid” nginx error log file:  
“/usr/local/nginx/logs/error.log” nginx http access log file:  
“/usr/local/nginx/logs/access.log” nginx http client request body  
temporary files: “client\_body\_temp” nginx http proxy temporary files:  
“proxy\_temp” nginx http fastcgi temporary files: “fastcgi\_temp” nginx  
http uwsgi temporary files: “uwsgi\_temp” nginx http scgi temporary  
files: “scgi\_temp”

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![aditya\_h](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@aditya\_h](https://www.ruby-forum.com/u/aditya_h)\
**Post date:** [February 26, 2011, 7:08pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-installation-on-centos/203765/2 "2011-02-26T19:08:22Z")

</div>

Hi. What error you are talking about?

On Sat, Feb 26, 2011 at 8:55 PM, Aditya H.

---

<div class="post-metadata">

**Author:** ![aditya\_h](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@aditya\_h](https://www.ruby-forum.com/u/aditya_h)\
**Post date:** [February 26, 2011, 7:10pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-installation-on-centos/203765/3 "2011-02-26T19:10:53Z")

</div>

I don’t see any errors there?

Sent from my iPhone

On 26 Feb 2011, at 18:00, “Aditya H.”  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:

Hi everyone,

I am getting the following error when installing nginx after the  
configure, it seems that it’s missing some directive. What should I do?

checking for OS

- Linux 2.6.35.4-rscloud x86\_64  
checking for C compiler … found
- using GNU C compiler
- gcc version: 4.1.2 20080704 (Red Hat 4.1.2-48)  
checking for gcc -pipe switch … found  
checking for gcc builtin atomic operations … found  
checking for C99 variadic macros … found  
checking for gcc variadic macros … found  
checking for unistd.h … found  
checking for inttypes.h … found  
checking for limits.h … found  
checking for sys/filio.h … not found  
checking for sys/param.h … found  
checking for sys/mount.h … found  
checking for sys/statvfs.h … found  
checking for crypt.h … found  
checking for Linux specific features  
checking for epoll … found  
checking for sendfile() … found  
checking for sendfile64() … found  
checking for sys/prctl.h … found  
checking for prctl(PR\_SET\_DUMPABLE) … 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 F\_READAHEAD … not found  
checking for posix\_fadvise() … 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 SO\_SETFIB … not found  
checking for PCRE library … found  
checking for OpenSSL library … found  
checking for zlib library … found  
creating objs/Makefile  
checking for int size … 4 bytes  
checking for long size … 8 bytes  
checking for long long size … 8 bytes  
checking for void \* size … 8 bytes  
checking for uint64\_t … found  
checking for sig\_atomic\_t … found  
checking for sig\_atomic\_t size … 4 bytes  
checking for socklen\_t … found  
checking for in\_addr\_t … found  
checking for in\_port\_t … found  
checking for rlim\_t … found  
checking for uintptr\_t … uintptr\_t found  
checking for system endianess … little endianess  
checking for size\_t size … 8 bytes  
checking for off\_t size … 8 bytes  
checking for time\_t size … 8 bytes  
checking for setproctitle() … not found  
checking for pread() … found  
checking for pwrite() … found  
checking for strerror\_r() … found but is not working  
checking for gnu style strerror\_r() … found  
checking for sys\_errlist[] … found  
checking for localtime\_r() … found  
checking for posix\_memalign() … found  
checking for memalign() … found  
checking for mmap(MAP\_ANON|MAP\_SHARED) … found  
checking for mmap(“/dev/zero”, MAP\_SHARED) … found  
checking for System V shared memory … found  
checking for struct msghdr.msg\_control … found  
checking for ioctl(FIONBIO) … found  
checking for struct tm.tm\_gmtoff … found  
checking for struct dirent.d\_namlen … not found  
checking for struct dirent.d\_type … found

Configuration summary

- using system PCRE library
- using system OpenSSL library
- md5: using OpenSSL library
- sha1 library is not used
- using system zlib library

nginx path prefix: “/usr/local/nginx”  
nginx binary file: “/usr/local/sbin”  
nginx configuration prefix: “/usr/local/nginx/conf”  
nginx configuration file: “/usr/local/nginx/conf/nginx.conf”  
nginx pid file: “/usr/local/nginx/logs/nginx.pid”  
nginx error log file: “/usr/local/nginx/logs/error.log”  
nginx http access log file: “/usr/local/nginx/logs/access.log”  
nginx http client request body temporary files: “client\_body\_temp”  
nginx http proxy temporary files: “proxy\_temp”  
nginx http fastcgi temporary files: “fastcgi\_temp”  
nginx http uwsgi temporary files: “uwsgi\_temp”  
nginx http scgi temporary files: “scgi\_temp”

Thanks for the help!

---

<div class="post-metadata">

**Author:** ![aditya\_h](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@aditya\_h](https://www.ruby-forum.com/u/aditya_h)\
**Post date:** [February 26, 2011, 7:37pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-installation-on-centos/203765/4 "2011-02-26T19:37:48Z")

</div>

On Feb 26, 2011, at 21:12 , Aditya H. wrote:

> I just want to know whether it’s normal to have a few not found as a response  
> when running the ./configure.  
> Yes, this is normal.

> When I run make, it gives me 2 warnings:
> 
> objs/src/os/unix/ngx\_process.o: In function `ngx_process_get_status': /root/sources/nginx-0.8.54/src/os/unix/ngx_process.c:490: warning: `sys\_errlist’  
> is deprecated; use `strerror' or `strerror\_r’ instead  
> /root/sources/nginx-0.8.54/src/os/unix/ngx\_process.c:490: warning: `sys_nerr' is deprecated; use `strerror’ or `strerror_r' instead make[1]: Leaving directory `/root/sources/nginx-0.8.54’
> 
> is this okay or is there something that I need to fix?  
> Yes, [A message “&nbsp;‘sys\_errlist’ is deprecated; use ‘strerror’ or ‘strerror\_r’ instead&nbsp;”](http://nginx.org/en/docs/sys_errlist.html)

---

<div class="post-metadata">

**Author:** ![aditya\_h](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/e36b37/32.png) [@aditya\_h](https://www.ruby-forum.com/u/aditya_h)\
**Post date:** [February 26, 2011, 7:14pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-installation-on-centos/203765/5 "2011-02-26T19:14:02Z")

</div>

I just want to know whether it’s normal to have a few not found as a  
response when running the ./configure.  
When I run make, it gives me 2 warnings:  
objs/src/os/unix/ngx\_process.o: In function  
`ngx_process_get_status':/root/sources/nginx-0.8.54/src/os/unix/ngx_process.c:490: warning: `sys\_errlist’ is deprecated; use `strerror' or `strerror\_r’  
instead/root/sources/nginx-0.8.54/src/os/unix/ngx\_process.c:490:  
warning: `sys_nerr' is deprecated; use `strerror’ or `strerror_r' insteadmake[1]: Leaving directory `/root/sources/nginx-0.8.54’  
is this okay or is there something that I need to fix?

From: removed\_email\_address@domain.invalid  
To: removed\_email\_address@domain.invalid  
CC: removed\_email\_address@domain.invalid  
Date: Sat, 26 Feb 2011 18:10:02 +0000  
Subject: Re: problem with nginx installation on centOS

I don’t see any errors there?

Sent from my iPhone  
On 26 Feb 2011, at 18:00, “Aditya H.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

Hi everyone,  
I am getting the following error when installing nginx after the  
configure, it seems that it’s missing some directive. What should I do?  
checking for OS + Linux 2.6.35.4-rscloud x86\_64checking for C compiler  
… found + using GNU C compiler + gcc version: 4.1.2 20080704 (Red Hat  
4.1.2-48)checking for gcc -pipe switch … foundchecking for gcc builtin  
atomic operations … foundchecking for C99 variadic macros …  
foundchecking for gcc variadic macros … foundchecking for unistd.h …  
foundchecking for inttypes.h … foundchecking for limits.h …  
foundchecking for sys/filio.h … not foundchecking for sys/param.h …  
foundchecking for sys/mount.h … foundchecking for sys/statvfs.h …  
foundchecking for crypt.h … foundchecking for Linux specific  
featureschecking for epoll … foundchecking for sendfile() …  
foundchecking for sendfile64() … foundchecking for sys/prctl.h …  
foundchecking for prctl(PR\_SET\_DUMPABLE) … foundchecking for  
sched\_setaffinity() … foundchecking for crypt\_r() … foundchecking  
for sys/vfs.h … foundchecking for nobody group … foundchecking for  
poll() … foundchecking for /dev/poll … not foundchecking for kqueue  
… not foundchecking for crypt() … not foundchecking for crypt() in  
libcrypt … foundchecking for F\_READAHEAD … not foundchecking for  
posix\_fadvise() … foundchecking for O\_DIRECT … foundchecking for  
F\_NOCACHE … not foundchecking for directio() … not foundchecking for  
statfs() … foundchecking for statvfs() … foundchecking for dlopen()  
… not foundchecking for dlopen() in libdl … foundchecking for  
sched\_yield() … foundchecking for SO\_SETFIB … not foundchecking for  
PCRE library … foundchecking for OpenSSL library … foundchecking for  
zlib library … foundcreating objs/Makefilechecking for int size … 4  
byteschecking for long size … 8 byteschecking for long long size … 8  
byteschecking for void \* size … 8 byteschecking for uint64\_t …  
foundchecking for sig\_atomic\_t … foundchecking for sig\_atomic\_t size  
… 4 byteschecking for socklen\_t … foundchecking for in\_addr\_t …  
foundchecking for in\_port\_t … foundchecking for rlim\_t …  
foundchecking for uintptr\_t … uintptr\_t foundchecking for system  
endianess … little endianesschecking for size\_t size … 8  
byteschecking for off\_t size … 8 byteschecking for time\_t size … 8  
byteschecking for setproctitle() … not foundchecking for pread() …  
foundchecking for pwrite() … foundchecking for strerror\_r() … found  
but is not workingchecking for gnu style strerror\_r() … foundchecking  
for sys\_errlist[] … foundchecking for localtime\_r() … foundchecking  
for posix\_memalign() … foundchecking for memalign() … foundchecking  
for mmap(MAP\_ANON|MAP\_SHARED) … foundchecking for mmap(“/dev/zero”,  
MAP\_SHARED) … foundchecking for System V shared memory …  
foundchecking for struct msghdr.msg\_control … foundchecking for  
ioctl(FIONBIO) … foundchecking for struct tm.tm\_gmtoff …  
foundchecking for struct dirent.d\_namlen … not foundchecking for  
struct dirent.d\_type … found  
Configuration summary + using system PCRE library + using system  
OpenSSL library + md5: using OpenSSL library + sha1 library is not  
used + using system zlib library  
nginx path prefix: “/usr/local/nginx” nginx binary file:  
“/usr/local/sbin” nginx configuration prefix: “/usr/local/nginx/conf”  
nginx configuration file: “/usr/local/nginx/conf/nginx.conf” nginx pid  
file: “/usr/local/nginx/logs/nginx.pid” nginx error log file:  
“/usr/local/nginx/logs/error.log” nginx http access log file:  
“/usr/local/nginx/logs/access.log” nginx http client request body  
temporary files: “client\_body\_temp” nginx http proxy temporary files:  
“proxy\_temp” nginx http fastcgi temporary files: “fastcgi\_temp” nginx  
http uwsgi temporary files: “uwsgi\_temp” nginx http scgi temporary  
files: “scgi\_temp”

Thanks for the help!

* * *

nginx mailing list  
removed\_email\_address@domain.invalid  
[http://nginx.org/mailman/listinfo/nginx](http://nginx.org/mailman/listinfo/nginx)
