Passage de lighttp à nginx
Bon, ben voilà. Quand on POSTe des fomulaires un peu gros (des fichiers par exemple) vers le slug via curl, et que le serveur est lighttpd < 1.5, alors on a ce genre de réponse de la part de lighttpd :
HTTP/1.1 417 Expectation Failed
Connection: close
Content-Length: 0
Date: Wed, 01 Aug 2012 20:42:03 GMT
Server: lighttpd/1.4.18
C'est un vieux bug connu de lighttpd qui est corrigé en version 1.5. Mais toutes les versions 1.4 souffrent de cette infirmité. CF le bug 1017 de lighttpd.
On peut corriger ça en utilisant un hack de curl. Comme indiqué sur cette page de stackoverflow, il suffit de rajouter l'option «-H Expect:
» pour que tout rentre dans l'ordre, mais ça m'a quand même donné envie de changer de serveur web.
D'abord, on vérifie les versions disponibles, tant dans les feeds officiels avec opkg
que dans les feeds non officiels avec ipkg
.
root@nslu2:/etc/init.d# opkg list '*lightt*'
lighttpd - 1.4.18-r3 - Web server
lighttpd-dbg - 1.4.18-r3 - Web server
.....
lighttpd-module-webdav - 1.4.18-r3 - Lighttpd module for webdav
root@nslu2:/etc/init.d# ipkg list '*lightt*'
lighttpd - 1.4.31-1 - A fast webserver with minimal memory footprint.
Successfully terminated.
root@nslu2:/etc/init.d#
Bon la meilleure version disponible est 1.4.31, pas suffisant. Faut passer à autre chose. essayons nginx :
root@nslu2:/etc/init.d# opkg list nginx
root@nslu2:/etc/init.d# ipkg list '*nginx*'
nginx - 1.0.14-1 - A high perfomance http and reverse proxy server, and IMAP/POP3 proxy server.
Successfully terminated.
root@nslu2:/etc/init.d#
nginx est disponible dans les feeds non officiel, mais seulement en version 1.0.14-1 alors que la dernière version stable est 1.2.3. La différence est grande et justifie pleinement qu'on essaye d'installer cette dernière version en la compilant sur le slug…
Préparer la compilation de nginx
Avant tout, installer un environnement minimal de développement, comme indiqué sue cette page. Ensuite, rajouter quelques bibliothèques de développement. La configuration de nginx exige pcre, mais les paquets disponibles dans les feeds n'ont pas l'option unicode-properties1), donc je compile d'abord pcre 8.31. Pour obtenir également du HTTPS, et pas seulement du HTTP, il faut aussi openssl-dev
ipkg install openssl-dev
Éventuellement, ne pas installer openssl-dev
si on prévoit de ne pas utiliser HTTPS.
On pourra enlever les paquets -dev
après la compilation.
Comme certaines bibliothèques (libcrypt notamment) sont installées dans /opt/lib
et d'autres dans /opt/schplurtz/lib
(pcre), il faut aussi trouver le moyen de passer à l'éditeur de liens l'option «indique que ce binaire doit aussi rechercher ses bibliothèques dynamiques dans /opt/lib et dans /opt/schplurtz/lib». Heureusement, le script ./configure
de nginx permet d'utiliser les options de son choix passées au compilateur lors de l'édition de liens. On va donc rajouter ces trois options pour l'édition de liens :
-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib
et ces deux options pour la compilation :
-I/opt/schplurtz/include -I/opt/include
Les deux premières indiquent de rechercher les bibliothèques dynamiques dans /opt/schplurtz/lib
et /opt/lib
, la seconde indique d'inscrire ces chemins dans le binaire généré.
Dernier mais non des moindres, il faut encore les sources de nginx. à prendre ici : http://nginx.org/en/download.html
Compilation de nginx 1.2.3 sur nslu2
Et bien, la machine est préparée, on a tout sous la main pour y aller. Il faut juste choisir avant de se lancer le répertoire d'installation et les modules qui seront activés.
J'installe tout ça dans /opt/schplurtz/nginx-1.2.3
au lieu de /opt/schplurtz/nginx
. Puis je ferai un lien symbolique de nginx
vers nginx-1.2.3
. À la prochaine version, je changerai le lien symbolique.
ce que j'enlève et ce que j'ajoute
En fait, la compilation n'est pas très longue, ni très difficile. On peut donc enlever autant de modules qui paraissent inutiles, et si besoin, recompiler pour rajouter les modules qu'on a un peu trop vite écartés.
Les retraits d'abord :
ssi_module :
Je ne fais pas de Serveur Side Include
proxy_module :
Bien que ce soit l'une des fonctionnalités principales de nginx. Je n'utilise pas mon slug comme proxy, mais comme serveur web. Donc : «pas de ça, Ginette !»
uwsgi_module :
Protocole de Gateway Interface vers un produit que je n'utiliserai jamais sur le slug.
scgi_module :
Protocole de Gateway Interface vers des produits que je n'utiliserai jamais sur le slug. Dans les feeds, il n'y a que du PHP fcgi, pas scgi
limit_conn_module :
Un slug derrière une BOX ADSL me semble déjà bien assez limité, pas la peine de rajouter un module de ralentissement (Sauf pour limiter les attaques,…. mouaip. Le jour où un pirate s'en prendra à cette pauvre chose qu'est le slug… et ben, je le mettrai hors ligne et j'aviserai. Pas près de m'arriver cette chose là)
limit_req_module :
Un slug derrière une BOX ADSL me semble déjà bien assez limité, pas la peine de rajouter un module de ralentissement.
Et les ajouts maintenants
file-aio : Entrées/Sorties asynchrones.
Du pour et du contre. Le contre, je ne sers pas beaucoup de données qui ne soient générées par PHP. Le pour : quand on a peu de mémoire, comme c'est le cas du slug, le cache disque sert pas à grand chose et les entrées sorties asynchrones peuvent améliorer la situation.
ssl_module :
De temps en temps un peu de HTTPS quand il y a des mots de passe ou des données, ça ne fait pas de mal…
dav_module :
DAV permet de voir l'arborescence de fichiers vue par le serveur web à travers le protocole WEB. En gros : un protocole de disque distant sur HTTP/HTTPS. Je suis gros fan de cette chose car elle passe en général les routeurs et autres pare-feu.
nslu2 09:11 ~/SOFT/NGINX$ time ./configure \
--prefix=/opt/schplurtz/nginx-1.2.3 \
--user=www-data \
--group=www-data \
--with-cc-opt='-I/opt/schplurtz/include -I/opt/include' \
--with-ld-opt='-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib' \
--with-file-aio \
--with-http_ssl_module \
--with-http_dav_module \
--without-http_ssi_module \
--without-http_proxy_module \
--without-http_uwsgi_module \
--without-http_scgi_module \
--without-http_limit_conn_module \
--without-http_limit_req_module
En substance, voilà le reste des commandes pour installer nginx :
nslu2 $ make
nslu2 $ su
nslu2 # make install
nslu2 # strip /opt/schplurtz/nginx-1.2.3/sbin/nginx
nslu2 # mkdir -p /opt/schplurtz/nginx-1.2.3/man/man8
nslu2 # cp objs/nginx.8 /opt/schplurtz/nginx-1.2.3/man/man8
Journal complet de l'installation
pour ceux que ça intéresse…
Journal complet de l'installation
nslu2 09:11 ~/SOFT/NGINX$ pwd
~schplurtz/SOFT/NGINX
nslu2 09:11 ~/SOFT/NGINX$ env
PS1=\h `date +%H:%M` \w\$
PATH=/opt/schplurtz/bin:/usr/bin:/bin:/opt/bin
SHELL=/bin/sh
WINDOW=0
nslu2 09:11 ~/SOFT/NGINX$ wget http://nginx.org/download/nginx-1.2.3.tar.gz
nslu2 09:11 ~/SOFT/NGINX$ ll
-rw-r--r-- 1 schplurtz users 1688 Aug 4 09:11 compil-nginx-1.2.3
-rw-r--r-- 1 schplurtz users 722069 Aug 2 23:03 nginx-1.2.3.tar.gz
nslu2 09:11 ~/SOFT/NGINX$ tar xf nginx-1.2.3.tar.gz
nslu2 09:11 ~/SOFT/NGINX$ ll
-rw-r--r-- 1 schplurtz users 1931 Aug 4 09:11 compil-nginx-1.2.3
drwxr-xr-x 8 schplurtz users 4096 Aug 4 09:11 nginx-1.2.3
-rw-r--r-- 1 schplurtz users 722069 Aug 2 23:03 nginx-1.2.3.tar.gz
nslu2 09:11 ~/SOFT/NGINX$ cd nginx-1.2.3
nslu2 09:11 ~/SOFT/NGINX/nginx-1.2.3$ ls
CHANGES LICENSE auto configure html src
CHANGES.ru README conf contrib man
nslu2 09:11 ~/SOFT/NGINX/nginx-1.2.3$ ./configure --help
--help print this message
--prefix=PATH set installation prefix
--sbin-path=PATH set nginx binary pathname
--conf-path=PATH set nginx.conf pathname
--error-log-path=PATH set error log pathname
--pid-path=PATH set nginx.pid pathname
--lock-path=PATH set nginx.lock pathname
--user=USER set non-privileged user for
worker processes
--group=GROUP set non-privileged group for
worker processes
--builddir=DIR set build directory
--with-rtsig_module enable rtsig module
--with-select_module enable select module
--without-select_module disable select module
--with-poll_module enable poll module
--without-poll_module disable poll module
--with-file-aio enable file AIO support
--with-ipv6 enable IPv6 support
--with-http_ssl_module enable ngx_http_ssl_module
--with-http_realip_module enable ngx_http_realip_module
--with-http_addition_module enable ngx_http_addition_module
--with-http_xslt_module enable ngx_http_xslt_module
--with-http_image_filter_module enable ngx_http_image_filter_module
--with-http_geoip_module enable ngx_http_geoip_module
--with-http_sub_module enable ngx_http_sub_module
--with-http_dav_module enable ngx_http_dav_module
--with-http_flv_module enable ngx_http_flv_module
--with-http_mp4_module enable ngx_http_mp4_module
--with-http_gzip_static_module enable ngx_http_gzip_static_module
--with-http_random_index_module enable ngx_http_random_index_module
--with-http_secure_link_module enable ngx_http_secure_link_module
--with-http_degradation_module enable ngx_http_degradation_module
--with-http_stub_status_module enable ngx_http_stub_status_module
--without-http_charset_module disable ngx_http_charset_module
--without-http_gzip_module disable ngx_http_gzip_module
--without-http_ssi_module disable ngx_http_ssi_module
--without-http_userid_module disable ngx_http_userid_module
--without-http_access_module disable ngx_http_access_module
--without-http_auth_basic_module disable ngx_http_auth_basic_module
--without-http_autoindex_module disable ngx_http_autoindex_module
--without-http_geo_module disable ngx_http_geo_module
--without-http_map_module disable ngx_http_map_module
--without-http_split_clients_module disable ngx_http_split_clients_module
--without-http_referer_module disable ngx_http_referer_module
--without-http_rewrite_module disable ngx_http_rewrite_module
--without-http_proxy_module disable ngx_http_proxy_module
--without-http_fastcgi_module disable ngx_http_fastcgi_module
--without-http_uwsgi_module disable ngx_http_uwsgi_module
--without-http_scgi_module disable ngx_http_scgi_module
--without-http_memcached_module disable ngx_http_memcached_module
--without-http_limit_conn_module disable ngx_http_limit_conn_module
--without-http_limit_req_module disable ngx_http_limit_req_module
--without-http_empty_gif_module disable ngx_http_empty_gif_module
--without-http_browser_module disable ngx_http_browser_module
--without-http_upstream_ip_hash_module
disable ngx_http_upstream_ip_hash_module
--with-http_perl_module enable ngx_http_perl_module
--with-perl_modules_path=PATH set Perl modules path
--with-perl=PATH set perl binary pathname
--http-log-path=PATH set http access log pathname
--http-client-body-temp-path=PATH set path to store
http client request body temporary files
--http-proxy-temp-path=PATH set path to store
http proxy temporary files
--http-fastcgi-temp-path=PATH set path to store
http fastcgi temporary files
--http-uwsgi-temp-path=PATH set path to store
http uwsgi temporary files
--http-scgi-temp-path=PATH set path to store
http scgi temporary files
--without-http disable HTTP server
--without-http-cache disable HTTP cache
--with-mail enable POP3/IMAP4/SMTP proxy module
--with-mail_ssl_module enable ngx_mail_ssl_module
--without-mail_pop3_module disable ngx_mail_pop3_module
--without-mail_imap_module disable ngx_mail_imap_module
--without-mail_smtp_module disable ngx_mail_smtp_module
--with-google_perftools_module enable ngx_google_perftools_module
--with-cpp_test_module enable ngx_cpp_test_module
--add-module=PATH enable an external module
--with-cc=PATH set C compiler pathname
--with-cpp=PATH set C preprocessor pathname
--with-cc-opt=OPTIONS set additional C compiler options
--with-ld-opt=OPTIONS set additional linker options
--with-cpu-opt=CPU build for the specified CPU, valid values:
pentium, pentiumpro, pentium3, pentium4,
athlon, opteron, sparc32, sparc64, ppc64
--without-pcre disable PCRE library usage
--with-pcre force PCRE library usage
--with-pcre=DIR set path to PCRE library sources
--with-pcre-opt=OPTIONS set additional build options for PCRE
--with-pcre-jit build PCRE with JIT compilation support
--with-md5=DIR set path to md5 library sources
--with-md5-opt=OPTIONS set additional build options for md5
--with-md5-asm use md5 assembler sources
--with-sha1=DIR set path to sha1 library sources
--with-sha1-opt=OPTIONS set additional build options for sha1
--with-sha1-asm use sha1 assembler sources
--with-zlib=DIR set path to zlib library sources
--with-zlib-opt=OPTIONS set additional build options for zlib
--with-zlib-asm=CPU use zlib assembler sources optimized
for the specified CPU, valid values:
pentium, pentiumpro
--with-libatomic force libatomic_ops library usage
--with-libatomic=DIR set path to libatomic_ops library sources
--with-openssl=DIR set path to OpenSSL library sources
--with-openssl-opt=OPTIONS set additional build options for OpenSSL
--with-debug enable debug logging
nslu2 09:11 ~/SOFT/NGINX/nginx-1.2.3$ prefix=/opt/schplurtz/nginx-1.2.3
nslu2 09:11 ~/SOFT/NGINX/nginx-1.2.3$ time ./configure \
--prefix="$prefix" \
--user=www-data \
--group=www-data \
--with-cc-opt="-I/opt/schplurtz/include -I/opt/include" \
--with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" \
--with-file-aio \
--with-http_ssl_module \
--with-http_dav_module \
--without-http_ssi_module \
--without-http_proxy_module \
--without-http_uwsgi_module \
--without-http_scgi_module \
--without-http_limit_conn_module \
--without-http_limit_req_module
Checking for OS
+ Linux 2.6.27.8 armv5teb
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.2.4
checking for gcc -pipe switch ... found
checking for --with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" ... found
checking for gcc builtin atomic operations ... not found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT ... found
checking for TCP_INFO ... not found
checking for accept4() ... not found
checking for kqueue AIO support ... not found
checking for Linux AIO support ... found
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... big endian
checking for size_t size ... 4 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 4 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ using system OpenSSL library
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using system zlib library
nginx path prefix: "/opt/schplurtz/nginx-1.2.3"
nginx binary file: "/opt/schplurtz/nginx-1.2.3/sbin/nginx"
nginx configuration prefix: "/opt/schplurtz/nginx-1.2.3/conf"
nginx configuration file: "/opt/schplurtz/nginx-1.2.3/conf/nginx.conf"
nginx pid file: "/opt/schplurtz/nginx-1.2.3/logs/nginx.pid"
nginx error log file: "/opt/schplurtz/nginx-1.2.3/logs/error.log"
nginx http access log file: "/opt/schplurtz/nginx-1.2.3/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
real 2m 3.86s
user 1m 23.95s
sys 0m 35.56s
nslu2 09:14 ~/SOFT/NGINX/nginx-1.2.3$ time make
make -f objs/Makefile
make[1]: Entering directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/nginx.o \
src/core/nginx.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_log.o \
src/core/ngx_log.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_palloc.o \
src/core/ngx_palloc.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_array.o \
src/core/ngx_array.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_list.o \
src/core/ngx_list.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_hash.o \
src/core/ngx_hash.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_buf.o \
src/core/ngx_buf.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_queue.o \
src/core/ngx_queue.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_output_chain.o \
src/core/ngx_output_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_string.o \
src/core/ngx_string.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_parse.o \
src/core/ngx_parse.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_inet.o \
src/core/ngx_inet.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_file.o \
src/core/ngx_file.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_crc32.o \
src/core/ngx_crc32.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_murmurhash.o \
src/core/ngx_murmurhash.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_md5.o \
src/core/ngx_md5.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_rbtree.o \
src/core/ngx_rbtree.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_radix_tree.o \
src/core/ngx_radix_tree.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_slab.o \
src/core/ngx_slab.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_times.o \
src/core/ngx_times.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_shmtx.o \
src/core/ngx_shmtx.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_connection.o \
src/core/ngx_connection.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_cycle.o \
src/core/ngx_cycle.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_spinlock.o \
src/core/ngx_spinlock.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_cpuinfo.o \
src/core/ngx_cpuinfo.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_conf_file.o \
src/core/ngx_conf_file.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_resolver.o \
src/core/ngx_resolver.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_open_file_cache.o \
src/core/ngx_open_file_cache.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_crypt.o \
src/core/ngx_crypt.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event.o \
src/event/ngx_event.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_timer.o \
src/event/ngx_event_timer.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_posted.o \
src/event/ngx_event_posted.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_busy_lock.o \
src/event/ngx_event_busy_lock.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_accept.o \
src/event/ngx_event_accept.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_connect.o \
src/event/ngx_event_connect.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_pipe.o \
src/event/ngx_event_pipe.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_time.o \
src/os/unix/ngx_time.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_errno.o \
src/os/unix/ngx_errno.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_alloc.o \
src/os/unix/ngx_alloc.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_files.o \
src/os/unix/ngx_files.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_socket.o \
src/os/unix/ngx_socket.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_recv.o \
src/os/unix/ngx_recv.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_readv_chain.o \
src/os/unix/ngx_readv_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_udp_recv.o \
src/os/unix/ngx_udp_recv.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_send.o \
src/os/unix/ngx_send.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_writev_chain.o \
src/os/unix/ngx_writev_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_channel.o \
src/os/unix/ngx_channel.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_shmem.o \
src/os/unix/ngx_shmem.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_process.o \
src/os/unix/ngx_process.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_daemon.o \
src/os/unix/ngx_daemon.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_setaffinity.o \
src/os/unix/ngx_setaffinity.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_setproctitle.o \
src/os/unix/ngx_setproctitle.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_posix_init.o \
src/os/unix/ngx_posix_init.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_user.o \
src/os/unix/ngx_user.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_process_cycle.o \
src/os/unix/ngx_process_cycle.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_linux_init.o \
src/os/unix/ngx_linux_init.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/modules/ngx_epoll_module.o \
src/event/modules/ngx_epoll_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_linux_sendfile_chain.o \
src/os/unix/ngx_linux_sendfile_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_linux_aio_read.o \
src/os/unix/ngx_linux_aio_read.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_regex.o \
src/core/ngx_regex.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http.o \
src/http/ngx_http.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_core_module.o \
src/http/ngx_http_core_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_special_response.o \
src/http/ngx_http_special_response.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_request.o \
src/http/ngx_http_request.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_parse.o \
src/http/ngx_http_parse.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_header_filter_module.o \
src/http/ngx_http_header_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_write_filter_module.o \
src/http/ngx_http_write_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_copy_filter_module.o \
src/http/ngx_http_copy_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_log_module.o \
src/http/modules/ngx_http_log_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_request_body.o \
src/http/ngx_http_request_body.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_variables.o \
src/http/ngx_http_variables.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_script.o \
src/http/ngx_http_script.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_upstream.o \
src/http/ngx_http_upstream.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_upstream_round_robin.o \
src/http/ngx_http_upstream_round_robin.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_parse_time.o \
src/http/ngx_http_parse_time.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_static_module.o \
src/http/modules/ngx_http_static_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_index_module.o \
src/http/modules/ngx_http_index_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_chunked_filter_module.o \
src/http/modules/ngx_http_chunked_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_range_filter_module.o \
src/http/modules/ngx_http_range_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_headers_filter_module.o \
src/http/modules/ngx_http_headers_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_not_modified_filter_module.o \
src/http/modules/ngx_http_not_modified_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_busy_lock.o \
src/http/ngx_http_busy_lock.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_file_cache.o \
src/http/ngx_http_file_cache.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_gzip_filter_module.o \
src/http/modules/ngx_http_gzip_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_charset_filter_module.o \
src/http/modules/ngx_http_charset_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_userid_filter_module.o \
src/http/modules/ngx_http_userid_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_dav_module.o \
src/http/modules/ngx_http_dav_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_autoindex_module.o \
src/http/modules/ngx_http_autoindex_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_auth_basic_module.o \
src/http/modules/ngx_http_auth_basic_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_access_module.o \
src/http/modules/ngx_http_access_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_geo_module.o \
src/http/modules/ngx_http_geo_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_map_module.o \
src/http/modules/ngx_http_map_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_split_clients_module.o \
src/http/modules/ngx_http_split_clients_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_referer_module.o \
src/http/modules/ngx_http_referer_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_rewrite_module.o \
src/http/modules/ngx_http_rewrite_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_ssl_module.o \
src/http/modules/ngx_http_ssl_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_fastcgi_module.o \
src/http/modules/ngx_http_fastcgi_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_memcached_module.o \
src/http/modules/ngx_http_memcached_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_empty_gif_module.o \
src/http/modules/ngx_http_empty_gif_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_browser_module.o \
src/http/modules/ngx_http_browser_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
src/http/modules/ngx_http_upstream_ip_hash_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
src/http/modules/ngx_http_upstream_least_conn_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
src/http/modules/ngx_http_upstream_keepalive_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/ngx_modules.o \
objs/ngx_modules.c
gcc -o objs/nginx \
objs/src/core/nginx.o \
objs/src/core/ngx_log.o \
objs/src/core/ngx_palloc.o \
objs/src/core/ngx_array.o \
objs/src/core/ngx_list.o \
objs/src/core/ngx_hash.o \
objs/src/core/ngx_buf.o \
objs/src/core/ngx_queue.o \
objs/src/core/ngx_output_chain.o \
objs/src/core/ngx_string.o \
objs/src/core/ngx_parse.o \
objs/src/core/ngx_inet.o \
objs/src/core/ngx_file.o \
objs/src/core/ngx_crc32.o \
objs/src/core/ngx_murmurhash.o \
objs/src/core/ngx_md5.o \
objs/src/core/ngx_rbtree.o \
objs/src/core/ngx_radix_tree.o \
objs/src/core/ngx_slab.o \
objs/src/core/ngx_times.o \
objs/src/core/ngx_shmtx.o \
objs/src/core/ngx_connection.o \
objs/src/core/ngx_cycle.o \
objs/src/core/ngx_spinlock.o \
objs/src/core/ngx_cpuinfo.o \
objs/src/core/ngx_conf_file.o \
objs/src/core/ngx_resolver.o \
objs/src/core/ngx_open_file_cache.o \
objs/src/core/ngx_crypt.o \
objs/src/event/ngx_event.o \
objs/src/event/ngx_event_timer.o \
objs/src/event/ngx_event_posted.o \
objs/src/event/ngx_event_busy_lock.o \
objs/src/event/ngx_event_accept.o \
objs/src/event/ngx_event_connect.o \
objs/src/event/ngx_event_pipe.o \
objs/src/os/unix/ngx_time.o \
objs/src/os/unix/ngx_errno.o \
objs/src/os/unix/ngx_alloc.o \
objs/src/os/unix/ngx_files.o \
objs/src/os/unix/ngx_socket.o \
objs/src/os/unix/ngx_recv.o \
objs/src/os/unix/ngx_readv_chain.o \
objs/src/os/unix/ngx_udp_recv.o \
objs/src/os/unix/ngx_send.o \
objs/src/os/unix/ngx_writev_chain.o \
objs/src/os/unix/ngx_channel.o \
objs/src/os/unix/ngx_shmem.o \
objs/src/os/unix/ngx_process.o \
objs/src/os/unix/ngx_daemon.o \
objs/src/os/unix/ngx_setaffinity.o \
objs/src/os/unix/ngx_setproctitle.o \
objs/src/os/unix/ngx_posix_init.o \
objs/src/os/unix/ngx_user.o \
objs/src/os/unix/ngx_process_cycle.o \
objs/src/os/unix/ngx_linux_init.o \
objs/src/event/modules/ngx_epoll_module.o \
objs/src/os/unix/ngx_linux_sendfile_chain.o \
objs/src/os/unix/ngx_linux_aio_read.o \
objs/src/event/ngx_event_openssl.o \
objs/src/core/ngx_regex.o \
objs/src/http/ngx_http.o \
objs/src/http/ngx_http_core_module.o \
objs/src/http/ngx_http_special_response.o \
objs/src/http/ngx_http_request.o \
objs/src/http/ngx_http_parse.o \
objs/src/http/ngx_http_header_filter_module.o \
objs/src/http/ngx_http_write_filter_module.o \
objs/src/http/ngx_http_copy_filter_module.o \
objs/src/http/modules/ngx_http_log_module.o \
objs/src/http/ngx_http_request_body.o \
objs/src/http/ngx_http_variables.o \
objs/src/http/ngx_http_script.o \
objs/src/http/ngx_http_upstream.o \
objs/src/http/ngx_http_upstream_round_robin.o \
objs/src/http/ngx_http_parse_time.o \
objs/src/http/modules/ngx_http_static_module.o \
objs/src/http/modules/ngx_http_index_module.o \
objs/src/http/modules/ngx_http_chunked_filter_module.o \
objs/src/http/modules/ngx_http_range_filter_module.o \
objs/src/http/modules/ngx_http_headers_filter_module.o \
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
objs/src/http/ngx_http_busy_lock.o \
objs/src/http/ngx_http_file_cache.o \
objs/src/http/modules/ngx_http_gzip_filter_module.o \
objs/src/http/modules/ngx_http_charset_filter_module.o \
objs/src/http/modules/ngx_http_userid_filter_module.o \
objs/src/http/modules/ngx_http_dav_module.o \
objs/src/http/modules/ngx_http_autoindex_module.o \
objs/src/http/modules/ngx_http_auth_basic_module.o \
objs/src/http/modules/ngx_http_access_module.o \
objs/src/http/modules/ngx_http_geo_module.o \
objs/src/http/modules/ngx_http_map_module.o \
objs/src/http/modules/ngx_http_split_clients_module.o \
objs/src/http/modules/ngx_http_referer_module.o \
objs/src/http/modules/ngx_http_rewrite_module.o \
objs/src/http/modules/ngx_http_ssl_module.o \
objs/src/http/modules/ngx_http_fastcgi_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/ngx_modules.o \
-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib -lpthread -lcrypt -lpcre -lssl -lcrypto -ldl -lz
make[1]: Leaving directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
make -f objs/Makefile manpage
make[1]: Entering directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
sed -e "s|%%PREFIX%%|/opt/schplurtz/nginx-1.2.3|" \
-e "s|%%PID_PATH%%|/opt/schplurtz/nginx-1.2.3/logs/nginx.pid|" \
-e "s|%%CONF_PATH%%|/opt/schplurtz/nginx-1.2.3/conf/nginx.conf|" \
-e "s|%%ERROR_LOG_PATH%%|/opt/schplurtz/nginx-1.2.3/logs/error.log|" \
< man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
real 21m 48.69s
user 19m 12.54s
sys 1m 4.77s
nslu2 09:41 ~/SOFT/NGINX/nginx-1.2.3$ ll objs
-rw-r--r-- 1 schplurtz users 35458 Aug 4 09:14 Makefile
-rw-r--r-- 1 schplurtz users 15217 Aug 4 09:14 autoconf.err
-rwxr-xr-x 1 schplurtz users 3748676 Aug 4 09:41 nginx
-rw-r--r-- 1 schplurtz users 5287 Aug 4 09:41 nginx.8
-rw-r--r-- 1 schplurtz users 5889 Aug 4 09:14 ngx_auto_config.h
-rw-r--r-- 1 schplurtz users 657 Aug 4 09:12 ngx_auto_headers.h
-rw-r--r-- 1 schplurtz users 3376 Aug 4 09:13 ngx_modules.c
-rw-r--r-- 1 schplurtz users 50220 Aug 4 09:40 ngx_modules.o
drwxr-xr-x 8 schplurtz users 4096 Aug 4 09:14 src
nslu2 09:41 ~/SOFT/NGINX/nginx-1.2.3$ su
Password:
nslu2 09:41 ~schplurtz/SOFT/NGINX/nginx-1.2.3# make install
make -f objs/Makefile install
make[1]: Entering directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
test -d '/opt/schplurtz/nginx-1.2.3' || mkdir -p '/opt/schplurtz/nginx-1.2.3'
test -d '/opt/schplurtz/nginx-1.2.3/sbin' || mkdir -p '/opt/schplurtz/nginx-1.2.3/sbin'
test ! -f '/opt/schplurtz/nginx-1.2.3/sbin/nginx' || mv '/opt/schplurtz/nginx-1.2.3/sbin/nginx' '/opt/schplurtz/nginx-1.2.3/sbin/nginx.old'
cp objs/nginx '/opt/schplurtz/nginx-1.2.3/sbin/nginx'
test -d '/opt/schplurtz/nginx-1.2.3/conf' || mkdir -p '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/koi-win '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/koi-utf '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/win-utf '/opt/schplurtz/nginx-1.2.3/conf'
test -f '/opt/schplurtz/nginx-1.2.3/conf/mime.types' || cp conf/mime.types '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/mime.types '/opt/schplurtz/nginx-1.2.3/conf/mime.types.default'
test -f '/opt/schplurtz/nginx-1.2.3/conf/fastcgi_params' || cp conf/fastcgi_params '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/fastcgi_params '/opt/schplurtz/nginx-1.2.3/conf/fastcgi_params.default'
test -f '/opt/schplurtz/nginx-1.2.3/conf/fastcgi.conf' || cp conf/fastcgi.conf '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/fastcgi.conf '/opt/schplurtz/nginx-1.2.3/conf/fastcgi.conf.default'
test -f '/opt/schplurtz/nginx-1.2.3/conf/uwsgi_params' || cp conf/uwsgi_params '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/uwsgi_params '/opt/schplurtz/nginx-1.2.3/conf/uwsgi_params.default'
test -f '/opt/schplurtz/nginx-1.2.3/conf/scgi_params' || cp conf/scgi_params '/opt/schplurtz/nginx-1.2.3/conf'
cp conf/scgi_params '/opt/schplurtz/nginx-1.2.3/conf/scgi_params.default'
test -f '/opt/schplurtz/nginx-1.2.3/conf/nginx.conf' || cp conf/nginx.conf '/opt/schplurtz/nginx-1.2.3/conf/nginx.conf'
cp conf/nginx.conf '/opt/schplurtz/nginx-1.2.3/conf/nginx.conf.default'
test -d '/opt/schplurtz/nginx-1.2.3/logs' || mkdir -p '/opt/schplurtz/nginx-1.2.3/logs'
test -d '/opt/schplurtz/nginx-1.2.3/logs' || mkdir -p '/opt/schplurtz/nginx-1.2.3/logs'
test -d '/opt/schplurtz/nginx-1.2.3/html' || cp -R html '/opt/schplurtz/nginx-1.2.3'
test -d '/opt/schplurtz/nginx-1.2.3/logs' || mkdir -p '/opt/schplurtz/nginx-1.2.3/logs'
make[1]: Leaving directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
real 0m 2.00s
user 0m 0.69s
sys 0m 0.71s
nslu2 09:41 ~schplurtz/SOFT/NGINX/nginx-1.2.3# file /opt/schplurtz/nginx-1.2.3/sbin/nginx
/opt/schplurtz/nginx-1.2.3/sbin/nginx: ELF 32-bit MSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped
nslu2 09:42 ~schplurtz/SOFT/NGINX/nginx-1.2.3# ll /opt/schplurtz/nginx-1.2.3/sbin/nginx
-rwxr-xr-x 1 root root 3748676 Aug 4 09:41 /opt/schplurtz/nginx-1.2.3/sbin/nginx
nslu2 09:42 ~schplurtz/SOFT/NGINX/nginx-1.2.3# strip /opt/schplurtz/nginx-1.2.3/sbin/nginx
nslu2 09:42 ~schplurtz/SOFT/NGINX/nginx-1.2.3# ll /opt/schplurtz/nginx-1.2.3/sbin/nginx
-rwxr-xr-x 1 root root 452908 Aug 4 09:42 /opt/schplurtz/nginx-1.2.3/sbin/nginx
nslu2 09:42 ~schplurtz/SOFT/NGINX/nginx-1.2.3# tree -d /opt/schplurtz/nginx-1.2.3
/opt/schplurtz/nginx-1.2.3
|-- conf
|-- html
|-- logs
`-- sbin
4 directories
nslu2 09:42 ~schplurtz/SOFT/NGINX/nginx-1.2.3# find /opt/schplurtz/nginx-1.2.3
/opt/schplurtz/nginx-1.2.3
/opt/schplurtz/nginx-1.2.3/html
/opt/schplurtz/nginx-1.2.3/html/50x.html
/opt/schplurtz/nginx-1.2.3/html/index.html
/opt/schplurtz/nginx-1.2.3/logs
/opt/schplurtz/nginx-1.2.3/conf
/opt/schplurtz/nginx-1.2.3/conf/win-utf
/opt/schplurtz/nginx-1.2.3/conf/nginx.conf
/opt/schplurtz/nginx-1.2.3/conf/fastcgi_params
/opt/schplurtz/nginx-1.2.3/conf/koi-win
/opt/schplurtz/nginx-1.2.3/conf/scgi_params
/opt/schplurtz/nginx-1.2.3/conf/fastcgi.conf.default
/opt/schplurtz/nginx-1.2.3/conf/uwsgi_params
/opt/schplurtz/nginx-1.2.3/conf/scgi_params.default
/opt/schplurtz/nginx-1.2.3/conf/mime.types
/opt/schplurtz/nginx-1.2.3/conf/fastcgi.conf
/opt/schplurtz/nginx-1.2.3/conf/uwsgi_params.default
/opt/schplurtz/nginx-1.2.3/conf/nginx.conf.default
/opt/schplurtz/nginx-1.2.3/conf/koi-utf
/opt/schplurtz/nginx-1.2.3/conf/mime.types.default
/opt/schplurtz/nginx-1.2.3/conf/fastcgi_params.default
/opt/schplurtz/nginx-1.2.3/sbin
/opt/schplurtz/nginx-1.2.3/sbin/nginx
nslu2 09:43 ~schplurtz/SOFT/NGINX/nginx-1.2.3# make -n install-man
make: *** No rule to make target `install-man'. Stop.
nslu2 09:43 ~schplurtz/SOFT/NGINX/nginx-1.2.3# grep man Makefile
$(MAKE) -f objs/Makefile manpage
nslu2 09:43 ~schplurtz/SOFT/NGINX/nginx-1.2.3# mkdir /opt/schplurtz/nginx-1.2.3/man
nslu2 09:44 ~schplurtz/SOFT/NGINX/nginx-1.2.3# mkdir /opt/schplurtz/nginx-1.2.3/man/man8
nslu2 09:44 ~schplurtz/SOFT/NGINX/nginx-1.2.3# cp objs/nginx.8 /opt/schplurtz/nginx-1.2.3/man/man8
nslu2 09:44 ~schplurtz/SOFT/NGINX/nginx-1.2.3# exit
nslu2 09:44 ~/SOFT/NGINX/nginx-1.2.3$ exit
Re-compilation avec nginx-dav-ext-module
En fait, le module DAV de nginx est incomplet. Arutyunyan Roman a écrit un module complémentaire pour nginx qui implémente les méthodes PROPFIND et OPTIONS, qui manquent au module DAV de base. Il s'agit donc d'un module qui complète le module DAV existant. Au cas où ce soit nécessaire d'avoir toutes les méthodes, et tant qu'à être plongé dedans…
Pour ajouter ce module à nginx, il faut cloner le dépôt git quelque part, puis utiliser l'option –add-module=/chemin/du/dossier/du/module
.
J'en profite pour installer dans un autre répertoire.
nslu2 $ rm -rf nginx-1.2.3
nslu2 $ tar xf nginx-1.2.3.tar.gz
nslu2 $ cd nginx-1.2.3
nslu2 $ prefix=/opt/schplurtz/nginx-1.2.3-dav-ext
nslu2 $ time ./configure \
> --prefix=/opt/schplurtz/nginx-1.2.3-dav-ext \
> --user=www-data \
> --group=www-data \
> --with-cc-opt="-I/opt/schplurtz/include -I/opt/include" \
> --with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" \
> --with-file-aio \
> --with-http_ssl_module \
> --with-http_dav_module \
> --without-http_ssi_module \
> --without-http_proxy_module \
> --without-http_uwsgi_module \
> --without-http_scgi_module \
> --without-http_limit_conn_module \
> --without-http_limit_req_module \
> --add-module=/home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module
nslu2 $ time make
nslu2 $ time make install
nslu2 $ test -r objs/nginx.8 && {
mkdir -p "$prefix/man/man8"
cp objs/nginx.8 "$prefix/man/man8"
}
Le détail ici
nslu2 $ rm -rf nginx-1.2.3
nslu2 $ tar xf nginx-1.2.3.tar.gz
nslu2 $ cd nginx-1.2.3
nslu2 $ prefix=/opt/schplurtz/nginx-1.2.3-dav-ext
nslu2 $ time ./configure \
> --prefix=/opt/schplurtz/nginx-1.2.3-dav-ext \
> --user=www-data \
> --group=www-data \
> --with-cc-opt="-I/opt/schplurtz/include -I/opt/include" \
> --with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" \
> --with-file-aio \
> --with-http_ssl_module \
> --with-http_dav_module \
> --without-http_ssi_module \
> --without-http_proxy_module \
> --without-http_uwsgi_module \
> --without-http_scgi_module \
> --without-http_limit_conn_module \
> --without-http_limit_req_module \
> --add-module=/home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module
checking for OS
+ Linux 2.6.27.8 armv5teb
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 4.2.4
checking for gcc -pipe switch ... found
checking for --with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" ... found
checking for gcc builtin atomic operations ... not found
checking for C99 variadic macros ... found
checking for gcc variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for Linux specific features
checking for epoll ... found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for sched_setaffinity() ... found
checking for crypt_r() ... found
checking for sys/vfs.h ... found
checking for poll() ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for crypt() ... not found
checking for crypt() in libcrypt ... found
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... not found
checking for dlopen() in libdl ... found
checking for sched_yield() ... found
checking for SO_SETFIB ... not found
checking for SO_ACCEPTFILTER ... not found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT ... found
checking for TCP_INFO ... not found
checking for accept4() ... not found
checking for kqueue AIO support ... not found
checking for Linux AIO support ... found
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... big endian
checking for size_t size ... 4 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 4 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for sys_nerr ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... not found
checking for POSIX semaphores in libpthread ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for openat(), fstatat() ... found
configuring additional modules
adding module in /home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module
+ ngx_http_dav_ext_module was configured
checking for PCRE library ... found
checking for PCRE JIT support ... found
checking for OpenSSL library ... found
checking for zlib library ... found
creating objs/Makefile
Configuration summary
+ using system PCRE library
+ using system OpenSSL library
+ md5: using OpenSSL library
+ sha1: using OpenSSL library
+ using system zlib library
nginx path prefix: "/opt/schplurtz/nginx-1.2.3-dav-ext"
nginx binary file: "/opt/schplurtz/nginx-1.2.3-dav-ext/sbin/nginx"
nginx configuration prefix: "/opt/schplurtz/nginx-1.2.3-dav-ext/conf"
nginx configuration file: "/opt/schplurtz/nginx-1.2.3-dav-ext/conf/nginx.conf"
nginx pid file: "/opt/schplurtz/nginx-1.2.3-dav-ext/logs/nginx.pid"
nginx error log file: "/opt/schplurtz/nginx-1.2.3-dav-ext/logs/error.log"
nginx http access log file: "/opt/schplurtz/nginx-1.2.3-dav-ext/logs/access.log"
nginx http client request body temporary files: "client_body_temp"
nginx http fastcgi temporary files: "fastcgi_temp"
real 2m 4.99s
user 1m 24.87s
sys 0m 35.93s
nslu2 $ time make
make -f objs/Makefile
make[1]: Entering directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/nginx.o \
src/core/nginx.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_log.o \
src/core/ngx_log.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_palloc.o \
src/core/ngx_palloc.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_array.o \
src/core/ngx_array.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_list.o \
src/core/ngx_list.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_hash.o \
src/core/ngx_hash.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_buf.o \
src/core/ngx_buf.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_queue.o \
src/core/ngx_queue.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_output_chain.o \
src/core/ngx_output_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_string.o \
src/core/ngx_string.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_parse.o \
src/core/ngx_parse.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_inet.o \
src/core/ngx_inet.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_file.o \
src/core/ngx_file.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_crc32.o \
src/core/ngx_crc32.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_murmurhash.o \
src/core/ngx_murmurhash.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_md5.o \
src/core/ngx_md5.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_rbtree.o \
src/core/ngx_rbtree.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_radix_tree.o \
src/core/ngx_radix_tree.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_slab.o \
src/core/ngx_slab.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_times.o \
src/core/ngx_times.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_shmtx.o \
src/core/ngx_shmtx.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_connection.o \
src/core/ngx_connection.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_cycle.o \
src/core/ngx_cycle.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_spinlock.o \
src/core/ngx_spinlock.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_cpuinfo.o \
src/core/ngx_cpuinfo.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_conf_file.o \
src/core/ngx_conf_file.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_resolver.o \
src/core/ngx_resolver.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_open_file_cache.o \
src/core/ngx_open_file_cache.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_crypt.o \
src/core/ngx_crypt.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event.o \
src/event/ngx_event.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_timer.o \
src/event/ngx_event_timer.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_posted.o \
src/event/ngx_event_posted.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_busy_lock.o \
src/event/ngx_event_busy_lock.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_accept.o \
src/event/ngx_event_accept.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_connect.o \
src/event/ngx_event_connect.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_pipe.o \
src/event/ngx_event_pipe.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_time.o \
src/os/unix/ngx_time.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_errno.o \
src/os/unix/ngx_errno.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_alloc.o \
src/os/unix/ngx_alloc.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_files.o \
src/os/unix/ngx_files.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_socket.o \
src/os/unix/ngx_socket.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_recv.o \
src/os/unix/ngx_recv.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_readv_chain.o \
src/os/unix/ngx_readv_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_udp_recv.o \
src/os/unix/ngx_udp_recv.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_send.o \
src/os/unix/ngx_send.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_writev_chain.o \
src/os/unix/ngx_writev_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_channel.o \
src/os/unix/ngx_channel.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_shmem.o \
src/os/unix/ngx_shmem.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_process.o \
src/os/unix/ngx_process.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_daemon.o \
src/os/unix/ngx_daemon.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_setaffinity.o \
src/os/unix/ngx_setaffinity.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_setproctitle.o \
src/os/unix/ngx_setproctitle.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_posix_init.o \
src/os/unix/ngx_posix_init.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_user.o \
src/os/unix/ngx_user.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_process_cycle.o \
src/os/unix/ngx_process_cycle.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_linux_init.o \
src/os/unix/ngx_linux_init.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/modules/ngx_epoll_module.o \
src/event/modules/ngx_epoll_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_linux_sendfile_chain.o \
src/os/unix/ngx_linux_sendfile_chain.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/os/unix/ngx_linux_aio_read.o \
src/os/unix/ngx_linux_aio_read.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_regex.o \
src/core/ngx_regex.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http.o \
src/http/ngx_http.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_core_module.o \
src/http/ngx_http_core_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_special_response.o \
src/http/ngx_http_special_response.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_request.o \
src/http/ngx_http_request.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_parse.o \
src/http/ngx_http_parse.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_header_filter_module.o \
src/http/ngx_http_header_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_write_filter_module.o \
src/http/ngx_http_write_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_copy_filter_module.o \
src/http/ngx_http_copy_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_log_module.o \
src/http/modules/ngx_http_log_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_request_body.o \
src/http/ngx_http_request_body.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_variables.o \
src/http/ngx_http_variables.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_script.o \
src/http/ngx_http_script.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_upstream.o \
src/http/ngx_http_upstream.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_upstream_round_robin.o \
src/http/ngx_http_upstream_round_robin.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_parse_time.o \
src/http/ngx_http_parse_time.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_static_module.o \
src/http/modules/ngx_http_static_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_index_module.o \
src/http/modules/ngx_http_index_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_chunked_filter_module.o \
src/http/modules/ngx_http_chunked_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_range_filter_module.o \
src/http/modules/ngx_http_range_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_headers_filter_module.o \
src/http/modules/ngx_http_headers_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_not_modified_filter_module.o \
src/http/modules/ngx_http_not_modified_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_busy_lock.o \
src/http/ngx_http_busy_lock.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/ngx_http_file_cache.o \
src/http/ngx_http_file_cache.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_gzip_filter_module.o \
src/http/modules/ngx_http_gzip_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_charset_filter_module.o \
src/http/modules/ngx_http_charset_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_userid_filter_module.o \
src/http/modules/ngx_http_userid_filter_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_dav_module.o \
src/http/modules/ngx_http_dav_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_autoindex_module.o \
src/http/modules/ngx_http_autoindex_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_auth_basic_module.o \
src/http/modules/ngx_http_auth_basic_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_access_module.o \
src/http/modules/ngx_http_access_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_geo_module.o \
src/http/modules/ngx_http_geo_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_map_module.o \
src/http/modules/ngx_http_map_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_split_clients_module.o \
src/http/modules/ngx_http_split_clients_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_referer_module.o \
src/http/modules/ngx_http_referer_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_rewrite_module.o \
src/http/modules/ngx_http_rewrite_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_ssl_module.o \
src/http/modules/ngx_http_ssl_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_fastcgi_module.o \
src/http/modules/ngx_http_fastcgi_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_memcached_module.o \
src/http/modules/ngx_http_memcached_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_empty_gif_module.o \
src/http/modules/ngx_http_empty_gif_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_browser_module.o \
src/http/modules/ngx_http_browser_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
src/http/modules/ngx_http_upstream_ip_hash_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
src/http/modules/ngx_http_upstream_least_conn_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \
-o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
src/http/modules/ngx_http_upstream_keepalive_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail \
-o objs/addon/nginx-dav-ext-module/ngx_http_dav_ext_module.o \
/home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module/ngx_http_dav_ext_module.c
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I/opt/schplurtz/include -I/opt/include -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/ngx_modules.o \
objs/ngx_modules.c
gcc -o objs/nginx \
objs/src/core/nginx.o \
objs/src/core/ngx_log.o \
objs/src/core/ngx_palloc.o \
objs/src/core/ngx_array.o \
objs/src/core/ngx_list.o \
objs/src/core/ngx_hash.o \
objs/src/core/ngx_buf.o \
objs/src/core/ngx_queue.o \
objs/src/core/ngx_output_chain.o \
objs/src/core/ngx_string.o \
objs/src/core/ngx_parse.o \
objs/src/core/ngx_inet.o \
objs/src/core/ngx_file.o \
objs/src/core/ngx_crc32.o \
objs/src/core/ngx_murmurhash.o \
objs/src/core/ngx_md5.o \
objs/src/core/ngx_rbtree.o \
objs/src/core/ngx_radix_tree.o \
objs/src/core/ngx_slab.o \
objs/src/core/ngx_times.o \
objs/src/core/ngx_shmtx.o \
objs/src/core/ngx_connection.o \
objs/src/core/ngx_cycle.o \
objs/src/core/ngx_spinlock.o \
objs/src/core/ngx_cpuinfo.o \
objs/src/core/ngx_conf_file.o \
objs/src/core/ngx_resolver.o \
objs/src/core/ngx_open_file_cache.o \
objs/src/core/ngx_crypt.o \
objs/src/event/ngx_event.o \
objs/src/event/ngx_event_timer.o \
objs/src/event/ngx_event_posted.o \
objs/src/event/ngx_event_busy_lock.o \
objs/src/event/ngx_event_accept.o \
objs/src/event/ngx_event_connect.o \
objs/src/event/ngx_event_pipe.o \
objs/src/os/unix/ngx_time.o \
objs/src/os/unix/ngx_errno.o \
objs/src/os/unix/ngx_alloc.o \
objs/src/os/unix/ngx_files.o \
objs/src/os/unix/ngx_socket.o \
objs/src/os/unix/ngx_recv.o \
objs/src/os/unix/ngx_readv_chain.o \
objs/src/os/unix/ngx_udp_recv.o \
objs/src/os/unix/ngx_send.o \
objs/src/os/unix/ngx_writev_chain.o \
objs/src/os/unix/ngx_channel.o \
objs/src/os/unix/ngx_shmem.o \
objs/src/os/unix/ngx_process.o \
objs/src/os/unix/ngx_daemon.o \
objs/src/os/unix/ngx_setaffinity.o \
objs/src/os/unix/ngx_setproctitle.o \
objs/src/os/unix/ngx_posix_init.o \
objs/src/os/unix/ngx_user.o \
objs/src/os/unix/ngx_process_cycle.o \
objs/src/os/unix/ngx_linux_init.o \
objs/src/event/modules/ngx_epoll_module.o \
objs/src/os/unix/ngx_linux_sendfile_chain.o \
objs/src/os/unix/ngx_linux_aio_read.o \
objs/src/event/ngx_event_openssl.o \
objs/src/core/ngx_regex.o \
objs/src/http/ngx_http.o \
objs/src/http/ngx_http_core_module.o \
objs/src/http/ngx_http_special_response.o \
objs/src/http/ngx_http_request.o \
objs/src/http/ngx_http_parse.o \
objs/src/http/ngx_http_header_filter_module.o \
objs/src/http/ngx_http_write_filter_module.o \
objs/src/http/ngx_http_copy_filter_module.o \
objs/src/http/modules/ngx_http_log_module.o \
objs/src/http/ngx_http_request_body.o \
objs/src/http/ngx_http_variables.o \
objs/src/http/ngx_http_script.o \
objs/src/http/ngx_http_upstream.o \
objs/src/http/ngx_http_upstream_round_robin.o \
objs/src/http/ngx_http_parse_time.o \
objs/src/http/modules/ngx_http_static_module.o \
objs/src/http/modules/ngx_http_index_module.o \
objs/src/http/modules/ngx_http_chunked_filter_module.o \
objs/src/http/modules/ngx_http_range_filter_module.o \
objs/src/http/modules/ngx_http_headers_filter_module.o \
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
objs/src/http/ngx_http_busy_lock.o \
objs/src/http/ngx_http_file_cache.o \
objs/src/http/modules/ngx_http_gzip_filter_module.o \
objs/src/http/modules/ngx_http_charset_filter_module.o \
objs/src/http/modules/ngx_http_userid_filter_module.o \
objs/src/http/modules/ngx_http_dav_module.o \
objs/src/http/modules/ngx_http_autoindex_module.o \
objs/src/http/modules/ngx_http_auth_basic_module.o \
objs/src/http/modules/ngx_http_access_module.o \
objs/src/http/modules/ngx_http_geo_module.o \
objs/src/http/modules/ngx_http_map_module.o \
objs/src/http/modules/ngx_http_split_clients_module.o \
objs/src/http/modules/ngx_http_referer_module.o \
objs/src/http/modules/ngx_http_rewrite_module.o \
objs/src/http/modules/ngx_http_ssl_module.o \
objs/src/http/modules/ngx_http_fastcgi_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/addon/nginx-dav-ext-module/ngx_http_dav_ext_module.o \
objs/ngx_modules.o \
-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib -lpthread -lcrypt -lexpat -lpcre -lssl -lcrypto -ldl -lz
make[1]: Leaving directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
make -f objs/Makefile manpage
make[1]: Entering directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
sed -e "s|%%PREFIX%%|/opt/schplurtz/nginx-1.2.3-dav-ext|" \
-e "s|%%PID_PATH%%|/opt/schplurtz/nginx-1.2.3-dav-ext/logs/nginx.pid|" \
-e "s|%%CONF_PATH%%|/opt/schplurtz/nginx-1.2.3-dav-ext/conf/nginx.conf|" \
-e "s|%%ERROR_LOG_PATH%%|/opt/schplurtz/nginx-1.2.3-dav-ext/logs/error.log|" \
< man/nginx.8 > objs/nginx.8
make[1]: Leaving directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
real 21m 59.27s
user 19m 24.22s
sys 1m 4.48s
nslu2 $ su
password:
nslu2 # time make install
make -f objs/Makefile install
make[1]: Entering directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
test -d '/opt/schplurtz/nginx-1.2.3-dav-ext' || mkdir -p '/opt/schplurtz/nginx-1.2.3-dav-ext'
test -d '/opt/schplurtz/nginx-1.2.3-dav-ext/sbin' || mkdir -p '/opt/schplurtz/nginx-1.2.3-dav-ext/sbin'
test ! -f '/opt/schplurtz/nginx-1.2.3-dav-ext/sbin/nginx' || mv '/opt/schplurtz/nginx-1.2.3-dav-ext/sbin/nginx' '/opt/schplurtz/nginx-1.2.3-dav-ext/sbin/nginx.old'
cp objs/nginx '/opt/schplurtz/nginx-1.2.3-dav-ext/sbin/nginx'
test -d '/opt/schplurtz/nginx-1.2.3-dav-ext/conf' || mkdir -p '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/koi-win '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/koi-utf '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/win-utf '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
test -f '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/mime.types' || cp conf/mime.types '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/mime.types '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/mime.types.default'
test -f '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/fastcgi_params' || cp conf/fastcgi_params '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/fastcgi_params '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/fastcgi_params.default'
test -f '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/fastcgi.conf' || cp conf/fastcgi.conf '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/fastcgi.conf '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/fastcgi.conf.default'
test -f '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/uwsgi_params' || cp conf/uwsgi_params '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/uwsgi_params '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/uwsgi_params.default'
test -f '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/scgi_params' || cp conf/scgi_params '/opt/schplurtz/nginx-1.2.3-dav-ext/conf'
cp conf/scgi_params '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/scgi_params.default'
test -f '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/nginx.conf' || cp conf/nginx.conf '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/nginx.conf'
cp conf/nginx.conf '/opt/schplurtz/nginx-1.2.3-dav-ext/conf/nginx.conf.default'
test -d '/opt/schplurtz/nginx-1.2.3-dav-ext/logs' || mkdir -p '/opt/schplurtz/nginx-1.2.3-dav-ext/logs'
test -d '/opt/schplurtz/nginx-1.2.3-dav-ext/logs' || mkdir -p '/opt/schplurtz/nginx-1.2.3-dav-ext/logs'
test -d '/opt/schplurtz/nginx-1.2.3-dav-ext/html' || cp -R html '/opt/schplurtz/nginx-1.2.3-dav-ext'
test -d '/opt/schplurtz/nginx-1.2.3-dav-ext/logs' || mkdir -p '/opt/schplurtz/nginx-1.2.3-dav-ext/logs'
make[1]: Leaving directory `/home/schplurtz/SOFT/NGINX/nginx-1.2.3'
real 0m 1.89s
user 0m 0.70s
sys 0m 0.66s
test -r objs/nginx.8 && {
mkdir -p "$prefix/man/man8"
cp objs/nginx.8 "$prefix/man/man8"
}
configuration
Avoir un serveur web est cool, encore faut-il qu'il soit configuré. Voici la config initiale que j'ai faite. Elle comprend l'utilisation de php en mode fast-cgi, une section pour un dokuwiki installé dans /latestdw/
, une section pour un dokuwiki installé à la racine du site (J'ai deux versions, une stable et l'autre copie du doku de développement). Comme nginx doit discuter avec php-fastcgi, il faut aussi configurer php-fastcgi, au moins pour que les deux utilisent le même point de communication. On ne crée pas de fichier de configuration pour php-fastcgi, on passe plutôt les bonnes options au serveur php-fastcgi dans son script de démarrage.
points de configuration
le compte web est www-data
les journaux vont dans /var/log/
et pas dans /opt/schplurtz/nginx-…/logs. car /var/log
est en tmpfs.
php est activé en fastcgi sur socket unix
le document root est /www/mainsite
(lighttpd utilisait /www/pages
)
un seul process de travail sur cette petite machine
encodage par défaut est utf-8
un gros morceau de config pour dokuwiki.
- /opt/schplurtz/nginx-1.2.2/conf/nginx.conf
#
# any file or directory that is not absolute is relative to
# /opt/schplurtz/nginx-1.2.3
#
# Please refer to nginx.conf.default for more examples and possibilities
#
user www-data;
# This is a small machine, and the website will be **very** low traffic.
# One worker is enough
worker_processes 1;
# /var/log is on tmpfs. So log there instead in /opt/schplurtz/nginx-...
error_log /var/log/nginx-error.log;
# Use standard place for pid file
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
root /www/mainsite;
# no need to keep logs on such a small machine
access_log off;
include mime.types;
default_type application/octet-stream;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 80;
server_name bloink.homelinux.net;
#charset koi8-r;
charset utf-8;
# in case access_log is needed (debug ?), use this settings, because
# /var/log is on tmpfs. So log there instead in /opt/schplurtz/nginx-...
# access_log /var/log/nginx-http__access.log;
# Block access to .htaccess files
location ~ /\.ht {
deny all;
}
#OFF cos in doku config#location / {
#OFF cos in doku config# index index.html;
#OFF cos in doku config#}
#
# INCLUDE THE VARIOUS DOKUS
#
include doku/stabledoku.conf;
include doku/latestdw.conf;
#
# PHP CONFIG START
#
location ~ \.php$ {
# Workaround PHP vulnerability:
# http://forum.nginx.org/read.php?2,88845,page=3
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
keepalive_timeout 0;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# Ceci doit être en accord avec les options de démarrage de php-fastcgi
fastcgi_pass unix:/opt/schplurtz/nginx/fastcgi_temp/php-fcgi.sock;
}
#
# PHP CONFIG END
#
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
}
- /opt/schplurtz/nginx-1.2.2/conf/doku/stabledoku.conf
#
# DOKUWIKI CONFIG START
#
#
# This stable dokuwiki is in /
#
# Block access to data, conf etc... folders
location ~ /(data|conf|bin|inc)/ {
deny all;
}
location / {
index index.php;
try_files $uri $uri/ @stabledoku;
}
location @stabledoku {
rewrite ^/_media/(.*) /lib/exe/fetch.php?media=$1 last;
rewrite ^/_detail/(.*) /lib/exe/detail.php?media=$1 last;
rewrite ^/_export/([^/]+)/(.*) /doku.php?do=export_$1&id=$2 last;
rewrite ^/(.*) /doku.php?id=$1 last;
}
#
# DOKUWIKI CONFIG END
#
- /opt/schplurtz/nginx-1.2.2/conf/doku/latestdw.conf
#
# DOKUWIKI CONFIG START
#
#
# this test dokuwiki is in /latestdw/
#
# Block access to data, conf etc... folders
location ~ /latestdw/(data|conf|bin|inc)/ {
deny all;
}
location /latestdw/ {
index index.php;
try_files $uri $uri/ @latestdw;
}
location @latestdw {
rewrite ^/latestdw/_media/(.*) /latestdw/lib/exe/fetch.php?media=$1 last;
rewrite ^/latestdw/_detail/(.*) /latestdw/lib/exe/detail.php?media=$1 last;
rewrite ^/latestdw/_export/([^/]+)/(.*) /latestdw/doku.php?do=export_$1&id=$2 last;
rewrite ^/latestdw/(.*) /latestdw/doku.php?id=$1 last;
}
#
# DOKUWIKI CONFIG END
#
démarrage et arrêt
Maintenant que tout est configuré, encore faut-il s'assurer que tout va démarrer comme il faut, lors du boot de la machine. Il faut écrire deux script de démarrage un pour nginx, un pour php-fastcgi. En effet, contrairement à lighttpd, nginx ne lance pas le serveur php-fastcgi, c'est à nous de le faire.
start/stop php-fastcgi
Placer le fichier php-fcgi
ci dessous dans /etc/init.d
et passer ces commandes :
chmod 755 /etc/init.d/php-fcgi
/usr/sbin/update-rc.d php-fcgi defaults
Le script est inspiré du script de cette page du wiki de nginx.org.
- /etc/init.d/php-fcgi
#!/bin/sh
### BEGIN INIT INFO
# Provides: php-fcgi
# Required-Start: $local_fs $remote_fs $network $syslog $named
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: starts/stops php over fcgi
# Description: starts/stops php over fcgi
### END INIT INFO
# Required-Start: $nginx
# Required-Stop: $nginx
PATH=/bin:/usr/bin:/usr/sbin:/sbin
test 0 = $( id -u ) || { echo "You need to have root priviliges." ; exit 1 ; }
# This parameter **MUST** be consistent with that defined in nginx.conf
SOCKET_DIR=/opt/schplurtz/nginx/fastcgi_temp # This directory must exists and be properly protected
BIND=$SOCKET_DIR/php-fcgi.sock
USER=www-data
PHP_FCGI_CHILDREN=2
PHP_FCGI_MAX_REQUESTS=1000
PHP_CGI=/opt/bin/php-fcgi
PHP_CGI_NAME=${PHP_CGI##*/}
PHP_CGI_ARGS="- USER=$USER PATH=/usr/bin PHP_FCGI_CHILDREN=$PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=$PHP_FCGI_MAX_REQUESTS $PHP_CGI -b $BIND"
RETVAL=0
fatal() {
warn "$@"
exit 1
}
warn() {
printf %s\\n "$@" >&2
}
start() {
echo -n "Starting PHP FastCGI: "
su -c "test -O '$SOCKET_DIR'" $USER || fatal \
"socket dir >>$SOCKET_DIR<< does not exists" \
"or it does not belong to $USER"
start-stop-daemon --quiet --start --background --chuid "$USER" --exec /usr/bin/env -- $PHP_CGI_ARGS
RETVAL=$?
echo "$PHP_CGI_NAME."
}
stop() {
echo -n "Stopping PHP FastCGI: "
#busybox can t handle these options : # killall -q -w -u $USER $PHP_CGI
pkill -f $PHP_CGI
RETVAL=$?
echo "$PHP_CGI_NAME."
}
case "$1" in
(start)
start
;;
(stop)
stop
;;
(restart)
stop
start
;;
(*)
echo "Usage: php-fastcgi {start|stop|restart}"
exit 1
;;
esac
exit $RETVAL
start/stop nginx
Placer le fichier nginx
ci dessous dans /etc/init.d
et passer ces commandes :
chmod 755 /etc/init.d/nginx
/usr/sbin/update-rc.d nginx defaults
- /etc/init.d/nginx
#!/bin/sh
### BEGIN INIT INFO
# Provides: web-server
# Required-Start: php-fcgi
# Required-Stop: php-fcgi
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# X-Interactive: false
# Short-Description: Start/stop nginx web server
### END INIT INFO
PATH=/bin:/usr/bin:/usr/sbin:/sbin
DAEMON=/opt/schplurtz/nginx/sbin/nginx
NAME=nginx
DESC="Nginx Web Server"
OPTS=
start() {
echo -n "Starting $DESC: "
start-stop-daemon --start -x "$DAEMON" -- $OPTS
echo "$NAME."
}
stop() {
echo -n "Stopping $DESC: "
"$DAEMON" -s quit
echo "$NAME."
}
reload() {
echo -n "Reloading $DESC: "
"$DAEMON" -s reload
echo "$NAME."
}
test -x "$DAEMON" || { echo "$DAEMON" not present. exiting ; exit 0 ; }
case "$1" in
(start)
start
;;
(stop)
stop
;;
(reload)
reload
;;
(restart|force-reload)
stop
sleep 1
start
;;
(*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|reload|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
Lancement et vérifications
Maintenant, tout est prèt, le démarrage du bazar ne doit pas être plus compliqué que ça :
/etc/init.d/php-fcgi start
/etc/init.d/nginx start
En pointant mon navigateur sur la page du slug, je vois apparaître les mots
It works
Parfait.
retrait de lighttpd
Il est temps de se séparer de lighttpd qui fait double emplois.
En premier lieu, le listing de ce qui est installé :
nslu2 09:59 # opkg list_installed '*ligh*'
lighttpd - 1.4.18-r3 -
lighttpd-module-access - 1.4.18-r3 -
lighttpd-module-accesslog - 1.4.18-r3 -
lighttpd-module-dirlisting - 1.4.18-r3 -
lighttpd-module-fastcgi - 1.4.18-r3 -
lighttpd-module-indexfile - 1.4.18-r3 -
lighttpd-module-rewrite - 1.4.18-r3 -
lighttpd-module-staticfile - 1.4.18-r3 -
Ensuite la purge des paquets inutiles :
nslu2 09:59 # opkg purge $( opkg list_installed 'lighttpd*' | awk '{ print $1 }' )
Removing package lighttpd from root...
Stopping Lighttpd Web Server: stopped /usr/sbin/lighttpd (pid 1213)
lighttpd.
Removing any system startup links for lighttpd ...
/etc/rc0.d/K70lighttpd
/etc/rc1.d/K70lighttpd
/etc/rc2.d/S70lighttpd
/etc/rc3.d/S70lighttpd
/etc/rc4.d/S70lighttpd
/etc/rc5.d/S70lighttpd
/etc/rc6.d/K70lighttpd
Removing package lighttpd-module-access from root...
Removing package lighttpd-module-accesslog from root...
Removing package lighttpd-module-dirlisting from root...
Removing package lighttpd-module-fastcgi from root...
Removing package lighttpd-module-indexfile from root...
Removing package lighttpd-module-rewrite from root...
Removing package lighttpd-module-staticfile from root...