Install error

Adam Zell zellster at gmail.com
Tue Jul 31 02:27:43 MSD 2007


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070730/b8af8c6e/attachment.html>


More information about the nginx mailing list