R 安装包:configure: error: proj_api.h not found in standard or given locations.

R 安装包:configure: error: proj_api.h not found in standard or given locations.

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 
  • 发表于 2024-04-16 15:38
  • 阅读 ( 900 )
  • 分类:R

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

702 篇文章

作家榜 »

  1. omicsgene 702 文章
  2. 安生水 350 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 82 文章
  6. 红橙子 78 文章
  7. rzx 76 文章
  8. CORNERSTONE 72 文章