Cannot make nginx-0.8.54 for ssl.h Error 2

Teng Kuowei kuowei.teng at
Mon Feb 14 08:23:21 MSK 2011


I am new for Nginx. I got the source files, use the commands and build them but found the error below. Anyone can help me? Thank you.

debian:~/nginx-0.8.54# ./configure --user=nginxwww --group=nginxwww --prefix=/usr/local/webserver/nginx --with-http_stub_status_module --with-http_ssl_module --with-openssl=/usr/lib/ssl

debian:~/nginx-0.8.54# make && make install
make -f objs/Makefile
make[1]: Entering directory `/root/nginx-0.8.54'
cd /usr/lib/ssl \
        && make clean \
        && ./config --prefix=/usr/lib/ssl/.openssl no-shared  no-threads \
        && make \
        && make install LIBDIR=lib
make[2]: Entering directory `/usr/lib/ssl'
make[2]: *** No rule to make target `clean'.  Stop.
make[2]: Leaving directory `/usr/lib/ssl'
make[1]: *** [/usr/lib/ssl/.openssl/include/openssl/ssl.h] Error 2
make[1]: Leaving directory `/root/nginx-0.8.54'
make: *** [build] Error 2

debian:~/nginx-0.8.54# openssl version -a
OpenSSL 0.9.8o 01 Jun 2010
built on: Mon Dec  6 21:13:15 UTC 2010
platform: debian-i386-i686/cmov
options:  bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx)
OPENSSLDIR: "/usr/lib/ssl"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list