Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Can't install Octave on 10.7.5 #18141

Closed
js13422 opened this Issue · 6 comments

4 participants

@js13422

I am trying to install octave. I spend now about 10h and it still doesn't work. I tried to link fortran-libraries, modify the path and library_path-variable without success.

brew install octave

Result:

==> Downloading http://ftpmirror.gnu.org/octave/octave-3.6.4.tar.bz2
Already downloaded: /Library/Caches/Homebrew/octave-3.6.4.tar.bz2
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> ./configure --prefix=/usr/local/Cellar/octave/3.6.4 --with-blas=-Wl,-framework -Wl,Accelerate --with-umfpack=-lumfpack -lsuitesparseconfig --without-framework-carbon
==> make all
make[3]: *** Waiting for unfinished jobs....
libtool: link: ( cd "DLD-FUNCTIONS/.libs" && rm -f "lin_interpn.la" && ln -s "../lin_interpn.la" "lin_interpn.la" )
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

These open issues may also help:
#17320
#17583

brew doctor

brew doctor
Your system is raring to brew.

brew config

brew --config
HOMEBREW_VERSION: 0.9.4
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 3e53265
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: dual-core 64-bit penryn
OS X: 10.7.5-x86_64
Xcode: 4.6
CLT: 1.0.0.9000000000.1.1249367152
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.2 build 425
X11: 2.6.4 => /usr/X11
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

PATH

echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/usr/local/sbin

LIBRARY_PATH

echo $LIBRARY_PATH
:/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/libgfortran.a:/usr/local/lib/gcc

Path of fortran and gcc:

ls -l /usr/local/lib/
total 960
lrwxr-xr-x 1 iicc admin 50 27 Feb 22:41 GraphicsMagick -> ../Cellar/graphicsmagick/1.3.17/lib/GraphicsMagick
drwxr-xr-x 3 root wheel 102 4 Apr 2011 ImageMagick-6.6.9
drwxr-xr-x 89 root wheel 3026 24 Dez 2009 aspell-0.60
lrwxr-xr-x 1 iicc admin 63 27 Feb 22:41 libGraphicsMagick++.3.dylib -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagick++.3.dylib
lrwxr-xr-x 1 iicc admin 61 27 Feb 22:41 libGraphicsMagick++.dylib -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagick++.dylib
lrwxr-xr-x 1 iicc admin 58 27 Feb 22:41 libGraphicsMagick++.la -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagick++.la
lrwxr-xr-x 1 iicc admin 61 27 Feb 22:41 libGraphicsMagick.3.dylib -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagick.3.dylib
lrwxr-xr-x 1 iicc admin 59 27 Feb 22:41 libGraphicsMagick.dylib -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagick.dylib
lrwxr-xr-x 1 iicc admin 56 27 Feb 22:41 libGraphicsMagick.la -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagick.la
lrwxr-xr-x 1 iicc admin 65 27 Feb 22:41 libGraphicsMagickWand.2.dylib -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagickWand.2.dylib
lrwxr-xr-x 1 iicc admin 63 27 Feb 22:41 libGraphicsMagickWand.dylib -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagickWand.dylib
lrwxr-xr-x 1 iicc admin 60 27 Feb 22:41 libGraphicsMagickWand.la -> ../Cellar/graphicsmagick/1.3.17/lib/libGraphicsMagickWand.la
lrwxr-xr-x 1 iicc admin 47 27 Feb 22:36 libamd.2.3.1.a -> ../Cellar/suite-sparse/4.0.2/lib/libamd.2.3.1.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:36 libamd.a -> ../Cellar/suite-sparse/4.0.2/lib/libamd.a
lrwxr-xr-x 1 iicc admin 47 27 Feb 22:36 libbtf.1.2.0.a -> ../Cellar/suite-sparse/4.0.2/lib/libbtf.1.2.0.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:36 libbtf.a -> ../Cellar/suite-sparse/4.0.2/lib/libbtf.a
lrwxr-xr-x 1 iicc admin 48 27 Feb 22:36 libcamd.2.3.1.a -> ../Cellar/suite-sparse/4.0.2/lib/libcamd.2.3.1.a
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:36 libcamd.a -> ../Cellar/suite-sparse/4.0.2/lib/libcamd.a
lrwxr-xr-x 1 iicc admin 51 27 Feb 22:36 libccolamd.2.8.0.a -> ../Cellar/suite-sparse/4.0.2/lib/libccolamd.2.8.0.a
lrwxr-xr-x 1 iicc admin 45 27 Feb 22:36 libccolamd.a -> ../Cellar/suite-sparse/4.0.2/lib/libccolamd.a
lrwxr-xr-x 1 iicc admin 51 27 Feb 22:36 libcholmod.2.0.1.a -> ../Cellar/suite-sparse/4.0.2/lib/libcholmod.2.0.1.a
lrwxr-xr-x 1 iicc admin 45 27 Feb 22:36 libcholmod.a -> ../Cellar/suite-sparse/4.0.2/lib/libcholmod.a
lrwxr-xr-x 1 iicc admin 50 27 Feb 22:36 libcolamd.2.8.0.a -> ../Cellar/suite-sparse/4.0.2/lib/libcolamd.2.8.0.a
lrwxr-xr-x 1 iicc admin 44 27 Feb 22:36 libcolamd.a -> ../Cellar/suite-sparse/4.0.2/lib/libcolamd.a
lrwxr-xr-x 1 iicc admin 52 27 Feb 22:36 libcxsparse.3.1.1.a -> ../Cellar/suite-sparse/4.0.2/lib/libcxsparse.3.1.1.a
lrwxr-xr-x 1 iicc admin 46 27 Feb 22:36 libcxsparse.a -> ../Cellar/suite-sparse/4.0.2/lib/libcxsparse.a
lrwxr-xr-x 1 iicc admin 36 27 Feb 23:07 libdotwrp.a -> ../Cellar/dotwrp/1.1/lib/libdotwrp.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:32 libfftw3.3.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3.3.dylib
lrwxr-xr-x 1 iicc admin 35 27 Feb 22:32 libfftw3.a -> ../Cellar/fftw/3.3.3/lib/libfftw3.a
lrwxr-xr-x 1 iicc admin 39 27 Feb 22:32 libfftw3.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3.dylib
lrwxr-xr-x 1 iicc admin 49 27 Feb 22:32 libfftw3_threads.3.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3_threads.3.dylib
lrwxr-xr-x 1 iicc admin 43 27 Feb 22:32 libfftw3_threads.a -> ../Cellar/fftw/3.3.3/lib/libfftw3_threads.a
lrwxr-xr-x 1 iicc admin 47 27 Feb 22:32 libfftw3_threads.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3_threads.dylib
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:32 libfftw3f.3.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3f.3.dylib
lrwxr-xr-x 1 iicc admin 36 27 Feb 22:32 libfftw3f.a -> ../Cellar/fftw/3.3.3/lib/libfftw3f.a
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:32 libfftw3f.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3f.dylib
lrwxr-xr-x 1 iicc admin 50 27 Feb 22:32 libfftw3f_threads.3.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3f_threads.3.dylib
lrwxr-xr-x 1 iicc admin 44 27 Feb 22:32 libfftw3f_threads.a -> ../Cellar/fftw/3.3.3/lib/libfftw3f_threads.a
lrwxr-xr-x 1 iicc admin 48 27 Feb 22:32 libfftw3f_threads.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3f_threads.dylib
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:32 libfftw3l.3.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3l.3.dylib
lrwxr-xr-x 1 iicc admin 36 27 Feb 22:32 libfftw3l.a -> ../Cellar/fftw/3.3.3/lib/libfftw3l.a
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:32 libfftw3l.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3l.dylib
lrwxr-xr-x 1 iicc admin 50 27 Feb 22:32 libfftw3l_threads.3.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3l_threads.3.dylib
lrwxr-xr-x 1 iicc admin 44 27 Feb 22:32 libfftw3l_threads.a -> ../Cellar/fftw/3.3.3/lib/libfftw3l_threads.a
lrwxr-xr-x 1 iicc admin 48 27 Feb 22:32 libfftw3l_threads.dylib -> ../Cellar/fftw/3.3.3/lib/libfftw3l_threads.dylib
lrwxr-xr-x 1 iicc admin 34 27 Feb 23:11 libfltk.a -> ../Cellar/fltk/1.3.2/lib/libfltk.a
lrwxr-xr-x 1 iicc admin 40 27 Feb 23:11 libfltk_forms.a -> ../Cellar/fltk/1.3.2/lib/libfltk_forms.a
lrwxr-xr-x 1 iicc admin 37 27 Feb 23:11 libfltk_gl.a -> ../Cellar/fltk/1.3.2/lib/libfltk_gl.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 23:11 libfltk_images.a -> ../Cellar/fltk/1.3.2/lib/libfltk_images.a
lrwxr-xr-x 1 iicc admin 44 8 Feb 22:15 libgd.2.0.0.dylib -> ../Cellar/gd/2.0.36RC1/lib/libgd.2.0.0.dylib
lrwxr-xr-x 1 iicc admin 40 8 Feb 22:15 libgd.2.dylib -> ../Cellar/gd/2.0.36RC1/lib/libgd.2.dylib
lrwxr-xr-x 1 iicc admin 34 8 Feb 22:15 libgd.a -> ../Cellar/gd/2.0.36RC1/lib/libgd.a
lrwxr-xr-x 1 iicc admin 38 8 Feb 22:15 libgd.dylib -> ../Cellar/gd/2.0.36RC1/lib/libgd.dylib
lrwxr-xr-x 1 iicc admin 59 28 Feb 12:30 libgfortran.a -> /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/libgfortran.a
lrwxr-xr-x 1 iicc admin 105 28 Feb 14:43 libgfortranbegin.a -> /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/i386/libgfortranbegin.a
lrwxr-xr-x 1 iicc admin 106 28 Feb 14:43 libgfortranbegin.la -> /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/i386/libgfortranbegin.la
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:38 libglpk.33.dylib -> ../Cellar/glpk/4.48/lib/libglpk.33.dylib
lrwxr-xr-x 1 iicc admin 33 27 Feb 22:38 libglpk.a -> ../Cellar/glpk/4.48/lib/libglpk.a
lrwxr-xr-x 1 iicc admin 37 27 Feb 22:38 libglpk.dylib -> ../Cellar/glpk/4.48/lib/libglpk.dylib
lrwxr-xr-x 1 iicc admin 39 27 Feb 22:59 libgmp.10.dylib -> ../Cellar/gmp/5.0.5/lib/libgmp.10.dylib
lrwxr-xr-x 1 iicc admin 32 27 Feb 22:59 libgmp.a -> ../Cellar/gmp/5.0.5/lib/libgmp.a
lrwxr-xr-x 1 iicc admin 36 27 Feb 22:59 libgmp.dylib -> ../Cellar/gmp/5.0.5/lib/libgmp.dylib
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:59 libgmpxx.4.dylib -> ../Cellar/gmp/5.0.5/lib/libgmpxx.4.dylib
lrwxr-xr-x 1 iicc admin 34 27 Feb 22:59 libgmpxx.a -> ../Cellar/gmp/5.0.5/lib/libgmpxx.a
lrwxr-xr-x 1 iicc admin 38 27 Feb 22:59 libgmpxx.dylib -> ../Cellar/gmp/5.0.5/lib/libgmpxx.dylib
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:49 libhdf5.7.dylib -> ../Cellar/hdf5/1.8.9/lib/libhdf5.7.dylib
lrwxr-xr-x 1 iicc admin 34 27 Feb 22:49 libhdf5.a -> ../Cellar/hdf5/1.8.9/lib/libhdf5.a
lrwxr-xr-x 1 iicc admin 38 27 Feb 22:49 libhdf5.dylib -> ../Cellar/hdf5/1.8.9/lib/libhdf5.dylib
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:49 libhdf5.settings -> ../Cellar/hdf5/1.8.9/lib/libhdf5.settings
lrwxr-xr-x 1 iicc admin 43 27 Feb 22:49 libhdf5_hl.7.dylib -> ../Cellar/hdf5/1.8.9/lib/libhdf5_hl.7.dylib
lrwxr-xr-x 1 iicc admin 37 27 Feb 22:49 libhdf5_hl.a -> ../Cellar/hdf5/1.8.9/lib/libhdf5_hl.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:49 libhdf5_hl.dylib -> ../Cellar/hdf5/1.8.9/lib/libhdf5_hl.dylib
lrwxr-xr-x 1 iicc admin 37 8 Dez 19:09 libjpeg.8.dylib -> ../Cellar/jpeg/8d/lib/libjpeg.8.dylib
lrwxr-xr-x 1 iicc admin 31 8 Dez 19:09 libjpeg.a -> ../Cellar/jpeg/8d/lib/libjpeg.a
lrwxr-xr-x 1 iicc admin 35 8 Dez 19:09 libjpeg.dylib -> ../Cellar/jpeg/8d/lib/libjpeg.dylib
lrwxr-xr-x 1 iicc admin 47 27 Feb 22:36 libklu.1.2.1.a -> ../Cellar/suite-sparse/4.0.2/lib/libklu.1.2.1.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:36 libklu.a -> ../Cellar/suite-sparse/4.0.2/lib/libklu.a
lrwxr-xr-x 1 iicc admin 47 27 Feb 22:36 libldl.2.1.0.a -> ../Cellar/suite-sparse/4.0.2/lib/libldl.2.1.0.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:36 libldl.a -> ../Cellar/suite-sparse/4.0.2/lib/libldl.a
lrwxr-xr-x 1 iicc admin 42 8 Feb 22:13 liblua.5.1.4.dylib -> ../Cellar/lua/5.1.4/lib/liblua.5.1.4.dylib
lrwxr-xr-x 1 iicc admin 40 8 Feb 22:13 liblua.5.1.dylib -> ../Cellar/lua/5.1.4/lib/liblua.5.1.dylib
lrwxr-xr-x 1 iicc admin 36 8 Feb 22:13 liblua.dylib -> ../Cellar/lua/5.1.4/lib/liblua.dylib
lrwxr-xr-x 1 iicc admin 41 27 Feb 23:06 libmpc.3.dylib -> ../Cellar/libmpc/1.0.1/lib/libmpc.3.dylib
lrwxr-xr-x 1 iicc admin 35 27 Feb 23:06 libmpc.a -> ../Cellar/libmpc/1.0.1/lib/libmpc.a
lrwxr-xr-x 1 iicc admin 39 27 Feb 23:06 libmpc.dylib -> ../Cellar/libmpc/1.0.1/lib/libmpc.dylib
lrwxr-xr-x 1 iicc admin 43 27 Feb 23:03 libmpfr.4.dylib -> ../Cellar/mpfr/3.1.1-p2/lib/libmpfr.4.dylib
lrwxr-xr-x 1 iicc admin 37 27 Feb 23:03 libmpfr.a -> ../Cellar/mpfr/3.1.1-p2/lib/libmpfr.a
lrwxr-xr-x 1 iicc admin 41 27 Feb 23:03 libmpfr.dylib -> ../Cellar/mpfr/3.1.1-p2/lib/libmpfr.dylib
lrwxr-xr-x 1 iicc admin 39 27 Feb 22:51 libpcre.1.dylib -> ../Cellar/pcre/8.32/lib/libpcre.1.dylib
lrwxr-xr-x 1 iicc admin 33 27 Feb 22:51 libpcre.a -> ../Cellar/pcre/8.32/lib/libpcre.a
lrwxr-xr-x 1 iicc admin 37 27 Feb 22:51 libpcre.dylib -> ../Cellar/pcre/8.32/lib/libpcre.dylib
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:51 libpcrecpp.0.dylib -> ../Cellar/pcre/8.32/lib/libpcrecpp.0.dylib
lrwxr-xr-x 1 iicc admin 36 27 Feb 22:51 libpcrecpp.a -> ../Cellar/pcre/8.32/lib/libpcrecpp.a
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:51 libpcrecpp.dylib -> ../Cellar/pcre/8.32/lib/libpcrecpp.dylib
lrwxr-xr-x 1 iicc admin 44 27 Feb 22:51 libpcreposix.0.dylib -> ../Cellar/pcre/8.32/lib/libpcreposix.0.dylib
lrwxr-xr-x 1 iicc admin 38 27 Feb 22:51 libpcreposix.a -> ../Cellar/pcre/8.32/lib/libpcreposix.a
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:51 libpcreposix.dylib -> ../Cellar/pcre/8.32/lib/libpcreposix.dylib
lrwxr-xr-x 1 iicc admin 43 27 Feb 22:52 libqhull.6.dylib -> ../Cellar/qhull/2012.1/lib/libqhull.6.dylib
lrwxr-xr-x 1 iicc admin 41 27 Feb 22:52 libqhull.dylib -> ../Cellar/qhull/2012.1/lib/libqhull.dylib
lrwxr-xr-x 1 iicc admin 45 27 Feb 22:52 libqhull_p.6.dylib -> ../Cellar/qhull/2012.1/lib/libqhull_p.6.dylib
lrwxr-xr-x 1 iicc admin 43 27 Feb 22:52 libqhull_p.dylib -> ../Cellar/qhull/2012.1/lib/libqhull_p.dylib
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:52 libqhullcpp.a -> ../Cellar/qhull/2012.1/lib/libqhullcpp.a
lrwxr-xr-x 1 iicc admin 43 27 Feb 22:52 libqhullstatic.a -> ../Cellar/qhull/2012.1/lib/libqhullstatic.a
lrwxr-xr-x 1 iicc admin 45 27 Feb 22:52 libqhullstatic_p.a -> ../Cellar/qhull/2012.1/lib/libqhullstatic_p.a
lrwxr-xr-x 1 iicc admin 50 27 Feb 23:07 libqrupdate.1.1.dylib -> ../Cellar/qrupdate/1.1.2/lib/libqrupdate.1.1.dylib
lrwxr-xr-x 1 iicc admin 48 27 Feb 23:07 libqrupdate.1.dylib -> ../Cellar/qrupdate/1.1.2/lib/libqrupdate.1.dylib
lrwxr-xr-x 1 iicc admin 42 27 Feb 23:07 libqrupdate.a -> ../Cellar/qrupdate/1.1.2/lib/libqrupdate.a
lrwxr-xr-x 1 iicc admin 46 27 Feb 23:07 libqrupdate.dylib -> ../Cellar/qrupdate/1.1.2/lib/libqrupdate.dylib
lrwxr-xr-x 1 iicc admin 48 27 Feb 22:36 librbio.2.1.1.a -> ../Cellar/suite-sparse/4.0.2/lib/librbio.2.1.1.a
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:36 librbio.a -> ../Cellar/suite-sparse/4.0.2/lib/librbio.a
lrwxr-xr-x 1 iicc admin 48 27 Feb 22:36 libspqr.1.3.1.a -> ../Cellar/suite-sparse/4.0.2/lib/libspqr.1.3.1.a
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:36 libspqr.a -> ../Cellar/suite-sparse/4.0.2/lib/libspqr.a
lrwxr-xr-x 1 iicc admin 61 27 Feb 22:36 libsuitesparseconfig.4.0.2.a -> ../Cellar/suite-sparse/4.0.2/lib/libsuitesparseconfig.4.0.2.a
lrwxr-xr-x 1 iicc admin 55 27 Feb 22:36 libsuitesparseconfig.a -> ../Cellar/suite-sparse/4.0.2/lib/libsuitesparseconfig.a
lrwxr-xr-x 1 iicc admin 40 27 Feb 22:41 libsz.2.0.0.dylib -> ../Cellar/szip/2.1/lib/libsz.2.0.0.dylib
lrwxr-xr-x 1 iicc admin 36 27 Feb 22:41 libsz.2.dylib -> ../Cellar/szip/2.1/lib/libsz.2.dylib
lrwxr-xr-x 1 iicc admin 30 27 Feb 22:41 libsz.a -> ../Cellar/szip/2.1/lib/libsz.a
lrwxr-xr-x 1 iicc admin 34 27 Feb 22:41 libsz.dylib -> ../Cellar/szip/2.1/lib/libsz.dylib
lrwxr-xr-x 1 iicc admin 36 27 Feb 22:33 libtbb.dylib -> ../Cellar/tbb/4.1u2/lib/libtbb.dylib
lrwxr-xr-x 1 iicc admin 42 27 Feb 22:33 libtbbmalloc.dylib -> ../Cellar/tbb/4.1u2/lib/libtbbmalloc.dylib
lrwxr-xr-x 1 iicc admin 51 27 Feb 22:36 libumfpack.5.6.1.a -> ../Cellar/suite-sparse/4.0.2/lib/libumfpack.5.6.1.a
lrwxr-xr-x 1 iicc admin 45 27 Feb 22:36 libumfpack.a -> ../Cellar/suite-sparse/4.0.2/lib/libumfpack.a
drwxr-xr-x 98 root wheel 3332 16 Okt 2007 openmpi
drwxrwxr-x 14 root admin 476 28 Feb 00:22 pkgconfig

I also modified the octave.rb by adding the env.append-line:

...
ENV.m64 if MacOS.prefer_64_bit?
ENV.append_to_cflags "-D_REENTRANT"
ENV.prepend "PATH", "/usr/texbin", ":"
args = [
...

And it still doesn't work. Please guys, this is my 3rd day I try to install the software. Any help would be very, very appreciated!

@js13422

I had a look in the make-log at Users//Library/Logs/Homebrew/octave

The last lines are:

libtool: link: ( cd "DLD-FUNCTIONS/.libs" && rm -f "init_gnuplot.la" && ln -s "../init_gnuplot.la" "init_gnuplot.la" )
/bin/sh ../libtool --tag=CXX --mode=link c++ -D_REENTRANT -DHAVE_CONFIG_H -I/usr/local/Cellar/pcre/8.32/include -I/usr/X11/include/freetype2 -I/usr/X11/include -I/usr/X11/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -D_REENTRANT -D_THREAD_SAFE -pthread -D_REENTRANT -avoid-version -module -no-undefined -L/usr/local/Cellar/graphicsmagick/1.3.17/lib -o DLD-FUNCTIONS/magick_read.la -rpath /usr/local/Cellar/octave/3.6.4/lib/octave/3.6.4 DLD-FUNCTIONS/DLD_FUNCTIONS___magick_read___la-magick_read.lo liboctinterp.la ../liboctave/liboctave.la ../libcruft/libcruft.la -lGraphicsMagick++ -lGraphicsMagick -lm

libtool: link: warning: /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libgfortran.la' seems to be moved
libtool: link: warning:
/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libquadmath.la' seems to be moved
libtool: link: warning: /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libgfortran.la' seems to be moved
libtool: link: warning:
/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libquadmath.la' seems to be moved
libtool: link: warning: /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libgfortran.la' seems to be moved
libtool: link: warning:
/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libquadmath.la' seems to be moved
libtool: link: warning: /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libgfortran.la' seems to be moved
libtool: link: warning:
/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libquadmath.la' seems to be moved
libtool: link: c++ -o DLD-FUNCTIONS/.libs/lin_interpn.so -bundle DLD-FUNCTIONS/.libs/lin_interpn.o ./.libs/liboctinterp.dylib -L/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2 -L/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../.. -L/usr/local/Cellar/pcre/8.32/lib -L/usr/local/Cellar/gfortran/4.7.2/gfortran/lib -L/usr/local/Cellar/fltk/1.3.2/lib -L/usr/X11/lib ../liboctave/.libs/liboctave.dylib ../libcruft/.libs/libcruft.dylib -lm -pthread -Wl,-dylib_file -Wl,/usr/local/Cellar/octave/3.6.4/lib/octave/3.6.4/liboctave.1.dylib:/private/tmp/octave-byx1/octave-3.6.4/liboctave/.libs/liboctave.dylib -Wl,-dylib_file -Wl,/usr/local/Cellar/octave/3.6.4/lib/octave/3.6.4/libcruft.1.dylib:/private/tmp/octave-byx1/octave-3.6.4/libcruft/.libs/libcruft.dylib -Wl,-dylib_file -Wl,/usr/local/Cellar/octave/3.6.4/lib/octave/3.6.4/libcruft.1.dylib:/private/tmp/octave-byx1/octave-3.6.4/libcruft/.libs/libcruft.dylib -pthread -framework AGL -framework OpenGL -framework ApplicationServices -framework Cocoa
libtool: link: warning: /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libgfortran.la' seems to be moved
libtool: link: warning:
/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libquadmath.la' seems to be moved
brew: superenv removed: -L/usr/local/Cellar/gfortran/4.7.2/gfortran/lib -L/usr/X11/lib
libtool: link: warning: /usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libgfortran.la' seems to be moved
libtool: link: warning:
/usr/local/Cellar/gfortran/4.7.2/gfortran/lib/gcc/x86_64-apple-darwin11.4.2/4.7.2/../../../libquadmath.la' seems to be moved
grep: /Users/mattt/Code/heroku/PostgresApp/Postgres/Vendor/postgres/lib/libjpeg.la: No such file or directory
/usr/local/opt/gnu-sed/bin/gsed: can't read /Users/mattt/Code/heroku/PostgresApp/Postgres/Vendor/postgres/lib/libjpeg.la: No such file or directory
libtool: link: `/Users/mattt/Code/heroku/PostgresApp/Postgres/Vendor/postgres/lib/libjpeg.la' is not a valid libtool archive
make[3]: *** [DLD-FUNCTIONS/magick_read.la] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: ( cd "DLD-FUNCTIONS/.libs" && rm -f "lin_interpn.la" && ln -s "../lin_interpn.la" "lin_interpn.la" )
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

HOMEBREW_VERSION: 0.9.4
HEAD: 3e53265
CPU: dual-core 64-bit penryn
OS X: 10.7.5-x86_64
Xcode: 4.6
CLT: 1.0.0.9000000000.1.1249367152
X11: 2.6.4 => /usr/X11

I get confused by

grep: /Users/mattt/Code/heroku/PostgresApp/Postgres/Vendor/postgres/lib/libjpeg.la: No such file or directory
/usr/local/opt/gnu-sed/bin/gsed: can't read

Seems like it tries to access libjpeg.la while using a wrong path. Why is this an absolute path and - as I understand this path simply can't exists without having a User mattt on the system, right?

@adamv
Owner

I don't know what to suggest here.

@mitar

Having the same problem. On 10.7.5 as well. Any suggestion?

@mitar

In fact, I am getting different error:

oct-rl-edit.c:99:3: error: use of undeclared identifier 'rl_voidfunc_t'
  rl_voidfunc_t *saved_redisplay_function = rl_redisplay_function;
  ^
oct-rl-edit.c:99:18: error: use of undeclared identifier 'saved_redisplay_function'; did you mean 'rl_redisplay_function'?
  rl_voidfunc_t *saved_redisplay_function = rl_redisplay_function;
                 ^~~~~~~~~~~~~~~~~~~~~~~~
                 rl_redisplay_function

It seems it is including /usr/include/readline/readline.h instead of GNU readline.

@mitar

OK. I managed to do it. I had to add:

     args << "--without-framework-carbon" if MacOS.version >= :lion
     # avoid spurious 'invalid assignment to cs-list' erorrs on 32 bit installs:
     args << 'CXXFLAGS=-O0' unless MacOS.prefer_64_bit?
+    args << 'CFLAGS=-I/usr/local/opt/readline/include'
+    args << 'LDFLAGS=-L/usr/local/opt/readline/lib'

So that Homebrew readline library was used.

And after that there was this issue: Homebrew/homebrew-science#128

And then it works.

@mitar mitar referenced this issue in Homebrew/homebrew-science
Closed

Octave on 10.7.5 #157

@jacknagel
Collaborator

Recommending that further discussion about this take place at homebrew-science.

@jacknagel jacknagel closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.