If you do not need PDF support, you can disable poppler to get around that error.
Search Criteria
Package Details: gdal-ecw 1.11.1-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2015-06-24)
| Package Base: | gdal-ecw |
|---|---|
| Description: | A translator library for raster geospatial data formats |
| Upstream URL: | http://www.gdal.org/ |
| Category: | science |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | ggranga |
| Maintainer: | None |
| Last Packager: | ggranga |
| Votes: | 3 |
| First Submitted: | 2013-03-26 11:02 |
| Last Updated: | 2014-10-06 08:06 |
Dependencies (26)
- cfitsio
- curl
- geos
- giflib
- hdf5
- libecwj2
- libgeotiff
- libjpeg
- libmariadbclient
- libpng
- libspatialite
- libtiff
- netcdf
- poppler
- postgresql-libs
- python2
- python2-numpy
- sqlite
- chrpath (make)
- doxygen (make)
- perl (make)
- swig (make)
- mariadb (optional) – mariadb database support
- perl (optional) – perl binding support
- postgresql (optional) – postgresql database support
- swig (optional) – perl binding support
Required by (0)
Sources
- gdal-1.5.1-python-install.patch
- http://download.osgeo.org/gdal/1.11.1/gdal-1.11.1.tar.gz
Latest Comments
Comment by qs9rx
Comment by scut
Im getting and error when i run "makepkg -s"
Everything runs fine at the start then i get
make[2]: Entering directory '/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/frmts/pdf'
/bin/sh /home/scut/.aur/gdal-ecw/src/gdal-1.11.1/libtool --mode=compile --tag=CXX g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/port -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/gcore -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/alg -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/ogr -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/ogr/ogrsf_frmts -DOGR_ENABLED -D_FORTIFY_SOURCE=2 -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/port -I/usr/include -DHAVE_POPPLER -DPOPPLER_HAS_OPTCONTENT -DPOPPLER_BASE_STREAM_HAS_TWO_ARGS -DPOPPLER_0_20_OR_LATER -DPOPPLER_0_23_OR_LATER -I/usr/include -I/usr/include/poppler -I.. -c -o ../o/pdfdataset.lo pdfdataset.cpp
libtool: compile: g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/port -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/gcore -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/alg -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/ogr -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/ogr/ogrsf_frmts -DOGR_ENABLED -D_FORTIFY_SOURCE=2 -I/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/port -I/usr/include -DHAVE_POPPLER -DPOPPLER_HAS_OPTCONTENT -DPOPPLER_BASE_STREAM_HAS_TWO_ARGS -DPOPPLER_0_20_OR_LATER -DPOPPLER_0_23_OR_LATER -I/usr/include -I/usr/include/poppler -I.. -c pdfdataset.cpp -fPIC -DPIC -o ../o/.libs/pdfdataset.o
pdfdataset.cpp: In constructor 'GDALPDFOutputDev::GDALPDFOutputDev(SplashColorMode, int, GBool, SplashColorPtr, GBool, GBool)':
pdfdataset.cpp:119:35: error: no matching function for call to 'SplashOutputDev::SplashOutputDev(SplashColorMode&, int&, GBool&, Guchar*&, GBool&, GBool&)'
bEnableBitmap(TRUE) {}
^
pdfdataset.cpp:119:35: note: candidates are:
In file included from pdfobject.h:61:0,
from pdfdataset.cpp:48:
/usr/include/poppler/SplashOutputDev.h:171:3: note: SplashOutputDev::SplashOutputDev(SplashColorMode, int, GBool, SplashColorPtr, GBool, SplashThinLineMode, GBool)
SplashOutputDev(SplashColorMode colorModeA, int bitmapRowPadA,
^
/usr/include/poppler/SplashOutputDev.h:171:3: note: no known conversion for argument 6 from 'GBool {aka bool}' to 'SplashThinLineMode'
/usr/include/poppler/SplashOutputDev.h:167:7: note: SplashOutputDev::SplashOutputDev(const SplashOutputDev&)
class SplashOutputDev: public OutputDev {
^
/usr/include/poppler/SplashOutputDev.h:167:7: note: candidate expects 1 argument, 6 provided
pdfdataset.cpp: In static member function 'static GDALDataset* PDFDataset::Open(GDALOpenInfo*)':
pdfdataset.cpp:2830:67: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets( szPassword, sizeof(szPassword), stdin );
^
../../GDALmake.opt:561: recipe for target '../o/pdfdataset.lo' failed
make[2]: *** [../o/pdfdataset.lo] Error 1
make[2]: Leaving directory '/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/frmts/pdf'
GNUmakefile:10: recipe for target 'pdf-install-obj' failed
make[1]: *** [pdf-install-obj] Error 2
make[1]: Leaving directory '/home/scut/.aur/gdal-ecw/src/gdal-1.11.1/frmts'
GNUmakefile:63: recipe for target 'frmts-target' failed
make: *** [frmts-target] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Comment by freaks
if i use qgis with gdal-ecw i have errors a lunach and i can't have gdaltools
Hello
i have this error at launch
Impossible de charger l'extension 'processing' depuis ['/usr/share/qgis/python', '/home/xxxx/.qgis2/python', '/home/xxxx/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/data/www/cusapp.com/subdomain/map/_www/ortho', '/usr/share/qgis/python', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gtk-2.0', '/usr/lib/python2.7/site-packages/wx-3.0-gtk2', '/home/xxxx/.qgis2/python/plugins/MetaSearch/ext-libs']
Impossible de charger l'extension GdalTools provoque une erreur lors de l'appel de sa méthode classFactory()
Comment by ggranga
Package updated. I specified in the PKGBUILD to use python2 to compile, since there was an erro for people that have also python3 installed.
The problem with saga-gis can be solved removing the ">=1.8.0" from dependencies in the saga-gis PKGBUILD (leaving only "gdal").
Comment by Alister.Hood
For some reason for me pacman won't accept this as providing gdal>=1.8.0 for saga-gis though :(
Comment by Alister.Hood
> I will update it when the 1.10.0 version of gdal will be in the community repository
It is now.
Comment by OdinEidolon
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSSimplify'
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSWKBWriter_setOutputDimension'
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSWKBWriter_create'
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSWKBWriter_write'
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSWKBWriter_destroy'
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSUnionCascaded'
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSGeom_getCoordinateDimension'
/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/libgdal.so: undefined reference to `GEOSTopologyPreserveSimplify'
collect2: error: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-adriano/aur-gdal-ecw/src/gdal-1.9.2/apps'
make: *** [apps-target] Error 2
==> ERROR: A failure occurred in build().
Comment by ggranga
I uploaded again the 1.9.2 package, since the new one gave me some problems. I will update it when the 1.10.0 version of gdal will be in the community repository. However, in the package there is a "PKGBUILD_1.0.0" version of the pkgbuild file.