

- HOW TO INSTALL OCTAVE ON MAC HOW TO
- HOW TO INSTALL OCTAVE ON MAC UPDATE
- HOW TO INSTALL OCTAVE ON MAC FULL
- HOW TO INSTALL OCTAVE ON MAC DOWNLOAD
Similarly, Anaconda compiler tools work better than gcc/g++.We will talk about how to install PIP on Mac.
HOW TO INSTALL OCTAVE ON MAC UPDATE
I get my compiler tools (clang/clang++) from Anaconda, not gcc/g++īut honestly please update to the latest versions of everything (as above) and try again using only the Octave MacOS bundle and Octave-Forge not MacPorts, it should work.įYI in general I was told back around 2015 people switched from MacPorts to brew, brew is said to be less brittle and easier-to-use.
HOW TO INSTALL OCTAVE ON MAC FULL
(You might only have command-line tools for Xcode, not a full Xcode install) So if you really wish to keep debugging that, look at the many solutions on SO or Apple to xcode. Warning: xcodebuild exists but failed to execute Warning: Xcode does not appear to be installed looks like the wrong version of xcode is installed. I expect using Octave's own Octave-Forge for package installs should be cleaner than ports, looking at your output from sudo port install octave-*. Pkg install -forge io works for me (gets the package directly from Octave-Forge)Īs to the MacPorts method, I can't speak for it, I never needed to use that (I use brew instead, but not for octave), it looks more painful and more error-prone. It's super fast, it includes GUI, and there's none of the delay with gcc48 you mentioned. I was wondering how you can install Octave packages on MacOS?įirst, your versions of everything are old, it worked for me with the latest: MacOS 10.13 + Xcode 9.2 + clang-4.0 (4.0.1 from Anaconda) + Octave 4.0.3.įor Octave 4.0.3 I used their MacOS bundle, not MacPorts. To report a bug, follow the instructions in the guide:Įrror: Processing of port octave-general failed opt/local/var/macports/logs/_opt_local_var_macports_sources_release_tarballs_ports_devel_dbus/dbus/main.logĮrror: The following dependencies were not installed: octave qscintilla qt4-mac dbus libmng texinfo texlive-basic texlive-bin harfbuzz-icu icu libzzip poppler openjpeg15 poppler-data potrace texlive-common xorg-libXaw xorg-libXmu xorg-libXi xorg-inputproto xorg-libXfixes xorg-fixesproto xorg-libXp xorg-printproto texlive-fonts-recommended texlive-latex transfig netpbm libnetpbm Please see the log file for port dbus for details: Use 'port -f activate dbus' to force the activation. > Activating dbus for port dbus returned: Image error: /Library/LaunchAgents/ already exists and does not belong to a registered port. > Dependencies to be installed: octave qscintilla qt4-mac dbus libmng texinfo texlive-basic texlive-bin harfbuzz-icu icu libzzip poppler openjpeg15 poppler-data potrace texlive-common xorg-libXaw xorg-libXmu xorg-libXi xorg-inputproto xorg-libXfixes xorg-fixesproto xorg-libXp xorg-printproto texlive-fonts-recommended texlive-latex transfig netpbm libnetpbm

> Computing dependencies for octave-general Warning: Xcode does not appear to be installed most ports will likely fail to build. However it just stopped and the following is printed at sudo port install octave-general: Warning: xcodebuild exists but failed to execute
HOW TO INSTALL OCTAVE ON MAC DOWNLOAD
Installer that you can download from Macports.

But it doesn't seem to work, and the following error is printed out /usr/local/octave/3.8.0/bin/mkoctfile-3.8.0: line 512: 1600 Segmentationįault: 11 /usr/local/octave/3.8.0/bin/g++-mp-4.7 -c -fPIC -I/usr/local/octave/3.8.0/include/octave-3.8.0/octave/. Specifically with the following command pkg install -forge io. I tried installing packages (package io from Octave Forge) on Octave on a Macbook Air.
