Linux 2.6.18-8.el5xen i686
checking for C compiler … found
using GNU C compiler
gcc version: 4.1.1 20070105 (Red Hat 4.1.1-52)
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 … 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 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 … found
checking for zlib library … found
checking for perl
perl version: v5.8.8 built for i386-linux-thread-multi
perl interpreter multiplicity 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 … 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 … 4 bytes
checking for off_t size … 8 bytes
checking for time_t size … 4 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 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
Looks like you haven’t run ‘make install’ and therefore there is
no nginx.pm in that perl can found. After ‘make install’ it
should appear in /home/elove/app/nginx/modules/perl.
On Wed, Sep 22, 2010 at 10:29:57AM -0400, subeen wrote:
I am getting the same error (in centos54 nginx-0.7.67). I also tried the
patch, just edited the respective files by myself, but still getting the
error.
I am getting the same error (in centos54 nginx-0.7.67). I also tried the
patch, just edited the respective files by myself, but still getting the
error.
This is the error message I am getting:
make[2]: Entering directory
`/root/nginx-0.7.67/objs/src/http/modules/perl'
gcc -c -I ../../../../../src/core -I ../../../../../src/event -I
../../../../../src/os/unix -I ../../../../../src/http -I
../../../../../src/http/modules -I ../../../../../src/http/modules/perl
-I ../../../../../objs -I /root/pcre-8.10 -I
../../../../..//openssl/include -D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm
-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE -g -O
-DVERSION=\"0.7.67\" -DXS_VERSION=\"0.7.67\" -fPIC
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" nginx.c
In file included from ../../../../../src/core/ngx_core.h:70,
from nginx.xs:10:
../../../../../src/event/ngx_event_openssl.h:14:25: error:
openssl/ssl.h: No such file or directory
../../../../../src/event/ngx_event_openssl.h:15:25: error:
openssl/err.h: No such file or directory
../../../../../src/event/ngx_event_openssl.h:16:26: error:
openssl/conf.h: No such file or directory
../../../../../src/event/ngx_event_openssl.h:17:28: error:
openssl/engine.h: No such file or directory
../../../../../src/event/ngx_event_openssl.h:18:25: error:
openssl/evp.h: No such file or directory
In file included from ../../../../../src/core/ngx_core.h:70,
from nginx.xs:10:
../../../../../src/event/ngx_event_openssl.h:28: error: expected
specifier-qualifier-list before ‘SSL_CTX’
../../../../../src/event/ngx_event_openssl.h:34: error: expected
specifier-qualifier-list before ‘SSL’
../../../../../src/event/ngx_event_openssl.h:109: error: expected
‘)’ before ‘*’ token
../../../../../src/event/ngx_event_openssl.h:110: error: expected
declaration specifiers or ‘...’ before ‘SSL_SESSION’
In file included from ../../../../../src/http/ngx_http.h:30,
from nginx.xs:11:
../../../../../src/http/ngx_http_upstream_round_robin.h:33: error:
expected specifier-qualifier-list before ‘SSL_SESSION’
make[2]: *** [nginx.o] Error 1
make[2]: Leaving directory
`/root/nginx-0.7.67/objs/src/http/modules/perl'
make[1]: *** [objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so]
Error 2
make[1]: Leaving directory `/root/nginx-0.7.67'
make: *** [build] Error 2
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.