Package Details: hdf4 4.3.0-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
Upstream URL: https://portal.hdfgroup.org
Licenses: custom
Submitter: djscholl
Maintainer: Xavier
Last Packager: Xavier
Votes: 14
Popularity: 0.000004
First Submitted: 2006-09-25 12:30 (UTC)
Last Updated: 2024-04-11 15:11 (UTC)

Latest Comments

1 2 3 4 5 Next › Last »

petronny commented on 2024-05-25 09:13 (UTC)

Hi, I find that this package has dropped JAVA support. And this change breaks the build of hdfview. Will the JAVA support be added back?

James-T commented on 2024-04-24 10:48 (UTC)

Hello again.

I have just tried to build the latest gnudatalanguage git, and it failed with a vast number of undefined variable errors in the HDF4/NETCDF area.

After some furtling around I was able to track down that in order to use the system NETCDF, HDF4 should be built with --disable-netcdf.

So: Is this likely to break any other packages that depend on HDF4? And if not would it be possible to make that the default?

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?