Package Details: gdal-hdf4 3.0.4-2.0

Git Clone URL: https://aur.archlinux.org/gdal-hdf4.git (read-only, click to copy)
Package Base: gdal-hdf4
Description: A translator library for raster geospatial data formats, with support to HDF4 format (required to use MODIStsp tool: http://github.com/lbusett/MODIStsp)
Upstream URL: http://www.gdal.org/
Licenses: custom
Conflicts: gdal
Provides: gdal
Submitter: ggranga
Maintainer: ggranga
Last Packager: ggranga
Votes: 3
Popularity: 0.000000
First Submitted: 2016-04-26 14:23
Last Updated: 2020-02-04 07:54

Required by (102)

Sources (2)

Latest Comments

1 2 Next › Last »

ggranga commented on 2020-02-04 07:56

@RonnyD I simply edit the PKGBUILD of package "gdal" in order to include the support to HDF4 format; any other problems should be issued to that package.

RonnyD commented on 2020-01-27 16:56

I have problems compiling the package. Perhaps it is necessary to update the java dependencies?

checking for gcj... no
checking for guavac... no
checking for jikes... no
checking for javac... no
configure: error: no acceptable Java compiler found in $PATH
==> ERROR: A failure occurred in build().

joeroe commented on 2019-12-06 14:56

@ggranga It did, thank you!

ggranga commented on 2019-12-06 12:08

@joeroe the last package update should have fixed that error.

joeroe commented on 2019-12-06 08:12

The current version fails to build for me with this error:

make -C pdf install-obj
make[2]: Entering directory '/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/frmts/pdf'
/bin/sh /home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/libtool --mode=compile --silent --tag=CXX g++ -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/port -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/gcore -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/alg -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/ogr -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/ogr/ogrsf_frmts -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/gnm -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/apps -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -march=x86-64 -mtune=generic -O2 -pipe -fno-plt  -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wnull-dereference -Wduplicated-cond -Wextra-semi -Wfloat-conversion -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -Wzero-as-null-pointer-constant -Wsuggest-override -Wimplicit-fallthrough  -I../vrt -I../mem -I../../ogr/ogrsf_frmts/mem -DGNM_ENABLED -D_FORTIFY_SOURCE=2 -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/port -I/usr/include/openjpeg-2.3  -I/usr/include  -DGDAL_COMPILATION -DHAVE_XERCES -I/usr/include -I/usr/include/xercesc -D_FORTIFY_SOURCE=2 -I/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/port -I/usr/include/openjpeg-2.3  -I/usr/include  -DGDAL_COMPILATION -DHAVE_POPPLER -DPOPPLER_MAJOR_VERSION=0 -DPOPPLER_MINOR_VERSION=82 -I/usr/include -I/usr/include/poppler   -DDO_NOT_USE_DEBUG_BOOL -c -o ../o/pdfdataset.lo pdfdataset.cpp
pdfdataset.cpp:205:22: error: ‘virtual void GDALPDFOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)’ marked ‘override’, but does not override
  205 |         virtual void drawChar(GfxState *state, double x, double y,
      |                      ^~~~~~~~
pdfdataset.cpp:266:22: error: ‘virtual void GDALPDFOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool)’ marked ‘override’, but does not override
  266 |         virtual void drawImage(GfxState *state, Object *ref, Stream *str,
      |                      ^~~~~~~~~
pdfdataset.cpp:205:22: warning:   by ‘virtual void GDALPDFOutputDev::drawChar(GfxState*, double, double, double, double, double, double, CharCode, int, Unicode*, int)’ [-Woverloaded-virtual]
  205 |         virtual void drawChar(GfxState *state, double x, double y,
      |                      ^~~~~~~~
pdfdataset.cpp:266:22: warning:   by ‘virtual void GDALPDFOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool)’ [-Woverloaded-virtual]
  266 |         virtual void drawImage(GfxState *state, Object *ref, Stream *str,
      |                      ^~~~~~~~~
make[2]: *** [../../GDALmake.opt:637: ../o/pdfdataset.lo] Error 1
make[2]: Leaving directory '/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/frmts/pdf'
make[1]: *** [GNUmakefile:15: pdf-install-obj] Error 2
make[1]: Leaving directory '/home/joeroe/.cache/yay/gdal-hdf4/src/gdal-3.0.0/frmts'
make: *** [GNUmakefile:103: frmts-target] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
Error making: gdal-hdf4

ggranga commented on 2019-08-18 12:37

@komzpa, this package is kept updated basing not on OSGeo but on community/gdal, whose version is 3.0.0.

ggranga commented on 2019-02-03 07:06

@Kunda, this package is kept updated basing on community/gdal, whose version is 2.3.2.

Kunda commented on 2019-02-02 19:10

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

ConorIA commented on 2018-09-10 20:59

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

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).