Difference between revisions of "Create a MacOS X App Bundle Using Homebrew"

From Octave
Jump to navigation Jump to search
(Mark as outdated.)
(Remove categories to avoid likeliness of getting here.)
 
Line 27: Line 27:
 
* [ctrl]+c crashes the GUI, cf. [https://savannah.gnu.org/bugs/index.php?37672 Bug 37672].
 
* [ctrl]+c crashes the GUI, cf. [https://savannah.gnu.org/bugs/index.php?37672 Bug 37672].
  
[[Category:Macintosh platform]]
 
[[Category:Packaging]]
 
 
[[Category:Outdated pages]]
 
[[Category:Outdated pages]]

Latest revision as of 17:40, 16 October 2019

Warning icon.svg
This page is outdated (October 2019). For more recent information, see Octave for macOS.

Introduction[edit]

This tutorial explains how to build Octave.app (version >4) using Homebrew. It is recommended that users either

Prerequisites[edit]

  • Install Xcode via the Mac App Store.
  • Install the command line tools by xcode-select --install.
  • Optional: install XQuartz, e.g. if you want to use Gnuplot with X11 backend.

Creating the App Bundle and Disk Image[edit]

The script "install_octave.sh" from the github repository

https://github.com/schoeps/octave_installer

will ask some questions, e.g. regarding the installation path (/Applications/Octave.app is recommended) or whether Octave should be compiled with or without graphical user interface and finally whether a disk image should be created or not. If you choose to install to the Applications folder then the script needs to run with administration rights.

The script installs all necessary dependencies of octave via homebrew; it's using openblas instead of Apple's native implementation.

Known limitations[edit]

  • Plotting should work with Gnuplot and Qt graphic toolkits. However, sometimes it takes a long time to initialize.
  • the application bundle is not relocatable (must be placed in the /Applications directory).
  • [ctrl]+c crashes the GUI, cf. Bug 37672.