upcoming 0.7.53 large patch
Igor Sysoev
is at rambler-co.ru
Fri Apr 24 21:07:01 MSD 2009
On Fri, Apr 24, 2009 at 06:43:25PM +0200, J?r?me Loyet wrote:
> no options:
>
> ./configure
> make
> make install
>
> 2009/4/24 Igor Sysoev <is at rambler-co.ru>:
> > On Fri, Apr 24, 2009 at 05:58:43PM +0200, J?r?me Loyet wrote:
> >
> >> > http://sysoev.ru/tmp/patch.0.7.52.2.prefix
> >>
> >> Still the same problem:
> >>
> >> root at wild:~/nginx-0.7.52# (cd /tmp && /usr/local/nginx/sbin/nginx)
> >> [emerg]: could not open error log file: open() "/logs/error.log"
> >> failed (2: No such file or directory)
> >>
> >> Why does NGX_PREFIX is set to / ?
> >> #ifndef NGX_PREFIX
> >> #define NGX_PREFIX "/"
> >> #endif
> >
> > Could you show ./configure options ?
This patch fixes the bug:
http://sysoev.ru/tmp/patch.0.7.52.3.prefix
Now
./configure # prefix is /usr/local/nginx
./configure --prefix= # no prefix at all, "make install" has no sense
# nginx will use directory where it was run as prefix
./configure --prefix=XXXX # prefix is XXXX
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list