Performing a fresh install on Ubuntu 4.1.1 where the destination directory (/opt/nginx) does not exist:<br><br>root@xxxxx:~/src/nginx-0.6.6# make install<br>make -f objs/Makefile install<br>make[1]: Entering directory `/home/foo/src/nginx-
0.6.6'<br>test -d '/opt/nginx' || mkdir -p '/opt/nginx'<br>test -d '/opt/nginx/sbin' || mkdir -p '/opt/nginx/sbin'<br>test ! -f '/opt/nginx/sbin/nginx' || mv '/opt/nginx/sbin/nginx' '/opt/nginx/sbin/nginx.old'
<br>cp objs/nginx '/opt/nginx/sbin/nginx'<br>test -d '/opt/nginx' || mkdir -p '/opt/nginx'<br>cp conf/koi-win '/opt/nginx'<br>cp conf/koi-utf '/opt/nginx'<br>cp conf/win-utf '/opt/nginx'
<br>test -f '/opt/nginx/mime.types' || cp conf/mime.types '/opt/nginx'<br>cp conf/mime.types '/opt/nginx/conf/nginx.conf/mime.types.default'<br>cp: cannot create regular file `/opt/nginx/conf/nginx.conf/mime.types.default': No such file or directory
<br>make[1]: *** [install] Error 1<br>make[1]: Leaving directory `/home/azell/src/nginx-0.6.6'<br>make: *** [install] Error 2<br><br>It appears that the /opt/nginx/conf directory has not been created before the cp command.
<br><br>