Octave installation failed #444

Closed
lxcid opened this Issue Nov 4, 2013 · 8 comments

Comments

Projects
None yet
6 participants

lxcid commented Nov 4, 2013

Making install in doc
Making install in faq
make[4]: Nothing to be done for `install-exec-am'.
 ../../build-aux/install-sh -c -d '/usr/local/Cellar/octave/3.6.4/share/info'
 /usr/bin/install -c -m 644 ./OctaveFAQ.info '/usr/local/Cellar/octave/3.6.4/share/info'
 install-info --info-dir='/usr/local/Cellar/octave/3.6.4/share/info' '/usr/local/Cellar/octave/3.6.4/share/info/OctaveFAQ.info'
Making install in icons
make[4]: Nothing to be done for `install-exec-am'.
if test -n ""; then \
       --dir=/usr/local/Cellar/octave/3.6.4/share/applications \
        --vendor www.octave.org octave.desktop; \
    fi
 ../../build-aux/install-sh -c -d '/usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/imagelib'
 /usr/bin/install -c -m 644 octave-logo.ico octave-logo.png octave-logo.svg octave-sombrero.png '/usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/imagelib'
Making install in interpreter
restore=: && backupdir=".am$$" && \
    am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
    rm -rf $backupdir && mkdir $backupdir && \
    if (/bin/sh /private/tmp/octave-Y50D/octave-3.6.4/build-aux/missing makeinfo --version) >/dev/null 2>&1; then \
      for f in octave.info octave.info-[0-9] octave.info-[0-9][0-9] octave.i[0-9] octave.i[0-9][0-9]; do \
        if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
      done; \
    else :; fi && \
    cd "$am__cwd"; \
    if /bin/sh /private/tmp/octave-Y50D/octave-3.6.4/build-aux/missing makeinfo   -I . \
     -o octave.info octave.texi; \
    then \
      rc=0; \
      CDPATH="${ZSH_VERSION+.}:" && cd .; \
    else \
      rc=$?; \
      CDPATH="${ZSH_VERSION+.}:" && cd . && \
      $restore $backupdir/* `echo "./octave.info" | sed 's|[^/]*$||'`; \
    fi; \
    rm -rf $backupdir; exit $rc
octave.texi:132: warning: @end should only appear at a line beginning
./strings.texi:1139: @itemx must follow @item
./io.texi:1393: warning: @table has text but no @item
./plot.texi:2711: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:2714: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:2717: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:2720: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:2734: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:2737: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:2740: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:2743: must be after `@deftypefn' to use `@deftypefnx'
./plot.texi:3150: @itemx must follow @item
./plot.texi:3165: @itemx must follow @item
./plot.texi:4142: @itemx must follow @item
./plot.texi:4146: @itemx must follow @item
./plot.texi:6299: @itemx must follow @item
./plot.texi:6303: @itemx must follow @item
./plot.texi:6307: @itemx must follow @item
./plot.texi:6445: must be after `@deftypefn' to use `@deftypefnx'
./set.texi:154: must be after `@deftypefn' to use `@deftypefnx'
./poly.texi:86: must be after `@deftypefn' to use `@deftypefnx'
./signal.texi:458: must be after `@deftypefn' to use `@deftypefnx'
./signal.texi:462: must be after `@deftypefn' to use `@deftypefnx'
./signal.texi:467: must be after `@deftypefn' to use `@deftypefnx'
./audio.texi:150: must be after `@deftypefn' to use `@deftypefnx'
./audio.texi:154: must be after `@deftypefn' to use `@deftypefnx'
./audio.texi:157: must be after `@deftypefn' to use `@deftypefnx'
./audio.texi:160: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:842: warning: command @dots does not accept arguments
./system.texi:1264: warning: @itemx should not begin @table
./system.texi:1266: @itemx must follow @item
./system.texi:2793: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:2811: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:2814: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:2882: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:2885: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:2888: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:2893: must be after `@deftypefn' to use `@deftypefnx'
./system.texi:2906: must be after `@deftypefn' to use `@deftypefnx'
./tips.texi:301: warning: @item missing argument
./tips.texi:304: warning: @item missing argument
./tips.texi:307: warning: @item missing argument
./tips.texi:310: warning: @item missing argument
./tips.texi:313: warning: @item missing argument
./plot.texi:3392: warning: node `Printing and Saving Plots' is next for `Multiple Plot Windows' in menu but not in sectioning
./plot.texi:3957: warning: node `Multiple Plot Windows' is prev for `Printing and Saving Plots' in menu but not in sectioning
make[3]: *** [octave.info] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2

HOMEBREW_VERSION: 0.9.5
HEAD: 511f9d38d1b22955e1a977252f7dee64fbcfeedc
CPU: 8-core 64-bit haswell
OS X: 10.9-x86_64
Xcode: 5.0.1
CLT: 5.0.1.0.1.1382131676
X11: 2.7.4 => /opt/X11

lxcid commented Nov 4, 2013

I was able to resolve my issue with the following command

brew install https://raw.github.com/Homebrew/homebrew-science/3c3fe3baaf926437f750f65456769c124d6be8e1/octave.rb --env=std

Solution taken from: https://class.coursera.org/ml-004/forum/thread?thread_id=672#post-4203

pmetzner commented Nov 4, 2013

I may add that the "--env=std" bit also helps if building octave fails because it reports a wrong autoconf version. Let's see if I can revert my "brew link --force automake" attempts from yesterday…

appanp commented Nov 7, 2013

I tried with both the patches given in the coursers forum post, both of them did not work: so I am waiting for a proper fix for this.

See #424 . The following patch (just apply it manually after typing brew edit octave) provided a temporary fix with no serious side effects bar the lack of html / texinfo documentation.

diff --git a/octave.rb b/octave.rb
index bf47762..6483110 100644
--- a/octave.rb
+++ b/octave.rb
@@ -76,6 +76,7 @@ class Octave < Formula
       "--with-blas=#{blas_flags}",
       # SuiteSparse-4.x.x fix, see http://savannah.gnu.org/bugs/?37031
       "--with-umfpack=-lumfpack -lsuitesparseconfig",
+      "--enable-docs=no",
     ]
     args << "--without-framework-carbon" if MacOS.version >= :lion
     # avoid spurious 'invalid assignment to cs-list' erorrs on 32 bit installs:

dpo was assigned Nov 19, 2013

Contributor

dpo commented Nov 22, 2013

@appanp Does octave build for you if you disable the documentation, as suggested by @dexterurbane? Perhaps there could be an option for that.

appanp commented Nov 23, 2013

While I commented first, 16 days ago, I was on Mountain Lion (OSX 10.8). Now I have moved to mavericks (10.9) and the formula referred to by @lxcid is working for me without disabling the documentation. But I am still seeing WARNING for GLPK library not found even though Homebrew lists GLPK 4.52 as installed.

Contributor

kitmonisit commented Nov 23, 2013

The GLPK API has changed. See #512.

Contributor

dpo commented Nov 23, 2013

I'm closing this since the issue is different.

dpo closed this Nov 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment