Package Details: hdf4 4.2.15-1

Git Clone URL: (read-only, click to copy)
Package Base: hdf4
Description: General purpose library and file format for storing scientific data (version including the Java Native Interfaces - JNI)
Upstream URL:
Licenses: custom
Conflicts: hdf4-java
Provides: hdf4-java
Replaces: hdf4-java
Submitter: djscholl
Maintainer: XavierCLL
Last Packager: XavierCLL
Votes: 13
Popularity: 0.000000
First Submitted: 2006-09-25 12:30 (UTC)
Last Updated: 2020-04-25 23:10 (UTC)

Dependencies (5)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

RonnyD commented on 2020-01-27 16:58 (UTC)

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

steinbuch commented on 2019-10-29 13:15 (UTC)

I'm trying to compile HDF4 in another context. Despite patching to find libtirpc the ./configure fails:

-- Looking for xdr_int - not found -- Looking for xdr_int in /usr/lib/ - not found -- HDF4 XDR Library will be built -- Configuring incomplete, errors occurred!


Could not locate xdr symbols in libc or libnsl.

Has anybody occurred this error before?

Luk0r commented on 2019-03-22 09:26 (UTC) (edited on 2019-03-22 09:36 (UTC) by Luk0r)

I get the following error: checking whether the C compiler works... no configure: error: in `/tmp/yaourt-tmp-schmidan/aur-hdf4/src/build': configure: error: C compiler cannot create executables See `config.log' for more details see

and config.log says:

meriops commented on 2019-02-10 13:55 (UTC)

@eleftg Thank you for your suggestion. It turns out that my JAVA_OPTIONS were incorrectly specified in my shell startup file, and for some reason, they were being copied to the Makefiles during building, which was messing up. So now the package compiled fine, although I still had to use --disable-dependency-tracking.

eleftg commented on 2019-02-09 21:12 (UTC) (edited on 2019-02-09 21:13 (UTC) by eleftg)

@meriops No idea why this could be happening but can you try changing line 33 of the PKGBUILD to:

"${srcdir}/hdf-${pkgver}"/configure MAKE=gmake \

and then post back whether it worked?

meriops commented on 2019-02-07 09:34 (UTC) (edited on 2019-02-07 09:38 (UTC) by meriops)

Hi, This package is not compiling for me... I get :

config.status: error: in `/home/ol/progs/builds/hdf4/src/build': config.status: error: Something went wrong bootstrapping makefile fragments for automatic dependency tracking. Try re-running configure with the '--disable-dependency-tracking' option

When I do as suggested, I then get :

Makefile:319: *** missing separator. Stop.

Any hint as what I am doing wrong?

eleftg commented on 2019-01-26 21:47 (UTC) (edited on 2019-01-26 21:48 (UTC) by eleftg)

Well noticed Arcturus. Thank you!

Indeed, ever since the package switched from static to shared libs, the fortran option needed to be disabled due to a configuration error

configure: error: Cannot build shared fortran libraries. Please configure with --disable-fortran flag.

I now created a separate hdf4-static ( package that offers fortran.

Arcturus commented on 2019-01-26 17:28 (UTC)

The description says this is the "full version including the FORTRAN and the Java Native Interfaces - JNI", yet the configure flag --disable-fortran is used in the PGKBUILD.

Should the description (or PKGBUILD) be updated, or am I missing something?

XavierCLL commented on 2018-11-05 22:53 (UTC)

Perfect thanks!

eleftg commented on 2018-11-05 22:49 (UTC)

No problem.

I've also added you as a co-maintainer, so that you can directly apply any future modifications.