- 在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
- 如果使用管理员权限报如下错误:
configure: error: Can't find proj4
See `config.log' for more details.
make: *** [all] 错误 1