[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
Tue Oct 19 06:49:01 EDT 2010


Your're mixing gdal as in EPEL and gdal es in El-GIS. They depent on different GEOS versions.

You could try to build from sources. In the "./configure" stage enable as few options as needed, for the others peek at gdal.spec to see how to enable things like tiff and geotiff. 

Peter Hopfgartner
 
R3 GIS Srl - GmbH
http://www.r3-gis.com


--------Mauricio Zambrano <mauricio.zambrano at jrc.ec.europa.eu> wrote--------
Subject: RE: RE: RE: RE: [El] pcraster support in GDAL/OGR 1.7.2 release	(1.7.2-5_0.el5.elgis.i386) ?
Date: 19.10.2010 10:28

>Meanwhile, I 've tried to come back to gdal-1.4.2-4.el5.i386, but I got
>the following error window:
>
>"Missing Dependency: libgeos.so.2 is needed by package
>gdal-1.4.2-4.el5.i386 (epel)"
>
>and I already have installed geos-3.2.2-1.el5.i386.
>
>
>Could you give any advise about what should be the fastest way of
>getting PCRaster in some version of GDAL ?, because I really need it.
>
>Thanks in advance,
>
>Mauricio
>
>-- 
>=======================================================
>DISCLAIMER:
>"The views expressed are purely those of the writer 
>and may not in any circumstances be regarded as stating 
>an official position of the European Commission."
>=======================================================
>Linux user #454569 -- Ubuntu user #17469
>=======================================================
>"Learning is not attained by chance, 
>it must be sought for with ardor and 
>attended to with diligence."
>(Abigail Adams, 1744 - 1818)
>
>On Mon, 2010-10-18 at 18:28 +0200, Peter Hopfgartner wrote:
>> --------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
>> 
>> 
>> _______________________________________________
>> el mailing list
>> el at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/el
>
>
>



More information about the el mailing list