Welcome! Log In Create A New Profile

Advanced

Bug fixes for nginx-1.0.4

June 19, 2011 09:42AM
Hi:

I could not upload and put into development forum. So I place it here.

I ran configure with

#export SPATH=/home/s
# ./configure --prefix=${SPATH} \
--sbin-path=${SPATH}/bin/ngnix \
--conf-path=${SPATH}/src/param/ngnix/ngnix.conf \
--error-log-path=${SPATH}/logs/ngnix-error.conf \
--pid-path=${SPATH}/logs/nginx.pid \
--lock-path=${SPATH}/logs/nginx.lock \
--http-log-path=${SPATH}/logs/ngnix-access.log \
--http-client-body-temp-path=${SPATH}/html/temp/client_body \
--http-proxy-temp-path=${SPATH}/html/temp/proxy \
--http-fastcgi-temp-path=${SPATH}/html/temp/fastcgi \
--http-uwsgi-temp-path=${SPATH}/html/temp/uwsgi \
--http-scgi-temp-path=${SPATH}/html/temp/scgi \
--builddir=${SPATH}/src/build/xnpp/ngnix \
--with-http_ssl_module

Bug 1:
=====
The directories
a) NGX_HTTP_PROXY_TEMP_PATH
b) NGX_HTTP_FASTCGI_TEMP_PATH
c) NGX_HTTP_FASTCGI_TEMP_PATH
d) NGX_HTTP_UWSGI_TEMP_PATH

are not created by Makefile.

nginx-1.0.4/auto/install
74a75,113
> case ".$NGX_HTTP_PROXY_TEMP_PATH" in
> ./*)
> ;;
>
> *)
> NGX_HTTP_PROXY_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_PROXY_TEMP_PATH
> ;;
> esac
>
>
> case ".$NGX_HTTP_FASTCGI_TEMP_PATH" in
> ./*)
> ;;
>
> *)
> NGX_HTTP_FASTCGI_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_FASTCGI_TEMP_PATH
> ;;
> esac
>
>
> case ".$NGX_HTTP_UWSGI_TEMP_PATH" in
> ./*)
> ;;
>
> *)
> NGX_HTTP_UWSGI_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_UWSGI_TEMP_PATH
> ;;
> esac
>
>
> case ".$NGX_HTTP_SCGI_TEMP_PATH" in
> ./*)
> ;;

> *)
> NGX_HTTP_SCGI_TEMP_PATH=$NGX_PREFIX/$NGX_HTTP_SCGI_TEMP_PATH
> ;;
> esac
>
136a176,187
>
> test -d '\$(DESTDIR)$NGX_HTTP_PROXY_TEMP_PATH' || \
> mkdir -p '\$(DESTDIR)$NGX_HTTP_PROXY_TEMP_PATH'
>
> test -d '\$(DESTDIR)$NGX_HTTP_FASTCGI_TEMP_PATH' || \
> mkdir -p '\$(DESTDIR)$NGX_HTTP_FASTCGI_TEMP_PATH'
>
> test -d '\$(DESTDIR)$NGX_HTTP_UWSGI_TEMP_PATH' || \
> mkdir -p '\$(DESTDIR)$NGX_HTTP_UWSGI_TEMP_PATH'
>
> test -d '\$(DESTDIR)$NGX_HTTP_SCGI_TEMP_PATH' || \
> mkdir -p '\$(DESTDIR)$NGX_HTTP_SCGI_TEMP_PATH'


Bug 2:
=====
If --builddir is two level depth, it is not created by Makefile.

nginx-1.0.4/configure
10c10
< test -d $NGX_OBJS || mkdir $NGX_OBJS
---
> test -d $NGX_OBJS || mkdir -p $NGX_OBJS
Subject Author Posted

Bug fixes for nginx-1.0.4

yoonghm June 19, 2011 09:42AM

Re: Bug fixes for nginx-1.0.4

Maxim Dounin June 19, 2011 04:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
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