Skip to content

Instantly share code, notes, and snippets.

@liangqi
Created March 5, 2014 09:57
Show Gist options
  • Save liangqi/9364380 to your computer and use it in GitHub Desktop.
Save liangqi/9364380 to your computer and use it in GitHub Desktop.
$ brew install octave
Warning: No developer tools installed.
You should install the Command Line Tools.
Run `xcode-select --install` to install them.
==> Installing dependencies for octave: lua, gmp, mpfr, libmpc, isl, cloog, gfortran, gnu-sed, texinfo, fftw, readline, arp
==> Installing octave dependency: lua
==> Downloading http://www.lua.org/ftp/lua-5.1.5.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file Makefile
patching file src/Makefile
patching file src/lua.c
==> make macosx INSTALL_TOP=/usr/local/Cellar/lua/5.1.5 INSTALL_MAN=/usr/local/Cellar/lua/5.1.5/share/man/man1
==> make install INSTALL_TOP=/usr/local/Cellar/lua/5.1.5 INSTALL_MAN=/usr/local/Cellar/lua/5.1.5/share/man/man1
๐Ÿบ /usr/local/Cellar/lua/5.1.5: 15 files, 276K, built in 3 seconds
==> Installing octave dependency: gmp
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gmp-5.1.3.mavericks.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring gmp-5.1.3.mavericks.bottle.2.tar.gz
๐Ÿบ /usr/local/Cellar/gmp/5.1.3: 12 files, 2.6M
==> Installing octave dependency: mpfr
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/mpfr-3.1.2.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring mpfr-3.1.2.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/mpfr/3.1.2: 23 files, 3.3M
==> Installing octave dependency: libmpc
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libmpc-1.0.1.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring libmpc-1.0.1.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/libmpc/1.0.1: 9 files, 292K
==> Installing octave dependency: isl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/isl-0.12.1.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring isl-0.12.1.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/isl/0.12.1: 55 files, 3.1M
==> Installing octave dependency: cloog
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cloog-0.18.1.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring cloog-0.18.1.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/cloog/0.18.1: 33 files, 556K
==> Installing octave dependency: gfortran
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/gfortran-4.8.2.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring gfortran-4.8.2.mavericks.bottle.1.tar.gz
==> Caveats
Formulae that require a Fortran compiler should use:
depends_on :fortran
==> Summary
๐Ÿบ /usr/local/Cellar/gfortran/4.8.2: 960 files, 113M
==> Installing octave dependency: gnu-sed
==> Downloading http://ftpmirror.gnu.org/sed/sed-4.2.2.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/gnu-sed/4.2.2 --program-prefix=g
==> make install
==> Caveats
The command has been installed with the prefix 'g'.
If you do not want the prefix, install using the 'default-names' option.
If you need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:
PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
Additionally, you can access their man pages with normal names if you add
the "gnuman" directory to your MANPATH from your bashrc as well:
MANPATH="/usr/local/opt/gnu-sed/libexec/gnuman:$MANPATH"
==> Summary
๐Ÿบ /usr/local/Cellar/gnu-sed/4.2.2: 8 files, 348K, built in 32 seconds
==> Installing octave dependency: texinfo
==> Downloading http://ftpmirror.gnu.org/texinfo/texinfo-5.2.tar.gz
######################################################################## 100.0%
==> ./configure --disable-install-warnings --prefix=/usr/local/Cellar/texinfo/5.2
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Software that uses TeX, such as lilypond and octave, require a newer version
se files.
==> Summary
๐Ÿบ /usr/local/Cellar/texinfo/5.2: 390 files, 7.0M, built in 47 seconds
==> Installing octave dependency: fftw
==> Downloading http://www.fftw.org/fftw-3.3.3.tar.gz
######################################################################## 100.0%
==> ./configure --enable-single --enable-shared --prefix=/usr/local/Cellar/fftw/3.3.3 --enable-threads --disable-fortran --enable-
==> make install
==> make clean
==> ./configure --enable-shared --prefix=/usr/local/Cellar/fftw/3.3.3 --enable-threads --disable-fortran --enable-sse2 --enable-av
==> make install
==> make clean
==> ./configure --enable-long-double --enable-shared --prefix=/usr/local/Cellar/fftw/3.3.3 --enable-threads --disable-fortran
==> make install
๐Ÿบ /usr/local/Cellar/fftw/3.3.3: 36 files, 16M, built in 3.0 minutes
==> Installing octave dependency: readline
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/readline-6.2.4.mavericks.bottle.2.tar.gz
######################################################################## 100.0%
==> Pouring readline-6.2.4.mavericks.bottle.2.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary
๐Ÿบ /usr/local/Cellar/readline/6.2.4: 31 files, 1.6M
==> Installing octave dependency: arpack
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/arpack-ng_3.1.4.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/arpack/3.1.4/libexec
==> make
==> make install
๐Ÿบ /usr/local/Cellar/arpack/3.1.4: 12 files, 1.1M, built in 12 seconds
==> Installing octave dependency: tbb
==> Downloading https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb42_20130725oss_src.tgz
######################################################################## 100.0%
==> Patching
patching file build/version_info_macos.sh
==> make tbb_build_prefix=BUILDPREFIX compiler=clang arch=intel64
๐Ÿบ /usr/local/Cellar/tbb/4.2: 99 files, 1.6M, built in 9 seconds
==> Installing octave dependency: suite-sparse
==> Downloading http://www.cise.ufl.edu/research/sparse/SuiteSparse/SuiteSparse-4.2.1.tar.gz
######################################################################## 100.0%
==> mv SuiteSparse_config/SuiteSparse_config.mk SuiteSparse_config/SuiteSparse_config_orig.mk
==> mv SuiteSparse_config/SuiteSparse_config_Mac.mk SuiteSparse_config/SuiteSparse_config.mk
==> make library
==> make install
๐Ÿบ /usr/local/Cellar/suite-sparse/4.2.1: 76 files, 3.6M, built in 98 seconds
==> Installing octave dependency: szip
==> Downloading http://www.hdfgroup.org/ftp/lib-external/szip/2.1/src/szip-2.1.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/szip/2.1
==> make install
๐Ÿบ /usr/local/Cellar/szip/2.1: 9 files, 136K, built in 11 seconds
==> Installing octave dependency: hdf5
==> Downloading http://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8.12/src/hdf5-1.8.12.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/hdf5/1.8.12 --enable-production --enable-debug=no --with-zlib=/usr --with-szlib=/usr/lo
==> make install
๐Ÿบ /usr/local/Cellar/hdf5/1.8.12: 119 files, 9.8M, built in 108 seconds
==> Installing octave dependency: pcre
==> Downloading http://downloads.sourceforge.net/project/pcre/pcre/8.34/pcre-8.34.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pcre/8.34 --enable-utf8 --enable-pcre8 --enable-pcre16 --enable-pcre32 --enable-unicode
==> make
==> make test
==> make install
๐Ÿบ /usr/local/Cellar/pcre/8.34: 146 files, 5.7M, built in 43 seconds
==> Installing octave dependency: cmake
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.12.1.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring cmake-2.8.12.1.mavericks.bottle.1.tar.gz
๐Ÿบ /usr/local/Cellar/cmake/2.8.12.1: 701 files, 36M
==> Installing octave dependency: qhull
==> Downloading http://www.qhull.org/download/qhull-2012.1-src.tgz
######################################################################## 100.0%
==> Patching
patching file CMakeLists.txt
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/qhull/2012.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERB
==> make install
๐Ÿบ /usr/local/Cellar/qhull/2012.1: 102 files, 4.5M, built in 10 seconds
==> Installing octave dependency: dotwrp
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Downloading https://github.com/tenomoto/dotwrp/archive/v1.1.tar.gz
######################################################################## 100.0%
==> /usr/local/bin/gfortran -fno-underscoring -c dotwrp.f90
==> ar -cru libdotwrp.a dotwrp.o
==> ranlib libdotwrp.a
๐Ÿบ /usr/local/Cellar/dotwrp/1.1: 3 files, 12K, built in 2 seconds
==> Installing octave dependency: qrupdate
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Building with an alternative Fortran compiler
This is unsupported.
==> Downloading http://downloads.sourceforge.net/qrupdate/qrupdate-1.1.2.tar.gz
######################################################################## 100.0%
==> make install
๐Ÿบ /usr/local/Cellar/qrupdate/1.1.2: 3 files, 320K, built in 3 seconds
==> Installing octave dependency: graphicsmagick
==> Downloading http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.19/GraphicsMagick-1.3.19.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/graphicsmagick/1.3.19 --enable-shared --disable-static --with-modules --disable-openmp
==> make install
๐Ÿบ /usr/local/Cellar/graphicsmagick/1.3.19: 473 files, 12M, built in 65 seconds
==> Installing octave dependency: gnuplot
==> Downloading http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.3/gnuplot-4.6.3.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/gnuplot/4.6.3 --with-readline=/usr/local/opt/readline --with-gd=/usr/local/opt/gd --dis
==> make
==> make install
๐Ÿบ /usr/local/Cellar/gnuplot/4.6.3: 49 files, 4.9M, built in 50 seconds
==> Installing octave dependency: autoconf
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/autoconf-2.69.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring autoconf-2.69.mavericks.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/autoconf/2.69: 69 files, 2.0M
==> Installing octave dependency: automake
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/automake-1.14.1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring automake-1.14.1.mavericks.bottle.tar.gz
๐Ÿบ /usr/local/Cellar/automake/1.14.1: 127 files, 2.5M
==> Installing octave
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Building with an alternative Fortran compiler
This is unsupported.
==> Building with an alternative Fortran compiler
This is unsupported.
==> Building with an alternative Fortran compiler
This is unsupported.
==> Downloading http://ftpmirror.gnu.org/octave/octave-3.8.0.tar.bz2
######################################################################## 100.0%
==> autoreconf -ivf
==> ./configure --prefix=/usr/local/Cellar/octave/3.8.0 --with-blas=-Wl,-framework,Accelerate --with-lapack=-Wl,-framework,Acceler
==> make all
rm octave-value/ov-fcn-handle.df-t
rm octave.df-t
mv operators/ops.cc-t operators/ops.cc
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/homebrew/homebrew-science/issues
These open issues may also help:
Formula for octave (https://github.com/Homebrew/homebrew/pull/2914)
octave failed to build on 10.9 (https://github.com/Homebrew/homebrew/issues/26969)
octave failed to build on 10.9 (https://github.com/Homebrew/homebrew/issues/23611)
octave failed to build on 10.8.5 (https://github.com/Homebrew/homebrew/issues/24804)
octave failed to build on 10.9 (https://github.com/Homebrew/homebrew/issues/23608)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment