Welcome! Log In Create A New Profile

Advanced

Re: Errors on Make

Ruslan Ermilov
August 12, 2012 04:20AM
On Sat, Aug 11, 2012 at 12:21:30AM -0400, dewey wrote:
> I'm trying to compile 1.2.3 with:
>
> ./configure --with-http_ssl_module --with-http_gzip_static_module
> --with-http_mp4_module --with-http_secure_link_module
> --with-pcre=~/pcre-8.31 --with-openssl=~/openssl-1.0.1c
> --with-zlib=~/zlib-1.2.7
>
> and am getting:
>
>
> gcc -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
> ~/pcre-8.31 -I ~/openssl-1.0.1c/.openssl/include -I ~/zlib-1.2.7 -I objs
> \
> -o objs/src/core/nginx.o \
> src/core/nginx.c
> In file included from src/core/ngx_core.h:73,
> from src/core/nginx.c:9:
> src/event/ngx_event_openssl.h:15:25: error: openssl/ssl.h: No such file
> or directory
> src/event/ngx_event_openssl.h:16:25: error: openssl/err.h: No such file
> or directory
> src/event/ngx_event_openssl.h:17:26: error: openssl/conf.h: No such file
> or directory
> src/event/ngx_event_openssl.h:18:28: error: openssl/engine.h: No such
> file or directory
> src/event/ngx_event_openssl.h:19:25: error: openssl/evp.h: No such file
> or directory
> In file included from src/core/ngx_core.h:73,
> from src/core/nginx.c:9:
> src/event/ngx_event_openssl.h:29: error: expected
> specifier-qualifier-list before ‘SSL_CTX’
> src/event/ngx_event_openssl.h:35: error: expected
> specifier-qualifier-list before ‘SSL’
> src/event/ngx_event_openssl.h:105: error: expected ‘=’, ‘,’,
> ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> src/event/ngx_event_openssl.h:114: error: expected ‘)’ before
> ‘*’ token
> src/event/ngx_event_openssl.h:115: error: expected declaration
> specifiers or ‘...’ before ‘SSL_SESSION’
> make[1]: *** [objs/src/core/nginx.o] Error 1
> make[1]: Leaving directory `/root/nginx-1.2.3'
> make: *** [build] Error 2
>
> I really have no idea where to even start. Any help would be
> appreciated.

Replace ~'s in the configure command above with $PATH or a full path
to your home directory.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Errors on Make

dewey August 11, 2012 12:21AM

Re: Errors on Make

Ruslan Ermilov August 12, 2012 04:20AM

Re: Errors on Make

dewey August 12, 2012 09:13AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready