Package Details: gdal1 1.11.5-3

Git Clone URL: https://aur.archlinux.org/gdal1.git (read-only, click to copy)
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: 2
Popularity: 0.000000
First Submitted: 2016-01-09 22:08 (UTC)
Last Updated: 2017-07-27 23:45 (UTC)

Latest Comments

dtusk commented on 2018-05-02 11:35 (UTC)

@sachin1618 if you provide "-with-libjson-c=internal" to ./configure line in PKGBUILD it will work.

However, there are problems with compiling python bindings.

sachin1618 commented on 2018-02-15 01:40 (UTC)

I get the following compilation error:

argdataset.cpp: In function 'json_object GetJsonObject(CPLString)': argdataset.cpp:142:45: error: 'error_ptr' was not declared in this scope if (pJSONObject == (struct json_object)error_ptr(-1) || pJSONObject == NULL) { ^~~~~~~~~ argdataset.cpp:142:45: note: suggested alternative: 'error_t' if (pJSONObject == (struct json_object)error_ptr(-1) || pJSONObject == NULL) { ^~~~~~~~~ error_t make[2]: ** [../../GDALmake.opt:562: ../o/argdataset.lo] Error 1

jose1711 commented on 2017-07-27 23:46 (UTC)

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 (UTC)

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

chendaniely commented on 2017-06-30 18:26 (UTC) (edited on 2017-06-30 18:52 (UTC) by chendaniely)

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 (UTC)

downgrade jasper to 1.900.31-1 and it will build.

sikmir commented on 2017-01-29 11:23 (UTC)

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