[R-sig-Geo] GDA: set up
Roger Bivand
Roger.Bivand at nhh.no
Thu Jan 10 08:33:49 CET 2008
On Wed, 9 Jan 2008, Takatsugu Kobayashi wrote:
> 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.
This is not clear. Please 1) say what the ./configure you entered was
exactly, then 2) try to run gdal-config after make, make install, and 3)
try to run gdalinfo --version.
My guess is that the problem is "my local directory", plus finding the
GDAL shared object. You can compile GDAL where you like, in principle, but
are you both compiling and running on the server? Once GDAL works and
gdal-config can be found (and the gdal shared object(s) are in the
ld.so list), rgdal will install.
Roger
>
> 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
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo
mailing list