Hello!
On Tue, Jun 23, 2009 at 03:24:20AM -0400, lankelan wrote:
>
> #./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/
[...]
> 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_BITSd -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]: *** Error 1
> make[2]: Leaving directory `/home/elove/nginx-0.7.60/objs/src/http/modules/perl'
> make[1]: *** Error 2
> make[1]: Leaving directory `/home/elove/nginx-0.7.60'
> make: *** Error 2
Try the attached patch.
Maxim Dounin
Attachments:
open |
download -
patch-nginx-perl-openssl.txt
(1.3 KB)