a new uWSGI PHP plugin is available

Roberto De Ioris roberto at unbit.it
Fri Feb 24 11:39:29 UTC 2012


> I tried building this on my Ubuntu 11.10 server with nginx-1.0.12
>
> ./configure \
> --prefix=/opt/nginx \
> --conf-path=/etc/nginx/nginx.conf \
> --pid-path=/var/run/nginx.pid \
> --lock-path=/var/lock/nginx.lock \
> --http-log-path=/var/log/nginx/access.log \
> --error-log-path=/var/log/nginx/error.log \
> --http-client-body-temp-path=/var/lib/nginx/body \
> --http-proxy-temp-path=/var/lib/nginx/proxy \
> --http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
> --http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
> --http-scgi-temp-path=/var/lib/nginx/scgi \
> --with-http_stub_status_module \
> --with-http_ssl_module \
> --with-http_gzip_static_module \
> --add-module=/root/sources/uwsgi-1.1-snapshot5/nginx/ \
> --user=www-data \
> --group=www-data \
> --without-mail_pop3_module \
> --without-mail_imap_module \
> --without-mail_smtp_module
>
> but I keep getting this error:
>
> objs/addon/nginx/ngx_http_uwsgi_module.o:(.data+0x0): multiple
> definition of `ngx_http_uwsgi_module'
> objs/src/http/modules/ngx_http_uwsgi_module.o:(.data+0x0): first defined
> here
> collect2: ld returned 1 exit status
> make[1]: *** [objs/nginx] Error 1
> make[1]: Leaving directory `/root/sources/nginx-1.0.12'
> make: *** [build] Error 2
>
>

It looks like you have added the uwsgi patch to nginx, while nginx does
not require it starting from 0.8.40 (it is included in the official
distribution)


-- 
Roberto De Ioris
http://unbit.it



More information about the nginx mailing list