[Pkg-octave-devel] Bug#598227: plplot is only buildable with the libhdf5-serial-dev package

Andrew Ross andrewross at users.sourceforge.net
Tue Sep 28 09:47:22 UTC 2010


Having investigated further, it looks like the cause of the problem is
that oct.h includes hdf.h, which eventually includes mpi.h if the mpi 
version of the hdf libraries is installed. Unfortunately this seems to be
installed in /usr/include/mpi/ , so unless I build with an explicit
-I/usr/include/mpi option, then the build will fail. 

It seems crazy to me that I should have to do this just to use the octave
headers. The best solution would be for /usr/include/H5public.h to include
mpi/mpi.h, and then things would work irrespective of whether the serial or
mpi version of the hdf libraries was installed.

Andrew





More information about the Pkg-octave-devel mailing list