build failed, ngx_http_ssl_module requires?
Maxim Dounin
mdounin at mdounin.ru
Sun Jun 23 09:17:03 UTC 2013
Hello!
On Sun, Jun 23, 2013 at 11:42:47AM +0400, Sergey A. Osokin wrote:
> Hi,
>
> I've tried to build nginx 1.4.1 under FreeBSD 9.1-STABLE and the build has been failed.
>
> Here is configure arguments:
>
> --prefix=/usr/local/etc/nginx --with-cc-opt=-I /usr/local/include --with-ld-opt=-L /usr/local/lib --conf-path=/usr/local/etc/nginx/nginx.conf --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid --error-log-path=/var/log/nginx-error.log --user=www --group=www --with-ipv6 --http-client-body-temp-path=/var/tmp/nginx/client_body_temp --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp --http-proxy-temp-path=/var/tmp/nginx/proxy_temp --http-scgi-temp-path=/var/tmp/nginx/scgi_temp --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp --http-log-path=/var/log/nginx-access.log --with-http_flv_module --with-http_gzip_static_module --with-http_mp4_module --with-http_realip_module --with-http_stub_status_module --with-pcre --with-mail --with-mail_ssl_module
>
> Here is error message:
>
> cc -c -O2 -pipe -fno-strict-aliasing -I /usr/local/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -o objs/src/http/ngx_http_request.o src/http/ngx_http_request.c
> src/http/ngx_http_request.c: In function 'ngx_http_set_virtual_server':
> src/http/ngx_http_request.c:1992: error: 'ngx_http_ssl_srv_conf_t' undeclared (first use in this function)
> src/http/ngx_http_request.c:1992: error: (Each undeclared identifier is reported only once
> src/http/ngx_http_request.c:1992: error: for each function it appears in.)
> src/http/ngx_http_request.c:1992: error: 'sscf' undeclared (first use in this function)
> src/http/ngx_http_request.c:1999: error: 'ngx_http_ssl_module' undeclared (first use in this function)
> *** [objs/src/http/ngx_http_request.o] Error code 1
>
> Could you investigate the issue.
This is fixed in 1.5.1, see this commit:
http://hg.nginx.org/nginx/rev/9d83ec073c51
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx
mailing list