Welcome! Log In Create A New Profile

Advanced

Re: make fails on nginx-0.8.49

October 02, 2010 05:08PM
On Sat, 2010-10-02 at 16:49 -0400, bluethundr wrote:
> Greetings
>
>
> I am attempting to compile nginx-0.8.49 with the upstream fair module.
> The configure script seems to run ok with the following options:
>
> [code]
> #./configure --add-module=../upfair
> [/code]
>
>
> but when I run make it fails with this error:
>
> [code]
> objs/src/os/unix/ngx_process.o: In function `ngx_process_get_status':
> /mnt/store/src/nginx/SOURCES/nginx-0.8.49/src/os/unix/ngx_process.c:490:
> warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r'
> instead
> /mnt/store/src/nginx/SOURCES/nginx-0.8.49/src/os/unix/ngx_process.c:490:
> warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r'
> instead
> make[1]: Leaving directory `/mnt/store/src/nginx/SOURCES/nginx-0.8.49'
> [/code]

Those are just warnings, not errors. They can be safely ignored.


> And make install produces this:
>
> [code]
> root@LCENT01:/mnt/store/src/nginx/SOURCES/nginx-0.8.49]#make install
> make -f objs/Makefile install
> make[1]: Entering directory `/mnt/store/src/nginx/SOURCES/nginx-0.8.49'
> test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
> test -d '/usr/local/nginx/sbin' || mkdir -p '/usr/local/nginx/sbin'
> test ! -f '/usr/local/nginx/sbin/nginx' || mv
> '/usr/local/nginx/sbin/nginx' '/usr/local/nginx/sbin/nginx.old'
> cp objs/nginx '/usr/local/nginx/sbin/nginx'
> test -d '/usr/local/nginx/conf' || mkdir -p '/usr/local/nginx/conf'
> cp conf/koi-win '/usr/local/nginx/conf'
> cp conf/koi-utf '/usr/local/nginx/conf'
> cp conf/win-utf '/usr/local/nginx/conf'
> test -f '/usr/local/nginx/conf/mime.types' || cp conf/mime.types
> '/usr/local/nginx/conf'
> cp conf/mime.types '/usr/local/nginx/conf/mime.types.default'
> test -f '/usr/local/nginx/conf/fastcgi_params' || cp
> conf/fastcgi_params '/usr/local/nginx/conf'
> cp conf/fastcgi_params '/usr/local/nginx/conf/fastcgi_params.default'
> test -f '/usr/local/nginx/conf/fastcgi.conf' || cp conf/fastcgi.conf
> '/usr/local/nginx/conf'
> cp conf/fastcgi.conf '/usr/local/nginx/conf/fastcgi.conf.default'
> test -f '/usr/local/nginx/conf/uwsgi_params' || cp conf/uwsgi_params
> '/usr/local/nginx/conf'
> cp conf/uwsgi_params '/usr/local/nginx/conf/uwsgi_params.default'
> test -f '/usr/local/nginx/conf/scgi_params' || cp conf/scgi_params
> '/usr/local/nginx/conf'
> cp conf/scgi_params '/usr/local/nginx/conf/scgi_params.default'
> test -f '/usr/local/nginx/conf/nginx.conf' || cp conf/nginx.conf
> '/usr/local/nginx/conf/nginx.conf'
> cp conf/nginx.conf '/usr/local/nginx/conf/nginx.conf.default'
> test -d '/usr/local/nginx/logs' || mkdir -p '/usr/local/nginx/logs'
> test -d '/usr/local/nginx/logs' || mkdir -p '/usr/local/nginx/logs'
> test -d '/usr/local/nginx/html' || cp -r html '/usr/local/nginx'
> test -d '/usr/local/nginx/logs' || mkdir -p '/usr/local/nginx/logs'
> make[1]: Leaving directory `/mnt/store/src/nginx/SOURCES/nginx-0.8.49'
> [/code]

Looks like it worked. I don't see any errors.


> And if I try to start nginx this is what I get:
>
> [code]
> [root@LCENT01:/home/bluethundr]#service nginx start
> Starting nginx: [FAILED]
> [/code]

You need to look in nginx's error log (probably /var/log/nginx/error.log
assuming you copied /etc/init.d/nginx from the wiki). Most likely you
have an error in your nginx.conf file. If you can't figure out the
error from the error log, then post your nginx.conf here.

Regards,
Cliff

--


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

make fails on nginx-0.8.49

bluethundr October 02, 2010 04:46PM

Re: make fails on nginx-0.8.49

Cliff Wells October 02, 2010 05:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 167
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready