# Errors on Make

**URL:** <https://www.ruby-forum.com/t/errors-on-make/222088>\
**Category:** NGINX\
**Created:** [August 11, 2012, 6:22am UTC](https://www.ruby-forum.com/t/errors-on-make/222088 "2012-08-11T06:22:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 11, 2012, 6:22am UTC](https://www.ruby-forum.com/t/errors-on-make/222088/1 "2012-08-11T06:22:13Z")

</div>

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.

Posted at Nginx Forum:

> **[Errors on Make](https://forum.nginx.org/read.php?2,229589,229589#msg-229589)**
>
> 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:...

---

<div class="post-metadata">

**Author:** ![dewey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/919ad9/32.png) [@dewey](https://www.ruby-forum.com/u/dewey)\
**Post date:** [August 12, 2012, 10:19am UTC](https://www.ruby-forum.com/t/errors-on-make/222088/2 "2012-08-12T10:19:39Z")

</div>

On Sat, Aug 11, 2012 at 12:21:30AM -0400, dewey wrote:

> gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror  
> or directory  
> src/event/ngx\_event\_openssl.h:35: error: expected
> 
> 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.

---

<div class="post-metadata">

**Author:** ![dewey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/919ad9/32.png) [@dewey](https://www.ruby-forum.com/u/dewey)\
**Post date:** [August 12, 2012, 3:13pm UTC](https://www.ruby-forum.com/t/errors-on-make/222088/3 "2012-08-12T15:13:27Z")

</div>

perfect. that worked. thx!

Posted at Nginx Forum:

> **[Re: Errors on Make](https://forum.nginx.org/read.php?2,229589,229604#msg-229604)**
>
> 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:...
