0
opencpu/rstudio 도커 이미지를 사용하고 있습니다. Windows 사용자이기 때문에 Docker는 가상 시스템을 통해 실행됩니다. rstudio-server를 실행 한 후 github에서 R 패키지를 설치하려고합니다. rgdal이 설치 될 때까지 모든 것이 잘 작동합니다. docker를 통해 rstudio-server에 rgdal을 설치하십시오.
나는 다음과 같은 오류 메시지가 :Installing rgdal
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --
quiet \
CMD INSTALL '/tmp/RtmpJvVTTU/devtools2c362554e5/rgdal' \
--library='/usr/local/lib/opencpu/site-library' --install-tests
* installing *source* package ‘rgdal’ ...
** package ‘rgdal’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++
configure: rgdal: 1.2-16
checking for /usr/bin/svnversion... no
configure: svn revision: 701
checking for gdal-config... no
no
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘rgdal’
* removing ‘/usr/local/lib/opencpu/site-library/rgdal’
Installation failed: Command failed (1)
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --
quiet \
CMD INSTALL \
'/tmp/RtmpJvVTTU/devtools2cd1cfd76/amun-software-Processingservice-6db3f06'
\
--library='/usr/local/lib/opencpu/site-library' --install-tests
나는이 문제를 어떻게 해결할 수
?