Open smg opened 6 years ago
Could you please post the output of brew gist-logs octave
?
Hi there,
I have one - https://gist.github.com/1f5e17c98c0c5a21df3f9e4a4e04926d
That is a log just from brew install dpo/openblas/octave
I tried making brew install dpo/openblas/octave --with-java --with-qt --devel
also but that also failed.
I think my MacOS machine is reasonably clean, it was only cleanly installed last year so it hasn't accumulated years of cruft yet.
Thanks for maintaining this project btw, I do appreciate it. 👍
For reference, the error is
/private/tmp/octave-20180421-8001-1kd975/octave-4.2.1/build-aux/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [aclocal.m4] Error 127
cc @schoeps
It's a (known) problem with the version of automake. It's fixed in #54.
@jpz @smg: you can fix that manually by modifying "/usr/local/Homebrew/Library/Taps/dpo/homebrew-openblas/octave.rb". Replace the following line (134)
system "./bootstrap" unless build.stable?
by this piece of code
if build.stable?
# fix aclocal version issue
system "autoreconf", "-f", "-i"
else
system "./bootstrap"
end
It will generate the configure files with the correct version.
Thanks @schoeps ! Would you mind submitting a small PR to fix this issue and subsequently rebase #54?
Hi, I'm still struggling to get a new build to work... Ive done the automake fix above, and I get a lot futher but i still run into an error...here is the output..
PETERs-Mac-mini:~ peter$ brew install octave Warning: octave is provided by core, but is now shadowed by dpo/openblas/octave. To refer to the core formula, use Homebrew/core/octave instead. ==> Installing octave from dpo/openblas ==> Downloading https://ftp.gnu.org/gnu/octave/octave-4.2.1.tar.gz Already downloaded: /Users/peter/Library/Caches/Homebrew/octave-4.2.1.tar.gz ==> autoreconf -f -i ==> ./configure --prefix=/usr/local/Cellar/octave/4.2.1_1 --disable-silent-rules --enable-link-all-dependencies --enable-shared --disable-static --di ==> make all ==> make check 2>&1 | tee "test/make-check.log" Warning: Some tests failed. Details are given in /usr/local/opt/octave/make-check.log. Error: No such file or directory - test/fntests.log
The make-check.log and fntests.log files don't exist (there is no /usr/local/opt/octave directory) to go check ...
Any suggestions for a fix gratefully received....
Peter
I don't know what the issue is now. The compilation obviously works fine (good news!) and the message "Warning: Some tests failed. Details are given in /usr/local/opt/octave/make-check.log" indicates that the tests completed but a few may have failed (this is typically save to ignore). I do not understand where "Error: No such file or directory - test/fntests.log" comes from.
I see two options:
Both options are fine for me :)
By the way: if you want to be very adventurous, you can also try the new formula for Octave 4.4: https://raw.githubusercontent.com/schoeps/homebrew-openblas/master/octave.rb
You could also post the output of brew gist-logs octave, which will save you the trouble of re-running
install --verbose`.
Thanks guys, I ran the "brew install octave --verbose", thats a lot of output, I've only included the portion that looks relevant at the end of this post..... if I need to post more let me know..... I'm very new to brew so a little out of my depth here. Schoeps : how to I do the install of the 4.4.. just download and run that ruby script ? terp/dldfcn/fftw.cc libinterp/dldfcn/gzip.cc libinterp/dldfcn/qr.cc libinterp/dldfcn/symbfact.cc libinterp/dldfcn/symrcm.cc; /usr/local/opt/gnu-sed/bin/gsed -ne '/^\x1d/,$p' ./libinterp/op-kw-docs ) > libinterp/DOCSTRINGS-t && \ if [ -s libinterp/DOCSTRINGS-t ]; then /bin/sh ./build-aux/move-if-change libinterp/DOCSTRINGS-t libinterp/DOCSTRINGS; else echo "libinterp/DOCSTRINGS-t is empty!" 1>&2; rm -f libinterp/DOCSTRINGS-t; exit 1; fi libinterp/DOCSTRINGS is unchanged
Octave successfully built. Now choose from the following:
./run-octave - to run in place to test before installing make check - to run the tests make install - to install (PREFIX=/usr/local/Cellar/octave/4.2.1_1)
HG ID for this build is "1327ea4f5a93"
/Library/Developer/CommandLineTools/usr/bin/make check-local preserving existing HG-ID file cd test && /bin/sh ../run-octave --norc --silent --no-history /private/tmp/octave-20180506-73082-lgvscx/octave-4.2.1/test/fntests.m /private/tmp/octave-20180506-73082-lgvscx/octave-4.2.1/test dyld: Library not loaded: /usr/local/opt/gcc/lib/gcc/7/libgfortran.4.dylib Referenced from: /usr/local/opt/qrupdate/lib/libqrupdate.1.dylib Reason: image not found /bin/sh: line 1: 45993 Abort trap: 6 /bin/sh ../run-octave --norc --silent --no-history /private/tmp/octave-20180506-73082-lgvscx/octave-4.2.1/test/fntests.m /private/tmp/octave-20180506-73082-lgvscx/octave-4.2.1/test make[3]: [check-local] Error 134 make[2]: [check-am] Error 2 make[1]: [check-recursive] Error 1 make: [check] Error 2 Warning: Some tests failed. Details are given in /usr/local/opt/octave/make-check.log. Error: No such file or directory - test/fntests.log PETERs-Mac-mini:~ peter$
Ok, qrupdate seems to have issues with you gcc. Maybe you updated gcc but not the dependencies.
I suggest to reinstall brew reinstall dpo/homebrew-openblas/qrupdate
and maybe directly also
brew reinstall dpo/homebrew-openblas/arpack
brew reinstall dpo/homebrew-openblas/suite-sparse.rb
brew reinstall dpo/homebrew-openblas/sundials27.rb
Best Sebastian
hmm... I did the reinstall of qrupdate and then for good measure I tried the reinstalls ofarpack (which worked fine) but I get a 'no recipe' error for suite-sparse.rb and sundials27.rb.
However... this has seemed to allow the standard install of octave to complete successfully (with a warning of some tests failed)...
But Hey, I have a working octave install again... THANK YOU.
Now I'm going to try with --devel --with-qt --with-java and see if the bug I saw that causes the GUI to hang when paginating the printing of larger arrays (press q to quit does nothing, I just have a hung window)
Thanks again,
Peter
Sorry, my mistake "*.rb" is the filename.... You should run without extension
brew reinstall dpo/homebrew-openblas/suite-sparse
brew reinstall dpo/homebrew-openblas/sundials27
All fixed, didn't need those last two reinstalls.. thanks again.
Peter
Hi I am try to install Octave current version, but I got this error:
==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j8 CMAKE_PREFIX_PATH: /usr/local/opt/bison:/usr/local/opt/openssl:/usr/local/opt/openblas:/usr/local/opt/readline:/usr/local/opt/texinfo:/usr/local/opt/qt:/usr/local/opt/sqlite:/usr/local CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /usr/local/opt/qt/Frameworks:/usr/local/opt/python/Frameworks:/usr/local/opt/python@2/Frameworks PKG_CONFIG_PATH: /usr/local/opt/librsvg/lib/pkgconfig:/usr/local/opt/mpfr/lib/pkgconfig:/usr/local/opt/isl/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libevent/lib/pkgconfig:/usr/local/opt/open-mpi/lib/pkgconfig:/usr/local/opt/openblas/lib/pkgconfig:/usr/local/opt/arpack/lib/pkgconfig:/usr/local/opt/jpeg/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/little-cms2/lib/pkgconfig:/usr/local/opt/fftw/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/jasper/lib/pkgconfig:/usr/local/opt/netpbm/lib/pkgconfig:/usr/local/opt/freetype/lib/pkgconfig:/usr/local/opt/fontconfig/lib/pkgconfig:/usr/local/opt/webp/lib/pkgconfig:/usr/local/opt/gd/lib/pkgconfig:/usr/local/opt/lua/lib/pkgconfig:/usr/local/opt/graphicsmagick/lib/pkgconfig:/usr/local/opt/flac/lib/pkgconfig:/usr/local/opt/libogg/lib/pkgconfig:/usr/local/opt/libvorbis/lib/pkgconfig:/usr/local/opt/libsndfile/lib/pkgconfig:/usr/local/opt/pcre/lib/pkgconfig:/usr/local/opt/portaudio/lib/pkgconfig:/usr/local/opt/xz/lib/pkgconfig:/usr/local/opt/imagemagick/lib/pkgconfig:/usr/local/opt/pstoedit/lib/pkgconfig:/usr/local/opt/qt/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/python/lib/pkgconfig:/usr/local/opt/python@2/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13 ACLOCAL_PATH: /usr/local/opt/bison/share/aclocal:/usr/local/share/aclocal PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/mercurial/bin:/usr/local/opt/bison/bin:/usr/local/opt/icoutils/bin:/usr/local/opt/librsvg/bin:/usr/local/opt/gcc/bin:/usr/local/opt/openssl/bin:/usr/local/opt/libevent/bin:/usr/local/opt/open-mpi/bin:/usr/local/opt/metis/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/gnu-sed/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/little-cms2/bin:/usr/local/opt/ghostscript/bin:/usr/local/opt/epstool/bin:/usr/local/opt/fftw/bin:/usr/local/opt/libpng/bin:/usr/local/opt/jasper/bin:/usr/local/opt/netpbm/bin:/usr/local/opt/fig2dev/bin:/usr/local/opt/freetype/bin:/usr/local/opt/fontconfig/bin:/usr/local/opt/glpk/bin:/usr/local/opt/webp/bin:/usr/local/opt/gd/bin:/usr/local/opt/lua/bin:/usr/local/opt/gnuplot/bin:/usr/local/opt/libtool/bin:/usr/local/opt/graphicsmagick/bin:/usr/local/opt/hdf5/bin:/usr/local/opt/flac/bin:/usr/local/opt/libsndfile/bin:/usr/local/opt/pcre/bin:/usr/local/opt/plotutils/bin:/usr/local/opt/xz/bin:/usr/local/opt/imagemagick/bin:/usr/local/opt/pstoedit/bin:/usr/local/opt/qhull/bin:/usr/local/opt/texinfo/bin:/usr/local/opt/qt/bin:/usr/local/opt/gdbm/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/python/bin:/usr/local/opt/python@2/bin:/usr/local/opt/sip/bin:/usr/local/opt/pyqt/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: dpo/openblas/octave 4.3-d0221e3675ef did not build Logs: /Users/sergiomolino/Library/Logs/Homebrew/octave/02.configure /Users/sergiomolino/Library/Logs/Homebrew/octave/00.options.out /Users/sergiomolino/Library/Logs/Homebrew/octave/02.configure.cc /Users/sergiomolino/Library/Logs/Homebrew/octave/03.make.cc /Users/sergiomolino/Library/Logs/Homebrew/octave/config.log /Users/sergiomolino/Library/Logs/Homebrew/octave/03.make /Users/sergiomolino/Library/Logs/Homebrew/octave/01.bootstrap If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/dpo/homebrew-openblas/issues
These open issues may also help: Octave to 4.2.2 https://github.com/dpo/homebrew-openblas/pull/54 Error making Octave 4.2.1 https://github.com/dpo/homebrew-openblas/issues/53
Any suggestion to solve this problems?
Thank you Sergio