Package Details: gdal-hdf4 3.9.3-1

Git Clone URL: https://aur.archlinux.org/gdal-hdf4.git (read-only, click to copy)
Package Base: gdal-hdf4
Description: Translator library for raster and vector geospatial data formats
Upstream URL: https://gdal.org/
Licenses: custom
Conflicts: gdal
Provides: gdal, gdal-hdf4
Submitter: ggranga
Maintainer: gds506
Last Packager: gds506
Votes: 4
Popularity: 0.000000
First Submitted: 2016-04-26 14:23 (UTC)
Last Updated: 2024-10-28 14:49 (UTC)

Dependencies (94)

Required by (84)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4

Kunda commented on 2019-02-02 19:10 (UTC)

will there be a gdal 2.4.0 build or will there be a need for a separate package?

<deleted-account> commented on 2018-09-10 20:59 (UTC)

If anyone comes along trying to build this now that hdf4-nonetcdf has disappeared (404), the following changes to the hdf4 AUR package seem to be enough to get this built again. https://pastebin.com/7JNYiD8W

EDIT:: Nevermind, if it's not one thing, it's another.

cpl_vsil_crypt.cpp: In member function 'std::__cxx11::string  VSICryptFileHeader::CryptKeyCheck(CryptoPP::BlockCipher*)':
cpl_vsil_crypt.cpp:450:34: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]

asantam commented on 2018-04-13 16:16 (UTC) (edited on 2018-04-13 16:17 (UTC) by asantam)

Hello, the build is currently failing for me with the following error:

ogrgeojsonwriter.cpp:35:10: fatal error: json_object_private.h: No such file or directory

#include <json_object_private.h></json_object_private.h>

compilation terminated.

make[3]: *** [../../../GDALmake.opt:646: ../o/ogrgeojsonwriter.lo] Error 1

make[2]: *** [../../GDALmake.opt:659: geojson-target] Error 2

make[1]: *** [GNUmakefile:55: sublibs] Error 2

Apparently this is caused because json-c doesn't provide json_object_private.h anymore. This problem is solved in the gdal package (the one installed by pacman) by a patch file (gdal-2.2.3_json-c_013.patch).

ggranga commented on 2017-11-22 06:59 (UTC)

Yes, it is installed.

kikislater commented on 2017-11-22 06:18 (UTC)

Ok thank you for trying. So in that case I have problem with my configuration. I removed CFLAGS but still no luck ! But I'm surprised it could run with latest python2-scipy. Do you have python2-scipy installed ? Without it qgis is running fine. https://gis.stackexchange.com/questions/234010/qgis-fails-to-load/261506 https://www.i-ciencias.com/pregunta/51161/qgis-falla-al-cargar Also consider openjpeg not working related to this bug : https://bugs.archlinux.org/task/56121?project=5&string=gdal

ggranga commented on 2017-11-21 08:23 (UTC)

Sorry, I was not able to reproduce the error. I tried to compile with --with-ecw (without the flags) and all went well (including the ability to read ecw files from QGIS).

kikislater commented on 2017-11-20 10:57 (UTC) (edited on 2017-11-20 10:59 (UTC) by kikislater)

I use this package and edit it to have ECW support with libecwj2 from AUR. I edit PKGBIUILD and add --with-ecw in ./configure. I also add CFLAGS="-O0" CXXFLAGS="-O0" to configure and make related to this https://trac.osgeo.org/gdal/wiki/ECW Build is successfull, I could read ecw or others formats from command line. But when I run qgis I have the following error and qgis crash : $ qgis Warning: QCss::Parser - Failed to load file "/style.qss" Warning: QLayout: Attempting to add QLayout "" to QgsPanelWidgetStack "mWidgetStack", which already has a layout QH6248 qh_lib_check: Incorrect qhull library called. Caller uses reentrant Qhull while library is non-reentrant QH6249 qh_lib_check: Incorrect qhull library called. Size of qhT for caller is 8184, but for library is 2896. QH6256 qh_lib_check: Cannot continue. Library 'qhull 7.2.0 (2015.2 2016/01/18)' uses a static qhT (e.g., libqhull.so) Workaround is to downgrade from python2-scipy 1.0.0-1 to 0.19.0-1 but I wonder why ?! Using gdal from pacman doesn't show this error ! Any idea ? Seems to be related to this : https://bugs.launchpad.net/ubuntu/+source/qgis/+bug/1659029

ggranga commented on 2017-02-10 09:46 (UTC)

The patch was added to the PKGBUILD, now it should compile (without the need to downgrade jasper).

chikycin commented on 2017-02-10 05:22 (UTC)

This worked: replace JAS_CAST(uchar *, buf); by JAS_CAST(unsigned char*, buf) in frmts/jpeg2000/jpeg2000_vsil_io.cpp, line 212. Reference: http://osgeo-org.1560.x6.nabble.com/gdal-dev-jpeg2000-jasper-error-compiling-gdal-2-1-from-git-release-branch-td5299100.html

chikycin commented on 2017-02-09 13:43 (UTC)

The build is breaking: ########### In file included from /usr/include/jasper/jasper.h:68:0, from jpeg2000_vsil_io.h:33, from jpeg2000_vsil_io.cpp:77: jpeg2000_vsil_io.cpp: In function 'void JPEG2000_VSIL_jas_stream_initbuf(jas_stream_t*, int, char*, int)': jpeg2000_vsil_io.cpp:212:32: error: 'uchar' was not declared in this scope stream->bufbase_ = JAS_CAST(uchar *, buf); ^ jpeg2000_vsil_io.cpp:212:23: error: expected primary-expression before ')' token stream->bufbase_ = JAS_CAST(uchar *, buf); ^ make[2]: *** [../../GDALmake.opt:648: ../o/jpeg2000_vsil_io.lo] Error 1 make[2]: Leaving directory '/tmp/packerbuild-1000/gdal-hdf4/gdal-hdf4/src/gdal-2.1.1/frmts/jpeg2000' make[1]: *** [GNUmakefile:15: jpeg2000-install-obj] Error 2 make[1]: Leaving directory '/tmp/packerbuild-1000/gdal-hdf4/gdal-hdf4/src/gdal-2.1.1/frmts' make: *** [GNUmakefile:88: frmts-target] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The build failed. ########