Package Details: hdf4 4.2.15-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: XavierCLL
Last Packager: XavierCLL
Votes: 13
Popularity: 0.000070
First Submitted: 2006-09-25 12:30
Last Updated: 2020-04-25 23:10

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

XavierCLL commented on 2018-11-05 20:35

Hi @eleftg again, I forgot to add the load library path in /etc/ld.so.conf.d/ when I converted the hdf4 to share lib, please update (4.2.14-4): https://pastebin.com/G9HnWfL4

eleftg commented on 2018-11-05 06:49

Done. Thanks XavierCLL

XavierCLL commented on 2018-11-05 05:00

Hi @eleftg, I implemented some changes: 1) added "--disable-netcdf" for use the native netcdf, because (without that) using the netcdf that have the hdf4 bring some problems and conflicts (read more https://goo.gl/ZVZDtj) 2) I made some changes for enabling share library (better than static). PKBGUILD here: https://pastebin.com/BheBm34w

XavierCLL commented on 2018-08-21 15:17

Hi @eleftg, please use this adjust for linked with szlib: https://pastebin.com/iaat9jP9

eleftg commented on 2018-07-03 23:46

Adopted, upgraded to 4.2.14 and patched configure.ac to fix the xdr error

eleftg commented on 2018-05-31 19:30

Thank you very much for your contribution petronny!

I updated the package to include your patch.

petronny commented on 2018-05-20 06:24

I fixed it with

     CFLAGS="${CFLAGS} -fPIC" \
     LDFLAGS="-l:libjpeg.so.8 ${LDFLAGS}" \
     F77=gfortran \
+    JAVADOC='javadoc -Xdoclint:none' \
     --enable-fortran \
     --enable-production \
     --enable-java \

It's a bug with java-enviroment>8. And this patch works with java-enviroment=8. Please fix it.

petronny commented on 2018-05-17 15:14

I get

Generating javadoc/overview-summary.html...
../../java/src/hdf/overview.html:9: error: self-closing element not allowed
<p />There are a large number of functions in the HDF
^
../../java/src/hdf/overview.html:12: error: unknown attribute: COLS
<center><table BORDER=1 COLS=1 WIDTH="71%" BGCOLOR="#dbeaf5" >
                        ^
../../java/src/hdf/overview.html:12: warning: attribute obsolete, use CSS instead: BGCOLOR
<center><table BORDER=1 COLS=1 WIDTH="71%" BGCOLOR="#dbeaf5" >
                                           ^
../../java/src/hdf/overview.html:18: error: no summary or caption for table
</table></center>
^
Generating javadoc/help-doc.html...
[done in 2815 ms]
3 errors
2 warnings
make[3]: *** [Makefile:837: docs] Error 1
make[3]: Leaving directory '/build/hdf4-java/src/hdf-4.2.13/java/src'
make[2]: *** [Makefile:557: all-recursive] Error 1
make[2]: Leaving directory '/build/hdf4-java/src/hdf-4.2.13/java/src'
make[1]: *** [Makefile:661: all-recursive] Error 1
make[1]: Leaving directory '/build/hdf4-java/src/hdf-4.2.13/java'
make: *** [Makefile:528: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

No idea how to fix it...

eleftg commented on 2018-05-16 21:14

Fixed. It was a configuration issue. The hdf4 autoconf infrastructure is quite dated and on top of that the rpc headers recently passed from glibc to libtirpc, so changes were needed to the configuration script.

See also:

https://bugs.archlinux.org/task/58414

https://lists.opensuse.org/opensuse-factory/2018-03/msg00097.html

nisok commented on 2018-05-16 11:09

This package does not compile. It fails will error --enable-hdf4-xdr does not support 64bit