[El] pcraster support in GDAL/OGR 1.7.2 release
(1.7.2-5_0.el5.elgis.i386) ?
Peter Hopfgartner
peter.hopfgartner at r3-gis.com
Mon Oct 18 12:28:09 EDT 2010
--------Mauricio Zambrano <mauricio.zambrano at jrc.ec.europa.eu> wrote--------
Subject: RE: RE: RE: [El] pcraster support in GDAL/OGR 1.7.2 release (1.7.2-5_0.el5.elgis.i386) ?
Date: 18.10.2010 17:40
>Dear Peter,
>
Hi Mauricio
>I followed your instructions:
>
>1) I set up a build environment, with the
>gdal-1.7.2-5_1.el5.elgis.src.rpm file you sent me.
>
>2) I tried to enable PCraster in the 'gdal.spec' file, by adding the
>following line in the '%configure' section (just after line 203):
>
> --with-pcraster \
Well, PCRaster should already be enabled in that src.rpm file.
>
>3) Installed some missing dependencies for building the package
>
>$rpmbuild -bb ~/rpmbuild/SPECS/gdal.spec
>sh: ruby: command not found
>sh: ruby: command not found
>sh: ruby: command not found
>sh: ruby: command not found
>sh: ruby: command not found
>sh: ruby: command not found
>sh: ruby: command not found
>error: Failed build dependencies:
> xerces-c-devel is needed by gdal-1.7.2-5_1.i386
> libungif-devel is needed by gdal-1.7.2-5_1.i386
> ruby-devel is needed by gdal-1.7.2-5_1.i386
> jasper-devel is needed by gdal-1.7.2-5_1.i386
> cfitsio-devel is needed by gdal-1.7.2-5_1.i386
> hdf-static is needed by gdal-1.7.2-5_1.i386
> hdf-devel is needed by gdal-1.7.2-5_1.i386
> unixODBC-devel is needed by gdal-1.7.2-5_1.i386
> mysql-devel is needed by gdal-1.7.2-5_1.i386
> postgresql84-devel is needed by gdal-1.7.2-5_1.i386
> ogdi-devel is needed by gdal-1.7.2-5_1.i386
> ant is needed by gdal-1.7.2-5_1.i386
> ruby is needed by gdal-1.7.2-5_1.i386
>
>
Did you install ruby, too?
>4) I tried to build the package,with:
>
>$ rpmbuild -bb ~/rpmbuild/SPECS/gdal.spec
>
>after answering some latex questions with the 'q' you mentioned (thanks
>a lot !), I got the bad exit status that you can read at the end of
>these messages that I got at the end of the compilation process:
>
>
(...)
>`/var/tmp/gdal-1.7.2-5_1-root-zambrhe/usr/lib/libgdalconstjni.so'
>cp: cannot create link
I would investigate that "cannot create link". Is /var mounted from somewhere?
Peter
R3 GIS Srl - GmbH
http://www.r3-gis.com
More information about the el
mailing list