Standard UNIX build, but depends on Fast Light Toolkit (FLTK) for native graphical plotting. We manually maintain /util/fltk/ for Octave.
Config warns about ~8 other missing libraries and loss of functionality. If this turns out to be a problem, we can rebuild with those libraries. They're probably not available via yum, so we'll need to manage them manually in /util, too.
configure:64165: WARNING: UMFPACK not found. This will result in some lack of functionality for sparse matrices.
configure:64171: WARNING: qrupdate not found. The QR & Cholesky updating functions will be slow.
configure:64177: WARNING: AMD library not found. This will result in some lack of functionality for sparse matrices.
configure:64183: WARNING: COLAMD library not found. This will result in some lack of functionality for sparse matrices.
configure:64189: WARNING: CCOLAMD library not found. This will result in some lack of functionality for sparse matrices.
configure:64195: WARNING: CHOLMOD library not found. This will result in some lack of functionality for sparse matrices.
configure:64201: WARNING: CXSparse library not found. This will result in some lack of functionality for sparse matrices.
configure:64219: WARNING: GLPK library not found. The glpk function for solving linear programs will be disabled.
configure:64225: WARNING: GraphicsMagick++ library not found. The imread function for reading image files will not be fully functional.
configure:64231: WARNING: HDF5 library not found. Octave will not be able to save or load HDF5 data files.
configure:64249: WARNING: Qhull library not found -- this will result in loss of functionality of some geometry functions.
Install FLTK
[lethe] % setenv CFLAGS "-fPIC"
[lethe] % setenv CXXFLAGS "-fPIC"
[lethe] fltk-1.3.1% ./configure --prefix=/util/fltk-1.3.1
[lethe] fltk-1.3.1% make
[lethe] fltk-1.3.1% sudo make install clean
Install Gnu Octave
[lethe] % setenv CFLAGS "-fPIC"
[lethe] % setenv CXXFLAGS "-fPIC"
[lethe] octave-3.6.3% ./configure --prefix=/util/octave-3.6.3 --with-fltk-prefix=/util/fltk --without-curl --disable-docs
[lethe] octave-3.6.3% make
[lethe] octave-3.6.3% make check
[lethe] octave-3.6.3% sudo make install
- Needed to update curl to the latest to get past an Octave make error.
- Nope. Updated curl fails. Now configuring without curl.
- Errors building doc. Updating TeX didn't work. Internet community suggests the only solution is to --disable-docs.
- ftp://ftp.gnu.org/gnu/octave/
- http://www.fltk.org/index.php