﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
336	nginx could not be built with the ngx_http_perl_module if the    --with-openssl option was used	Hien Phan		"Hello,

I tried to build Nginx 1.3.16 with OpenSSL 1.0.1e on Debian 6, I got below error:


                src/http/modules/ngx_http_upstream_keepalive_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /opt/src/openssl-1.0.1e/.openssl/include -I objs -I src/http -I src/http/modules -I src/http/modules/perl \
                -o objs/src/http/modules/ngx_http_stub_status_module.o \
                src/http/modules/ngx_http_stub_status_module.c
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /opt/src/openssl-1.0.1e/.openssl/include -I objs \
                -o objs/ngx_modules.o \
                objs/ngx_modules.c
cd objs/src/http/modules/perl && make
make[2]: Entering directory `/opt/src/nginx-1.3.16/objs/src/http/modules/perl'
make[2]: *** No rule to make target `../../../../..//opt/src/openssl-1.0.1e//.openssl/include/openssl/ssl.h', needed by `nginx.c'.  Stop.
make[2]: Leaving directory `/opt/src/nginx-1.3.16/objs/src/http/modules/perl'
make[1]: *** [objs/src/http/modules/perl/blib/arch/auto/nginx/nginx.so] Error 2
make[1]: Leaving directory `/opt/src/nginx-1.3.16'
make: *** [build] Error 2

"	defect	closed	minor		nginx-core	1.3.x	duplicate			"Linux  2.6.32-5-amd64 #1 SMP Mon Feb 25 00:26:11 UTC 2013 x86_64 GNU/Linux
"	"./configure --prefix=/opt/nginx --with-http_realip_module --with-pcre --with-file-aio --with-ipv6 --with-http_perl_module --with-http_stub_status_module --with-openssl=/opt/src/openssl-1.0.1e --with-openssl-opt=enable-tlsext --with-http_ssl_module --with-http_spdy_module
"
