Skip to content

Instantly share code, notes, and snippets.

@edwardw
Created February 26, 2013 06:59
Show Gist options
  • Select an option

  • Save edwardw/5036535 to your computer and use it in GitHub Desktop.

Select an option

Save edwardw/5036535 to your computer and use it in GitHub Desktop.

Revisions

  1. edwardw revised this gist Feb 26, 2013. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.md
    Original 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:
  2. edwardw created this gist Feb 26, 2013.
    11 changes: 11 additions & 0 deletions gistfile1.md
    Original 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
    ```