All files from this thread

File Name File Size   Posted by Date  
patch-nginx-perl-openssl.txt 1.3 KB open | download Maxim Dounin 06/23/2009 Read message
June 23, 2009 03:24AM
[code]
#./configure --user=elove --group=elove --prefix=/home/elove/app/nginx --with-http_stub_status_module --with-http_ssl_module --with-openssl=/home/elove/openssl-0.9.8c --with-http_perl_module --with-perl=/usr/bin/perl --with-perl_modules_path=/home/elove/app/nginx/modules/perl/

checking for OS
+ 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

Configuration summary
+ using system PCRE library
+ using OpenSSL library: /home/elove/openssl-0.9.8c
+ md5: using OpenSSL library
+ sha1 library is not used
+ using system zlib library

nginx path prefix: "/home/elove/app/nginx"
nginx binary file: "/home/elove/app/nginx/sbin/nginx"
nginx configuration prefix: "/home/elove/app/nginx/conf"
nginx configuration file: "/home/elove/app/nginx/conf/nginx.conf"
nginx pid file: "/home/elove/app/nginx/logs/nginx.pid"
nginx error log file: "/home/elove/app/nginx/logs/error.log"
nginx http access log file: "/home/elove/app/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"
[/code]


[code]
#make

Omitted......

cp -p src/http/modules/perl/nginx.* objs/src/http/modules/perl/
cp -p src/http/modules/perl/typemap objs/src/http/modules/perl/
cp -p src/http/modules/perl/Makefile.PL objs/src/http/modules/perl/
cd objs/src/http/modules/perl && NGX_PM_CFLAGS="-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/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -g " NGX_PCRE=YES NGX_OBJS=objs /usr/bin/perl Makefile.PL LIB=/home/elove/app/nginx/modules/perl/ INSTALLSITEMAN3DIR=/home/elove/app/nginx/modules/perl//man3
Writing Makefile for nginx
cp -p src/http/modules/perl/nginx.* objs/src/http/modules/perl/
cd objs/src/http/modules/perl && make
make[2]: Entering directory `/home/elove/nginx-0.7.60/objs/src/http/modules/perl'
cp nginx.pm blib/lib/nginx.pm
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap nginx.xs > nginx.xsc && mv nginx.xsc nginx.c
Please specify prototyping behavior for nginx.xs (see perlxs manual)
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 -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/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -g -O -DVERSION=\"0.7.60\" -DXS_VERSION=\"0.7.60\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-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
In file included from ../../../../../src/core/ngx_core.h:70,
from nginx.xs:10:
../../../../../src/event/ngx_event_openssl.h:31: error: expected specifier-qualifier-list before 鈥楽SL_CTX鈥?
../../../../../src/event/ngx_event_openssl.h:37: error: expected specifier-qualifier-list before 鈥楽SL鈥?
../../../../../src/event/ngx_event_openssl.h:110: error: expected 鈥?鈥?before 鈥?鈥?token
../../../../../src/event/ngx_event_openssl.h:111: error: expected declaration specifiers or 鈥?..鈥?before 鈥楽SL_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 鈥楽SL_SESSION鈥?
make[2]: *** [nginx.o] Error 1
make[2]: Leaving directory `/home/elove/nginx-0.7.60/objs/src/http/modules/perl'
make[1]: *** [objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so] Error 2
make[1]: Leaving directory `/home/elove/nginx-0.7.60'
make: *** [build] Error 2
[/code]



Edited 1 time(s). Last edit at 06/23/2009 03:26AM by lankelan.
Subject Author Posted

nginx-0.7.60 make error, when --with-http_perl_module

lankelan June 23, 2009 03:24AM

Re: nginx-0.7.60 make error, when --with-http_perl_module

lankelan June 23, 2009 11:09AM

Re: nginx-0.7.60 make error, when --with-http_perl_module

edogawaconan June 23, 2009 01:24PM

Re: nginx make error, when --with-http_perl_module Attachments

Maxim Dounin June 23, 2009 08:04PM

Re: nginx make error, when --with-http_perl_module

lankelan June 23, 2009 10:53PM

Re: nginx make error, when --with-http_perl_module

lankelan June 23, 2009 10:57PM

Re: nginx make error, when --with-http_perl_module

Maxim Dounin June 24, 2009 04:52AM

Re: nginx make error, when --with-http_perl_module

subeen September 22, 2010 02:39AM

Re: nginx-0.7.60 make error, when --with-http_perl_module

lankelan June 24, 2009 06:26AM

Re: nginx-0.7.60 make error, when --with-http_perl_module

Maxim Dounin June 24, 2009 07:05AM

Re: nginx-0.7.60 make error, when --with-http_perl_module

tsukasagenesis October 08, 2009 01:44PM

Re: nginx-0.7.60 make error, when --with-http_perl_module

Maxim Dounin October 08, 2009 02:12PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready