Install error

Adam Zell zellster at gmail.com
Sun Aug 5 13:54:00 MSD 2007


Greetings,

On 7/30/07, Maxim Dounin <mdounin at mdounin.ru> wrote:
>
> Hello!
>
> On Mon, 30 Jul 2007, Adam Zell wrote:
>
> > Performing a fresh install on Ubuntu 4.1.1 where the destination
> directory
> > (/opt/nginx) does not exist:
> >
> > root at xxxxx:~/src/nginx-0.6.6# make install
> > make -f objs/Makefile install
> > make[1]: Entering directory `/home/foo/src/nginx-0.6.6'
> > test -d '/opt/nginx' || mkdir -p '/opt/nginx'
> > test -d '/opt/nginx/sbin'               || mkdir -p '/opt/nginx/sbin'
> > test ! -f '/opt/nginx/sbin/nginx' || mv '/opt/nginx/sbin/nginx'
> > '/opt/nginx/sbin/nginx.old'
> > cp objs/nginx '/opt/nginx/sbin/nginx'
> > test -d '/opt/nginx' || mkdir -p '/opt/nginx'
> > cp conf/koi-win '/opt/nginx'
> > cp conf/koi-utf '/opt/nginx'
> > cp conf/win-utf '/opt/nginx'
> > test -f '/opt/nginx/mime.types'                 || cp conf/mime.types
> > '/opt/nginx'
> > cp conf/mime.types '/opt/nginx/conf/nginx.conf/mime.types.default'
> > cp: cannot create regular file
> > `/opt/nginx/conf/nginx.conf/mime.types.default': No such file or
> directory
> > make[1]: *** [install] Error 1
> > make[1]: Leaving directory `/home/azell/src/nginx-0.6.6'
> > make: *** [install] Error 2
> >
> > It appears that the /opt/nginx/conf directory has not been created
> before
> > the cp command.
> >
>
> Try this patch:
>
> http://permalink.gmane.org/gmane.comp.web.nginx.english/1294
>
> Maxim Dounin


The patch prevents the error message, but breaks the installation directory
structure.  Files that used to be under /opt/nginx/conf are now directly
installed under /opt/nginx (the default nginx.conf still refers to
conf/mime.types).  Is the change intentional?

Thanks!

-- 
Adam
zellster at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070805/ff8b3a6f/attachment.html>


More information about the nginx mailing list