nginx compile log(debian 7.8 - 64bit)
root@freecatz-pe-kr:~# cat /etc/issue
Debian GNU/Linux 7
root@freecatz-pe-kr:~# cat /etc/debian_version
7.8
root@freecatz-pe-kr:~# sudo apt-get install gcc g++ libpcre3-dev
root@freecatz-pe-kr:~# mkdir -p archive/nginx-compile
root@freecatz-pe-kr:~# cd archive/nginx-compile
root@freecatz-pe-kr:~# wget http://nginx.org/download/nginx-1.17.1.tar.gz
root@freecatz-pe-kr:~# wget https://www.openssl.org/source/openssl-1.0.2s.tar.gz
root@freecatz-pe-kr:~# wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.43.tar.gz
root@freecatz-pe-kr:~# wget http://zlib.net/zlib-1.2.11.tar.gz
root@freecatz-pe-kr:~# tar zxvf nginx-1.17.1.tar.gz
root@freecatz-pe-kr:~# tar zxvf openssl-1.0.2s.tar.gz
root@freecatz-pe-kr:~# tar zxvf pcre-8.43.tar.gz
root@freecatz-pe-kr:~# tar zxvf zlib-1.2.11.tar.gz
root@freecatz-pe-kr:~# cd nginx-1.17.1/
root@freecatz-pe-kr:~# pwd
/root/archive/nginx-compile/nginx-1.17.1
root@freecatz-pe-kr:~# ./configure --with-pcre=/root/archive/nginx-compile/pcre-8.43 --with-openssl=/root/archive/nginx-compile/openssl-1.0.2s --with-zlib=/root/archive/nginx-compile/zlib-1.2.11 --with-http_ssl_module --with-debug --user=freecatz --prefix=/usr/local/nginx-1.17.1
... 길어서 중략...
root@freecatz-pe-kr:~# make;make install
... 길기도 하고 오래 걸려서 생략...