Octave for Debian systems: Difference between revisions

Jump to navigation Jump to search
→‎Compiling from source: adjust instructions to set FLAGS instead of the --with-hdf5 options (see bug 44370)
(→‎extra dependencies for the development version: libsndfile is a dependency for audio functions)
(→‎Compiling from source: adjust instructions to set FLAGS instead of the --with-hdf5 options (see bug 44370))
Line 31: Line 31:
The problem is that there are multiple versions of the hdf5 package.  Octave was written with the serial version in mind but it is likely to work with the others (OpenMPI and Mpich). Due to the naming scheme done in Debian, it is required to specify the location of the libraries.  See bug {{bug|38928}} for details but basically, use the following when running configure:
The problem is that there are multiple versions of the hdf5 package.  Octave was written with the serial version in mind but it is likely to work with the others (OpenMPI and Mpich). Due to the naming scheme done in Debian, it is required to specify the location of the libraries.  See bug {{bug|38928}} for details but basically, use the following when running configure:


  ./configure --with-hdf5-includedir=/usr/include/hdf5/serial/ --with-hdf5-libdir=/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


=== Dependencies ===
=== Dependencies ===

Navigation menu