[R-sig-Geo] GDA: set up

Takatsugu Kobayashi tkobayas at indiana.edu
Thu Jan 10 03:39:21 CET 2008


Hi,

I am trying to install rgdal package on my local directory in my school 
server. I uploaded gdal-1.5.0, built and compiled it on my local directory.

After ./configure I got:
GDAL is now configured for x86_64-unknown-linux-gnu

  Installation directory:    /usr/local
  C compiler:                gcc -g -O2
  C++ compiler:              g++ -g -O2

  LIBTOOL support:           yes

  LIBZ support:              external
  GRASS support:             no
  CFITSIO support:           no
  PCRaster support:          internal
  NETCDF support:            no
  LIBPNG support:            internal
  LIBTIFF support:           internal (BigTIFF=yes)
  LIBGEOTIFF support:        internal
  LIBJPEG support:           internal
  LIBGIF support:            internal
  OGDI support:              no
  HDF4 support:              no
  HDF5 support:              no
  KAKADU support:            no
  JASPER support:            no
  ECW support:               no
  MrSID support:             no
  GRIB support:              no
  CURL support (wms/wcs/...):no
  POSTGRESQL support:        no
  MySQL support:             no
  XERCES support:            no
  Expat support:             yes
  ODBC support:              no
  PGEO support:              no
  OCI support:               no
  SDE support:               no
  DODS support:              no
  SQLite support:            no
  DWGdirect support          no
  PANORAMA GIS support:      no
  INFORMIX DataBlade support:no
  GEOS support:              no


  Old-gen python          no
  SWIG Bindings:          no

  Statically link PROJ.4:    no
  enable OGR building:       yes
  enable pthread support:    no
  hide internal symbols:     no

Then I moved on to do make and make install, and then launched R on the 
same local directory and ran install.packages('rgdal'). I couldn't 
install rgdal because gdal-config wasn't found. The error message showed:

--configure-args='--with-gdal-config=/usr/local/bin/gdal-config' echo 
with appropriate values for your installation.

So I am guessing change '/usr/local/bin/gdal-config/ to 
'/usr/local/gdal-1.5.0/bin/gdal-config'.

I appreciate if someone knows how to set up gdal on unix.

Thanks.

Takar




More information about the R-sig-Geo mailing list