ggdal and ggmap R packages install

To install following Ggdal and ggmap R packages we need additional dependencies

I spent lot of time searching. So dumping all here

Versions and binary names below are for Redhat , please see corresponding names If you are on Debian.

geos-devel                   3.3.2-1.el6                    
geos                         3.3.2-1.el6
gdal                        1.7.3-15.el6
gdal-devel           1.7.3-15.el6
proj-devel           4.7.0-1.el6
proj-epsg        4.7.0-1.el6
proj-nad    4.7.0-1.el6
libpng                    2:1.2.49-1.el6_2
libpng-devel 2:1.2.49-1.el6_2


Dumping some of the related errors

Error: proj/epsg not found

Install

proj-epsg                  
proj-nad 

read.c:3:17: error: png.h: No such file or directory
configure: error: proj_api.h not found in standard or given locations.

Install
proj-devel

configure: error: proj_api.h not found in standard or given locations.
ERROR: configuration failed for package ‘rgdal’

configure: error: proj_api.h not found in standard or given locations.


Error: gdal-config not found
gdal-config is in your path. Try typing gdal-config

Install gdal-devel


\

No comments:

Post a Comment

Please share your views and comments below.

Thank You.