q412086027
ethan_z
2016-01-05 06:54

linux nginx安装问题!

  • nginx
  • linux

折腾了半天还是每装好 make 没问题

make install 就出现一下错误了求助要怎么搞?
make -f objs/Makefile install
make[1]: Entering directory /usr/local/nginx'
test -d '/usr/local/nginx' || mkdir -p '/usr/local/nginx'
test -d '/usr/local/nginx/sbin' || mkdir -p '/usr/local/nginx/sbin'
test ! -f '/usr/local/nginx/sbin/nginx' || mv '/usr/local/nginx/sbin/nginx' '/usr/local/nginx/sbin/nginx.old'
cp objs/nginx '/usr/local/nginx/sbin/nginx'
test -d '/usr/local/nginx/conf' || mkdir -p '/usr/local/nginx/conf'
cp conf/koi-win '/usr/local/nginx/conf'
cp:
conf/koi-win' and /usr/local/nginx/conf/koi-win' are the same file
make[1]: *** [install] Error 1
make[1]: Leaving directory
/usr/local/nginx'
make: *** [install] Error 2

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答