Package Details: hdf4 4.2.16-1

Git Clone URL: https://aur.archlinux.org/hdf4.git (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: https://portal.hdfgroup.org/display/support/HDF+4.2.15
Licenses: custom
Conflicts: hdf4-java
Provides: hdf4-java
Replaces: hdf4-java
Submitter: djscholl
Maintainer: Xavier
Last Packager: Xavier
Votes: 14
Popularity: 0.000475
First Submitted: 2006-09-25 12:30 (UTC)
Last Updated: 2023-10-10 06:59 (UTC)

Dependencies (5)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

James-T commented on 2023-10-17 15:55 (UTC)

Thanks Xavier, Looks like the problem was that though I had java-21-openjdk installed, the default was still java-11-openjdk. After changing that it has now built.

Xavier commented on 2023-10-15 20:11 (UTC)

Hi James-T, for me it compiles well, I have the official jdk-openjdk from extra, check your java environment with archlinux-java status check https://wiki.archlinux.org/title/Java

James-T commented on 2023-10-15 19:18 (UTC)

Looks like the javac error is back.

checking if Java JNI interface enabled... yes
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().
    Aborting...

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 configure.ac to find libtirpc the ./configure fails:

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

respectively

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 https://pastebin.com/HwT6D8aE

and config.log says: https://pastebin.com/n7xQuG9g

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 (https://aur.archlinux.org/packages/hdf4-static) package that offers fortran.