在CentOS6中安装FVCOM,进行make出现错误,不知所措
  1. 在CentOS6中安装FVCOM,进行make,报如下错误
cd proj && make install
make[1]: Entering directory `/home/miao-linux2019/work/FVCOM4.1/FVCOM_source/libs/proj'
Making install in src
make[2]: Entering directory `/home/miao-linux2019/work/FVCOM4.1/FVCOM_source/libs/proj/src'
make[3]: Entering directory `/home/miao-linux2019/work/FVCOM4.1/FVCOM_source/libs/proj/src'
test -z "/lib" || mkdir -p -- "/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c  'libproj.la' '/lib/libproj.la'
/usr/bin/install -c .libs/libproj.so.0.5.2 /lib/libproj.so.0.5.2
/usr/bin/install: cannot remove `/lib/libproj.so.0.5.2': Permission denied
make[3]: *** [install-libLTLIBRARIES] 错误 1
make[3]: Leaving directory `/home/miao-linux2019/work/FVCOM4.1/FVCOM_source/libs/proj/src'
make[2]: *** [install-am] 错误 2
make[2]: Leaving directory `/home/miao-linux2019/work/FVCOM4.1/FVCOM_source/libs/proj/src'
make[1]: *** [install-recursive] 错误 1
make[1]: Leaving directory `/home/miao-linux2019/work/FVCOM4.1/FVCOM_source/libs/proj'
make: *** [all] 错误 2
  1. 如果使用管理员权限报如下错误:
configure: error: Can't find proj4
See `config.log' for more details.
make: *** [all] 错误 1

2个回答

weixin_45325589
一根不思考的苇草 谢谢,已解决~
4 个月之前 回复

make

,之后再

sudo make install
weixin_45325589
一根不思考的苇草 谢谢,已解决~
4 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问