Errors on Make

Ruslan Ermilov ru at nginx.com
Sun Aug 12 08:18:51 UTC 2012


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.



More information about the nginx mailing list