Welcome! Log In Create A New Profile

Advanced

SPDY compilation fail - Warnings

July 25, 2012 11:52PM
Hi,

SPDY compilation fails for me, due to some warnings.

The compilation script which fails could be seen here, syntaxically colored :
http://pastebin.com/wkqA4d8g

Or here, in a raw version :



# Nginx SPDY Compilation Fail
# -------------------------------

NGINX_VERSION='1.3.2'
NGINX_ECHO_MODULE_VERSION='0.39'
sudo mkdir -p /var/log/nginx
sudo mkdir -p /tmp/nginx/{client,proxy,fastcgi,cache}
sudo chown www-data:www-data /tmp/nginx/{client,proxy,fastcgi,cache}
sudo ps -C nginx -o pid='' | xargs sudo kill -9
cd /usr/local/src
sudo wget -O nginx-$NGINX_ECHO_MODULE_VERSION.tar.gz "https://github.com/agentzh/echo-nginx-module/tarball/v$NGINX_ECHO_MODULE_VERSION"
sudo tar -zxvf nginx-$NGINX_ECHO_MODULE_VERSION.tar.gz
sudo rm -fr nginx-$NGINX_ECHO_MODULE_VERSION.tar.gz
sudo mv agentzh-echo* nginx_echo_module
cd /usr/local/src
sudo wget -O nginx-$NGINX_VERSION.tar.gz "http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz"
sudo tar -zxvf nginx-$NGINX_VERSION.tar.gz
sudo rm -fr nginx-$NGINX_VERSION.tar.gz
cd nginx-$NGINX_VERSION
# Apply SPDY
sudo wget -O patch.spdy.txt "http://nginx.org/patches/spdy/patch.spdy.txt"
sudo patch -p0 < patch.spdy.txt
# Remove NginX Version in headers
grep -risl 'Server: nginx' * | xargs sudo sed -i -e 's/Server: nginx/Server: /g'
grep -risl 'server: %V' * | xargs sudo sed -i -e 's/server: %V/server: /g'
sudo make clean
# --with-ld-opt='-ltcmalloc_minimal' is optional, but recommended
sudo ./configure --with-cc-opt='-O3 -unroll2 -march=native' \
--with-ld-opt='-ltcmalloc_minimal' \
--error-log-path=/var/log/nginx/error.log \
--add-module=/usr/local/src/nginx_echo_module \
--conf-path=/usr/local/nginx/nginx.conf \
--group=www-data \
--http-client-body-temp-path=/tmp/nginx/client \
--http-fastcgi-temp-path=/tmp/nginx/fastcgi \
--http-log-path=/var/log/nginx/access.log \
--http-proxy-temp-path=/tmp/nginx/proxy \
--lock-path=/var/lock/nginx.lock--prefix=/usr/local/nginx \
--pid-path=/var/run/nginx.pid \
--user=www-data \
--with-http_geoip_module \
--with-http_gzip_static_module \
--with-http_realip_module \
--with-http_ssl_module \
--with-http_stub_status_module \
--with-ipv6 \
--with-http_ssl_module \
--without-http_autoindex_module \
--without-http_auth_basic_module \
--without-http_browser_module \
--without-http_empty_gif_module \
--without-http_scgi_module \
--without-http_split_clients_module \
--without-http_ssi_module \
--without-http_uwsgi_module \
--without-mail_imap_module \
--without-mail_pop3_module \
--without-mail_smtp_module \
&& sudo make && sudo make install && cd /usr/local/src
sudo rm -fr nginx-$NGINX_VERSION
sudo rm -fr nginx_echo_module

# -------------------------------
# Compile without SPDY Patch : it works
# Compile with SPDY Patch : it fails
# ---------------------------------
Subject Author Posted

SPDY compilation fail - Warnings

DenisTRUFFAUT July 25, 2012 11:52PM

Re: SPDY compilation fail - Warnings

Valentin V. Bartenev July 26, 2012 05:26AM

Re: SPDY compilation fail - Warnings

DenisTRUFFAUT July 26, 2012 09:13AM

Re: SPDY compilation fail - Warnings

DenisTRUFFAUT July 26, 2012 09:21AM

Re: SPDY compilation fail - Warnings

DenisTRUFFAUT July 26, 2012 11:59AM

Re: SPDY compilation fail - Warnings

Valentin V. Bartenev July 26, 2012 09:58AM

Re: SPDY compilation fail - Warnings

DenisTRUFFAUT August 14, 2012 05:10PM

Re: SPDY compilation fail - Warnings

hexa August 14, 2012 05:16PM

Re: SPDY compilation fail - Warnings

DenisTRUFFAUT August 14, 2012 05:47PM

Re: SPDY compilation fail - Warnings

DenisTRUFFAUT August 14, 2012 06:08PM

Re: SPDY compilation fail - Warnings

VBart August 14, 2012 05:22PM

Re: SPDY compilation fail - Warnings

VBart August 14, 2012 05:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 348
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready