[El] Problem installing 'rgdal' package under R 2.12.1 and gdal
1.7.3
Mauricio Zambrano
mauricio.zambrano at jrc.ec.europa.eu
Wed Feb 23 06:44:01 EST 2011
Dear List,
I just tried to install the 'rgdal' package in RHEL5, but I got the
following error message:
* 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 ‘/usr/lib/R/library/rgdal’
Looking for 'gdal-config' in my file system, I realised that the only
version that I have is the one corresponding to an old version of gdal
(1.7.2), which I compiled form source.
May it be that the version 1.7.3 of gdal for RHEL doesn't include this
'gdal-config- file ?
The gdal version available on my system is:
$ yum list gdal*
Loaded plugins: rhnplugin, security
*Note* Red Hat Network repositories are not listed below. You must run
this command as root to access RHN repositories.
Installed Packages
gdal.i386 1.7.3-3_0.el5.elgis installed
gdal-python.i386 1.7.3-3_0.el5.elgis installed
Available Packages
gdal-debuginfo.i386 1.4.2-4.el5 epel-debuginfo
gdal-devel.i386 1.7.3-3_0.el5.elgis elgis-testing
gdal-doc.i386 1.7.3-3_0.el5.elgis elgis-testing
gdal-iioext.i386 1.7.3-3_0.el5.elgis elgis-testing
gdal-java.i386 1.7.3-3_0.el5.elgis elgis-testing
gdal-perl.i386 1.7.3-3_0.el5.elgis elgis-testing
gdal-ruby.i386 1.7.3-3_0.el5.elgis elgis-testing
gdal-static.i386 1.7.3-3_0.el5.elgis elgis-testing
Thanks in advance,
Mauricio Zambrano B.
--
=======================================================
Linux user #454569 -- Ubuntu user #17469
=======================================================
"We would accomplish many more things
if we did not think of them as impossible."
(Chretien Malesherbes)
More information about the el
mailing list