Octave for Debian systems: Difference between revisions

→‎HDF5: added information about non-standard hdf5 locations on Debian
(→‎HDF5: added information about non-standard hdf5 locations on Debian)
Line 306: Line 306:


  ./configure CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial
  ./configure CPPFLAGS=-I/usr/include/hdf5/serial LDFLAGS=-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/serial
Another issue you may have on Debian systems, even when using the correct hdf5 libraries, is that they are installed in a non-standard location which is not found by configure. This will result in the following warning after running configure:
  WARNING: HDF5 library not found. Octave will not be able to save or load HDF5 data files.
To avoid this you can manually specify the hdf5 locations in the following way:
  ./configure --with-hdf5-includedir=/usr/include/hdf5/serial --with-hdf5-libdir=/usr/lib/x86_64-linux-gnu/hdf5/serial
Further information can be found in [https://savannah.gnu.org/bugs/?38928 this bug discussion] starting with comment #19.


[[Category:Building]]
[[Category:Building]]
[[Category:Installation]]
[[Category:Installation]]
[[Category:Debian]]
[[Category:Debian]]
39

edits