Error Gdal-config Not Found
Contents |
here for a quick overview of the site Help Center Detailed configure: error: proj_api.h not found in standard or given locations. answers to any questions you might have Meta Discuss configure: error: gdal-config not found or not executable. mac the workings and policies of this site About Us Learn more about Stack Overflow the checking for gdal-config... no company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss configure: error: gdal-config not found or not executable. osx Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Trouble installing rgdal up vote 6 down vote favorite 3 I want to install rgdal for "R version 3.2.3 (2015-12-10)".
Libgdal-dev
I downloaded and installed GDAL 1.11 Complete PROJ framework v4.9.2-2 GEOS framework v3.5.0-1 from KyngChaos Then in RStudio I typed install.packages("rgdal") which gave me this: > .... > > configure: CC: clang configure: CXX: clang++ configure: rgdal: > 1.1-1 checking for /usr/bin/svnversion... yes configure: svn revision: > 572 checking for gdal-config... > no no configure: error: gdal-config > not found or not executable. ERROR: configuration failed for package > ‘rgdal’ > * removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgdal’ > Warning in install.packages : installation of package ‘rgdal’ had > non-zero exit status > sessionInfo() R version 3.2.3 (2015-12-10) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.10.5 (Yosemite) locale: [1] de_AT.UTF-8/de_AT.UTF-8/de_AT.UTF-8/C/de_AT.UTF-8/de_AT.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] tools_3.2.3 I also tried in the terminal R CMD INSTALL rgdal_1.1-1.tar --configure-args='--with-gdal-config=/Library/Frameworks/GDAL.framework/Programs/gdal-config --with-proj-include=/Library/Frameworks/PROJ.framework/Headers --with-proj-lib=/Library/Frameworks/PROJ.framework/unix/lib' and sudo R CMD INSTALL –config
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more
Gdal-config Not Found Mac
about Stack Overflow the company Business Learn more about hiring developers or posting install rgdal mac ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack rgdal ubuntu Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up rgdal package installation up vote 54 down vote favorite 20 The http://stackoverflow.com/questions/34333624/trouble-installing-rgdal issue here is not exactly how to plot maps through R, as I have found already a pretty nice example here, but rather how to make it work. In fact, I am unable to load library rgdal: library(rgdal) Error in library(rgdal) : there is no package called ‘rgdal’ However, when I try to install the above package manually, I get the following error: .... configure: error: proj_api.h not found http://stackoverflow.com/questions/15248815/rgdal-package-installation in standard or given locations. ERROR: configuration failed for package ‘rgdal’ * removing ‘/home/eualin/R/i686-pc-linux-gnu-library/2.15/rgdal’ Warning in install.packages : installation of package ‘/home/eualin/Downloads/rgdal_0.8-5.tar.gz’ had non-zero exit status Any input welcome! r maps share|improve this question edited Mar 6 '13 at 13:39 juba 24.1k56081 asked Mar 6 '13 at 13:35 user706838 96321735 10 If under a debian-like system, try to install the libproj-dev package. –juba Mar 6 '13 at 13:38 I do use debian. installation of libproj-dev didn't change anything (I think, it was already installed). sudo port install proj guves the following exception: sudo: port: command not found Any idea? –user706838 Mar 6 '13 at 13:45 1 What command did you use to install your package ? –juba Mar 6 '13 at 13:46 1 Sorry, I meant to install rgdal... And what version of debian do you use ? –juba Mar 6 '13 at 13:49 3 Did you use install.packages("rgdal") ? –juba Mar 6 '13 at 13:52 | show 4 more comments 9 Answers 9 active oldest votes up vote 76 down vote accepted I f you look at the package page on CRAN, you will see the following : SystemRequirements: for building from source: GDAL >= 1.7.1 library from
Tags Search LQ Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software [R] Error: gdal-config not found User Name Remember Me? Password http://www.linuxquestions.org/questions/linux-software-2/%5Br%5D-error-gdal-config-not-found-4175424186/ Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to not found threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you gdal-config not found need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 08-27-2012, 06:22 AM #1 TheIndependentAquarius Senior Member Registered: Dec 2008 Posts: 4,672 Blog Entries: 29 Rep: [R] Error: gdal-config not found Please point out the point that I am missing: Code: anisha@linux-y3pi:~/Desktop/R> sudo R CMD INSTALL rgdal_0.7-12.tar.gz root's password: * installing to library ‘/usr/lib64/R/library' * installing *source* package ‘rgdal' ... ** package ‘rgdal' successfully unpacked and MD5 sums checked