#環境
- macOS: High Sierra ver 10.13.6
- Homebrew: 1.8.2
- Xcode: Version 10.1 (10B61)
- java: version 1.8.0_45
#事象
以下の手順でhomebrewでoctaveをインストールし、
$ octave
とすると、それぞれエラーメッセージが出力され、起動できません。
##手順1
$ brew update && brew upgrade
$ brew uninstall gnuplot
$ brew install gnuplot --with-aquaterm
$ brew install octave
Updating Homebrew...
==> Downloading https://homebrew.bintray.com/bottles/octave-4.4.1_2.high_sierra.bott
Already downloaded: /Users/userName/Library/Caches/Homebrew/downloads/4754505a936ed3402dbe09364f9b546ea9de0214c62c9944584cf49ac2df75b5--octave-4.4.1_2.high_sierra.bottle.tar.gz
==> Pouring octave-4.4.1_2.high_sierra.bottle.tar.gz
???? /usr/local/Cellar/octave/4.4.1_2: 2,187 files, 48.5MB
$ octave
dyld: Library not loaded: /usr/local/opt/suite-sparse/lib/libcholmod.3.0.12.dylib
Referenced from: /usr/local/Cellar/octave/4.4.1_2/bin/octave-cli-4.4.1
Reason: image not found
[1] 36541 abort octave
手順2
$ brew tap dpo/openblas
$ brew tap-pin dpo/openblas
$ brew install dpo/openblas/octave --devel --with-qt --with-java
Updating Homebrew...
==> Installing octave from dpo/openblas
==> Cloning https://hg.savannah.gnu.org/hgweb/octave
Updating /Users/userName/Library/Caches/Homebrew/octave--hg
pulling from https://hg.savannah.gnu.org/hgweb/octave
searching for changes
no changes found
==> Checking out revision d0221e3675ef
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
==> Downloading https://savannah.gnu.org/bugs/download.php?file_id=42886
Already downloaded: /Users/userName/Library/Caches/Homebrew/downloads/6e9e5f8313017d49bdb6168e5249c63ca43789af28bf60b17b1ce1b6869136d3--octave-qt_wait_on_worker_thread-djs2017sep25.patch
==> Downloading https://savannah.gnu.org/bugs/download.php?file_id=43077
Already downloaded: /Users/userName/Library/Caches/Homebrew/downloads/acdfff4dd3a75ab9a16a3f092aa14a44de88b37d13d5f3562c5476e0bb524fe5--per_figure_displaypixelratio.diff
==> Patching
==> Applying octave-qt_wait_on_worker_thread-djs2017sep25.patch
patching file libgui/src/main-window.cc
Hunk #1 succeeded at 215 (offset -2 lines).
Hunk #2 succeeded at 1570 (offset 5 lines).
==> Applying per_figure_displaypixelratio.diff
patching file libgui/graphics/Figure.cc
patching file libgui/graphics/Figure.h
patching file libgui/graphics/FigureWindow.cc
patching file libgui/graphics/FigureWindow.h
patching file libgui/graphics/GLCanvas.cc
patching file libgui/graphics/gl-select.cc
patching file libgui/graphics/gl-select.h
patching file libinterp/corefcn/gl-render.cc
patching file libinterp/corefcn/gl-render.h
patching file libinterp/corefcn/graphics.cc
patching file libinterp/corefcn/graphics.in.h
patching file m4/acinclude.m4
==> ./bootstrap
==> ./configure --prefix=/usr/local/Cellar/octave/4.3-d0221e3675ef_1 --disable-silen
==> make all
Last 15 lines from /Users/userName/Library/Logs/Homebrew/octave/03.make:
^
/usr/local/Cellar/qt/5.11.2/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'QButtonGroup'
class QButtonGroup;
^
libgui/src/settings-dialog.cc:312:13: error: member access into incomplete type 'QButtonGroup'
icon_group->addButton (ui->general_icon_letter);
^
/usr/local/Cellar/qt/5.11.2/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'QButtonGroup'
class QButtonGroup;
^
8 errors generated.
make[2]: *** [libgui/src/libgui_src_la-settings-dialog.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/dpo/homebrew-openblas/issues
These open issues may also help:
Error installing Octave https://github.com/dpo/homebrew-openblas/issues/80
Error installing Octave on MacOS X https://github.com/dpo/homebrew-openblas/issues/83
Installing Octave currents version https://github.com/dpo/homebrew-openblas/issues/59
Octave version 4.4.0 https://github.com/dpo/homebrew-openblas/pull/61
Error making Octave 4.2.1 https://github.com/dpo/homebrew-openblas/issues/53
#試したこと
- キャッシュを削除して再インストール -> 動作変化無し
- xCodeのアップデート -> 動作変化無し
- brew doctor, brew update, brew upgrade -> 問題無し
- libcholmod.3.0.12.dylibのインストール -> 方法不明
- xCode再インストール -> 動作変化なし
- rmtreeで依存パッケージを削除後再インストール -> 動作変化無し
分かる方がおりましたら、お教えいただきたいです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。