Install q

Igor Sysoev is at rambler-co.ru
Wed May 2 00:20:53 MSD 2007


On Mon, Apr 30, 2007 at 09:33:37PM +0200, Martin Minka wrote:

> Actualy I was testing today something and have done:
> PATH_NGINX=/test/nginx
> ./configure \
> --prefix=$PATH_NGINX \
> --pid-path=$PATH_NGINX \
> --sbin-path=$PATH_NGINX \

  --sbin-path=PATH                   set path to the nginx binary file
  --conf-path=PATH                   set path to the nginx.conf file

> --with-http_stub_status_module \
> --with-http_ssl_module \
> --with-md5=/usr/lib

The --with-md5= should be used to built libmd5 from sources.
It's not path to an ready static/dynamic library.
nginx's configure will find this system library by itself.

> But I am getting error:
> # /test/nginx/nginx -t
> 2007/04/26 04:46:30 [info] 21030#0: the configuration file
> /test/nginx/conf/nginx.conf syntax is ok
> 2007/04/26 04:46:30 [emerg] 21030#0: open() "/test/nginx" failed (21: Is a
> directory)

nginx tries to create pid file.

> 2007/04/26 04:46:30 [emerg] 21030#0: the configuration file
> /test/nginx/conf/nginx.conf test failed
> 
> Everything works well if I compile with:
> ./configure \
> --with-http_stub_status_module \
> --with-http_ssl_module \
> --with-md5=/usr/lib
>  
> Maybe Igor needs to fix something in source code to get the alternative path
> working.
>  
> Sincerely,
> Martin Minka
> 
>   _____  
> 
> From: owner-nginx at mail.sysoev.ru [mailto:owner-nginx at mail.sysoev.ru] On
> Behalf Of Prabhakar Chaganti
> Sent: Monday, April 30, 2007 8:50 PM
> To: nginx at sysoev.ru
> Subject: Install q
> 
> 
> Does anyone know how to make install for nginx specifying the dir that I
> want it to install to? This dir is different from the --prefix=/usr. :-)
> 
> 
> thanks
> 
> 

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list