Package Details: gdal1 1.11.5-3

Git Clone URL: https://aur.archlinux.org/gdal1.git (read-only)
Package Base: gdal1
Description: A translator library for raster geospatial data formats
Upstream URL: http://www.gdal.org/
Licenses: custom
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 1
Popularity: 0.015036
First Submitted: 2016-01-09 22:08
Last Updated: 2017-07-27 23:45

Latest Comments

jose1711 commented on 2017-07-27 23:46

should now build with latest jasper (2.0.13-2) and no longer needs -fpermissive passed to compiler

jose1711 commented on 2017-06-30 22:17

try downgrading jasper to 1.900.5-1 and trying the latest gdal1 pkgbuild

chendaniely commented on 2017-06-30 18:26

Anyone having this issue while installing?
I've looked up the `gdalwmsdataset.cpp:383:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]` error
and it seems like this is something to do with C++ syntax?

thought adding the following line to the PKGBUILD would fix it, but I guess I really have no idea what i'm doing..

sed -i 's/const char *pszHttpZeroBlockCodes = CPLGetXMLValue/const string *pszHttpZeroBlockCodes = CPLGetXMLValue/' ./frmts/wms/gdalwmsdataset.cpp


make -C wms install-obj
make[2]: Entering directory '/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/frmts/wms'
/bin/sh /tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/libtool --mode=compile --tag=CXX g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/gcore -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/alg -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr/ogrsf_frmts -DOGR_ENABLED -D_FORTIFY_SOURCE=2 -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/usr/include -c -o ../o/gdalwmscache.lo gdalwmscache.cpp
libtool: compile: g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/gcore -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/alg -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr/ogrsf_frmts -DOGR_ENABLED -D_FORTIFY_SOURCE=2 -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/usr/include -c gdalwmscache.cpp -fPIC -DPIC -o ../o/.libs/gdalwmscache.o
libtool: compile: g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/gcore -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/alg -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr/ogrsf_frmts -DOGR_ENABLED -D_FORTIFY_SOURCE=2 -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/usr/include -c gdalwmscache.cpp -o ../o/gdalwmscache.o >/dev/null 2>&1
/bin/sh /tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/libtool --mode=compile --tag=CXX g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/gcore -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/alg -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr/ogrsf_frmts -DOGR_ENABLED -D_FORTIFY_SOURCE=2 -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/usr/include -c -o ../o/gdalwmsdataset.lo gdalwmsdataset.cpp
libtool: compile: g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -DHAVE_SSE_AT_COMPILE_TIME -Wall -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/gcore -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/alg -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/ogr/ogrsf_frmts -DOGR_ENABLED -D_FORTIFY_SOURCE=2 -I/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/port -I/usr/include -c gdalwmsdataset.cpp -fPIC -DPIC -o ../o/.libs/gdalwmsdataset.o
gdalwmsdataset.cpp: In member function ‘CPLErr GDALWMSDataset::Initialize(CPLXMLNode*)’:
gdalwmsdataset.cpp:383:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(pszHttpZeroBlockCodes == '\0') {
^~~~
make[2]: *** [../../GDALmake.opt:562: ../o/gdalwmsdataset.lo] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/frmts/wms'
make[1]: *** [GNUmakefile:10: wms-install-obj] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-dchen/aur-gdal1/src/gdal-1.11.5/frmts'
make: *** [GNUmakefile:63: frmts-target] Error 2

jose1711 commented on 2017-01-29 19:46

downgrade jasper to 1.900.31-1 and it will build.

sikmir commented on 2017-01-29 11:23

jpeg2000_vsil_io.cpp: In function 'void JPEG2000_VSIL_jas_stream_initbuf(jas_stream_t*, int, char*, int)':
jpeg2000_vsil_io.cpp:209:32: error: 'uchar' was not declared in this scope
stream->bufbase_ = JAS_CAST(uchar *, buf);
^
jpeg2000_vsil_io.cpp:209:23: error: expected primary-expression before ')' token
stream->bufbase_ = JAS_CAST(uchar *, buf);
^
make[2]: *** [../../GDALmake.opt:562: ../o/jpeg2000_vsil_io.lo] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-sikmir/aur-gdal1/src/gdal-1.11.5/frmts/jpeg2000'
make[1]: *** [GNUmakefile:10: jpeg2000-install-obj] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-sikmir/aur-gdal1/src/gdal-1.11.5/frmts'
make: *** [GNUmakefile:63: frmts-target] Error 2