pierre.roudier at gmail.com
Mon Dec 20 18:43:32 CET 2010
Could you please send us your sessionInfo(), plus details on your
platform (I suspect you're on a Mac but I'm not too sure).
As the error message said, the package cannot find the gdal-config
file. How did you install GDAL?
2010/12/20 Daniel <dmsilv at gmail.com>:
> Anybody knows how can I solve the following error.
> * installing *source* package ‘rgdal’ ...
> gdal-config: gdal-config
> ./configure: line 1311: gdal-config: command not found
> Error: gdal-config not found
> The gdal-config script distributed with GDAL could not be found.
> If you have not installed the GDAL libraries, you can
> download the source from http://www.gdal.org/
> If you have installed the GDAL libraries, then make sure that
> gdal-config is in your path. Try typing gdal-config at a
> shell prompt and see if it runs. If not, use:
> --configure-args='--with-gdal-config=/usr/local/bin/gdal-config' echo with
> appropriate values for your installation.
> ERROR: configuration failed for package ‘rgdal’
> * removing ‘/Users/dms/Library/R/2.12/library/rgdal’
> * restoring previous ‘/Users/dms/Library/R/2.12/library/rgdal’
> The downloaded packages are in
> I tried the following, but not worked:
> daniel-marcelinos-macbook-pro:~ dms$
> -bash: -s: command not found
> Daniel Marcelino
> Skype: dmsilv
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
Landcare Research, New Zealand
More information about the R-sig-Geo