Created
February 26, 2013 06:59
-
-
Save edwardw/5036535 to your computer and use it in GitHub Desktop.
Revisions
-
edwardw revised this gist
Feb 26, 2013 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ There are some mysterious errors when trying to install miscellaneous package from octave-forge: error: variable length array of non-POD element type 'Array<octave_idx_type>' etc. This happens to homebrew-ed octave 3.6.4. The issue seems to have something to do with clang, the default compiler homebrew uses to install octave. The solution for now is to use gcc instead: -
edwardw created this gist
Feb 26, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ There are some mysterious errors when trying to install miscellaneous package from octave-forge: error: variable length array of non-POD element type 'Array<octave_idx_type>' etc. This happens to homebrew-ed octave 3.6.4. The issue seems to have something to do with clang, the default compiler homebrew uses to install octave. The solution for now is to use gcc instead: ``` $ export CXX=llvm-g++-4.2 $ octave octave> pkg install -forge miscellaneous ```