Octave for macOS: Difference between revisions

Jump to navigation Jump to search
142 bytes added ,  13 November 2013
no edit summary
No edit summary
No edit summary
Line 76: Line 76:
Copy [https://raw.github.com/Homebrew/homebrew-science/master/hdf5.rb hdf5.rb] into /usr/local/Library/Formula. Then run <pre> brew install hdf5 </pre>
Copy [https://raw.github.com/Homebrew/homebrew-science/master/hdf5.rb hdf5.rb] into /usr/local/Library/Formula. Then run <pre> brew install hdf5 </pre>
Currently as of Nov 13, 2013 you also have to adjust the hdf5 version number to hdf5-1.8.12.tar.bz2 and remove the checksum line below.
Currently as of Nov 13, 2013 you also have to adjust the hdf5 version number to hdf5-1.8.12.tar.bz2 and remove the checksum line below.
Should the fltk download fail, you can download http://fltk.org/pub/fltk/1.3.2/fltk-1.3.2-source.tar.gz to /Library/Caches/Homebrew/fltk-1.3.2.tar.gz and resume with brew install octave. If you happen to run into trouble in the last step, building octave, because your autotools are outdated, you can brew install them, after that brew link automate them with --force and then symlink them (e.g. /usr/local/bin/automake->/usr/local/bin/automake-1.14).  
Should the fltk download fail, you can download http://fltk.org/pub/fltk/1.3.2/fltk-1.3.2-source.tar.gz to /Library/Caches/Homebrew/fltk-1.3.2.tar.gz and resume with brew install octave. If you happen to run into trouble in the last step, building octave, because your autotools are outdated, you can brew install them, after that brew link automate them with --force and then symlink them (e.g. /usr/local/bin/automake->/usr/local/bin/automake-1.14). If octave doesn't start, try
sudo cp /usr/X11/lib/libfontconfig.1.dylib /usr/lib/
and
sudo cp /usr/X11/lib/libfreetype.6.dylib /usr/lib/


Note: If brew complains about not having a formula for octave, the following command should fix it:
Note: If brew complains about not having a formula for octave, the following command should fix it:
Anonymous user

Navigation menu