Hi Jiri,
It seems there's a compile error straight out of the downloaded linux version (i.e. completely vanilla) with newer g++ versions.
Problem:
HDF5/HDF5_File.cpp: In member function ‘void THDF5_FileHeader::SetHostName()’:
HDF5/HDF5_File.cpp:870:30: error: ‘gethostname’ was not declared in this scope
make: *** [HDF5/HDF5_File.o] Error 1
Solution:
Include the following header in HDF5/HDF5_File.cpp
#include <unistd.h>
Compiler version:
gcc version 4.7.2 (Ubuntu)