hecking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for gdal.h... yes
checking GDAL: linking with --libs only... yes
checking GDAL: /usr/share/gdal/pcs.csv readable... no
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available for running:... yes
configure: GDAL: 3.0.4
checking for proj.h... no
checking for proj_api.h... no
configure: error: proj_api.h not found in standard or given locations.
ERROR: configuration failed for package ‘sf’
* removing ‘/share/work/biosoft/R/R-v4.3.1/lib64/R/library/sf’
下载的程序包在
‘/tmp/Rtmptf5D4o/downloaded_packages’里
解决办法:
yum install proj proj-devel
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!