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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org