Bug#772833: libhdf5-dev: Cannot compile code using C++ bindings for HDF5

Patrik Schönfeldt debian-bugs at patrikschoenfeldt.de
Thu Dec 11 15:26:46 UTC 2014


Package: libhdf5-dev
Version: 1.8.13+docs-15
Severity: important
Tags: patch

Dear Maintainer,

The C++ bindings for HDF5 (hdf5/serial/H5Cpp.h) use <hdf5/serial/H5Include.h>.
In this file the usual GDF5 header is included with (wrong) absolute path. This
results in:

/usr/include/hdf5/serial/H5Include.h:17:18: fatal error: hdf5.h: No such file
or directory
#include <hdf5.h>

Including with relative path solves the problem.

Yours,
Patrik Schönfeldt



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libhdf5-dev depends on:
ii  hdf5-helpers                       1.8.13+docs-15
ii  libhdf5-8                          1.8.13+docs-15
ii  libhdf5-cpp-8                      1.8.13+docs-15
ii  libjpeg-dev                        1:1.3.1-11
ii  libjpeg62-turbo-dev [libjpeg-dev]  1:1.3.1-11
ii  zlib1g-dev                         1:1.2.8.dfsg-2+b1

libhdf5-dev recommends no packages.

Versions of packages libhdf5-dev suggests:
pn  libhdf5-doc  <none>

-- no debconf information

*** /home/patrik/H5Include.h.diff
17c17
< #include <hdf5.h>
---
> #include "hdf5.h"
-------------- next part --------------
17c17
< #include <hdf5.h>
---
> #include "hdf5.h"


More information about the Pkg-grass-devel mailing list