[R-sig-Geo] RGDAL

Pierre Roudier pierre.roudier at gmail.com
Mon Dec 20 18:43:32 CET 2010


Hi Daniel,

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?

Pierre

2010/12/20 Daniel <dmsilv at gmail.com>:
> Dears,
> 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
> ‘/private/var/folders/GU/GU-nsrKmGteghFv3YFf1C++++TI/-Tmp-/RtmpqkhOBF/downloaded_packages’
>
>
> I tried the following, but not worked:
>
> daniel-marcelinos-macbook-pro:~ dms$
> --configure-args='--with-gdal-config=/usr/local/bin/gdal-config'
> -bash: -s: command not found
>
>
>
> --
> Daniel Marcelino
> Skype: dmsilv
> http://marcelino.pbworks.com/
>
>        [[alternative HTML version deleted]]
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>



-- 
Scientist
Landcare Research, New Zealand



More information about the R-sig-Geo mailing list