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]]

