Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error making Octave 4.2.1 #53

Open
nalzok opened this issue Mar 16, 2018 · 1 comment
Open

Error making Octave 4.2.1 #53

nalzok opened this issue Mar 16, 2018 · 1 comment

Comments

@nalzok
Copy link

nalzok commented Mar 16, 2018

I was doing brew install dpo/openblas/octave --verbose. It outputs tons of message and finally says:

{{ ...... }}

Octave is now configured for x86_64-apple-darwin17.4.0

  Source directory:              .
  Installation prefix:           /usr/local/Cellar/octave/4.2.1_1
  C compiler:                    clang  -D_THREAD_SAFE -pthread  -Wall -W -Wshadow -Wformat -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  C++ compiler:                  clang++ -std=gnu++11  -D_THREAD_SAFE -pthread  -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
  Fortran compiler:              gfortran -g -O2
  Fortran libraries:              -L/usr/local/Cellar/gcc/7.3.0_1/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0 -L/usr/local/Cellar/gcc/7.3.0_1/lib/gcc/7/gcc/x86_64-apple-darwin17.3.0/7.3.0/../../.. -lgfortran -lquadmath -lm
  Lex libraries:
  LIBS:                          -lm
  Extra LDFLAGS:

  AMD CPPFLAGS:
  AMD LDFLAGS:
  AMD libraries:                 -lamd
  ARPACK CPPFLAGS:
  ARPACK LDFLAGS:                -L/usr/local/Cellar/arpack/3.5.0_1/libexec/lib
  ARPACK libraries:              -larpack
  BLAS libraries:                -L/usr/local/opt/openblas/lib -lopenblas
  BZ2 CPPFLAGS:
  BZ2 LDFLAGS:
  BZ2 libraries:                 -lbz2
  CAMD CPPFLAGS:
  CAMD LDFLAGS:
  CAMD libraries:                -lcamd
  CARBON libraries:              -framework Carbon
  CCOLAMD CPPFLAGS:
  CCOLAMD LDFLAGS:
  CCOLAMD libraries:             -lccolamd
  CHOLMOD CPPFLAGS:
  CHOLMOD LDFLAGS:
  CHOLMOD libraries:             -lcholmod
  COLAMD CPPFLAGS:
  COLAMD LDFLAGS:
  COLAMD libraries:              -lcolamd
  CURL CPPFLAGS:
  CURL LDFLAGS:
  CURL libraries:                -lcurl
  CXSPARSE CPPFLAGS:
  CXSPARSE LDFLAGS:
  CXSPARSE libraries:            -lcxsparse
  DL libraries:                  -ldl
  FFTW3 CPPFLAGS:                -I/usr/local/Cellar/fftw/3.3.7_1/include
  FFTW3 LDFLAGS:                 -L/usr/local/Cellar/fftw/3.3.7_1/lib
  FFTW3 libraries:               -lfftw3_threads -lfftw3
  FFTW3F CPPFLAGS:               -I/usr/local/Cellar/fftw/3.3.7_1/include
  FFTW3F LDFLAGS:                -L/usr/local/Cellar/fftw/3.3.7_1/lib
  FFTW3F libraries:              -lfftw3f_threads -lfftw3f
  FLTK CPPFLAGS:
  FLTK LDFLAGS:
  FLTK libraries:
  fontconfig CPPFLAGS:           -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/Cellar/fontconfig/2.12.6/include -I/usr/local/opt/freetype/include/freetype2
  fontconfig libraries:          -L/usr/local/opt/freetype/lib -L/usr/local/Cellar/fontconfig/2.12.6/lib -lfontconfig -lfreetype
  FreeType2 CPPFLAGS:            -I/usr/local/opt/freetype/include/freetype2
  FreeType2 libraries:           -L/usr/local/opt/freetype/lib -lfreetype
  GLPK CPPFLAGS:
  GLPK LDFLAGS:
  GLPK libraries:                -lglpk
  HDF5 CPPFLAGS:                 -I/usr/local/opt/hdf5/include
  HDF5 LDFLAGS:                  -L/usr/local/opt/hdf5/lib
  HDF5 libraries:                -lhdf5
  Java home:
  Java JVM path:
  Java CPPFLAGS:
  Java libraries:
  LAPACK libraries:
  LLVM CPPFLAGS:
  LLVM LDFLAGS:
  LLVM libraries:
  Magick++ CPPFLAGS:             -I/usr/local/Cellar/graphicsmagick/1.3.28_1/include/GraphicsMagick
  Magick++ LDFLAGS:              -L/usr/local/Cellar/graphicsmagick/1.3.28_1/lib
  Magick++ libraries:            -lGraphicsMagick++ -lGraphicsMagick
  OPENGL libraries:              -framework OpenGL
  OSMesa CPPFLAGS:
  OSMesa LDFLAGS:
  OSMesa libraries:
  PCRE CPPFLAGS:                 -I/usr/local/Cellar/pcre/8.41/include
  PCRE libraries:                -L/usr/local/Cellar/pcre/8.41/lib -lpcre
  PortAudio CPPFLAGS:            -I/usr/local/Cellar/portaudio/19.6.0/include
  PortAudio LDFLAGS:             -L/usr/local/Cellar/portaudio/19.6.0/lib
  PortAudio libraries:           -lportaudio
  PTHREAD flags:                 -D_THREAD_SAFE -pthread
  PTHREAD libraries:
  QHULL CPPFLAGS:
  QHULL LDFLAGS:
  QHULL libraries:               -lqhull
  QRUPDATE CPPFLAGS:
  QRUPDATE LDFLAGS:
  QRUPDATE libraries:            -lqrupdate
  Qt CPPFLAGS:
  Qt LDFLAGS:
  Qt libraries:
  Qt moc:
  Qt uic:
  Qt rcc:
  Qt lrelease:
  READLINE libraries:            -lreadline
  Sndfile CPPFLAGS:              -I/usr/local/Cellar/libsndfile/1.0.28/include
  Sndfile LDFLAGS:               -L/usr/local/Cellar/libsndfile/1.0.28/lib
  Sndfile libraries:             -lsndfile
  SuiteSparse config libraries:  -lsuitesparseconfig
  TERM libraries:                -lncurses
  UMFPACK CPPFLAGS:
  UMFPACK LDFLAGS:
  UMFPACK libraries:             -lumfpack
  X11 include flags:
  X11 libraries:
  Z CPPFLAGS:
  Z LDFLAGS:
  Z libraries:                   -lz

  Default pager:                 less
  gnuplot:                       gnuplot

  Build Octave Qt GUI:                no
  JIT compiler for loops:             no
  Build Java interface:               no
  Do internal array bounds checking:  no
  Build static libraries:             no
  Build shared libraries:             yes
  Dynamic Linking:                    yes (dlopen)
  Include support for GNU readline:   yes
  64-bit array dims and indexing:     no
  OpenMP SMP multithreading:          no
  Build cross tools:                  no
  Build docs:                         no
  Truncate intermediate FP results:   yes

configure: WARNING:

I wasn't able to find a suitable style for declaring a push-pull
parser in a bison input file so I'm disabling bison.

configure: WARNING:

I didn't find bison, or the version of bison that I found does not
support all the features that are required, but it's only a problem
if you need to reconstruct parse.cc, which is the case if you're
building from VCS sources.

configure: WARNING:

I didn't find icotool, but it's only a problem if you need to
reconstruct octave-logo.ico, which is the case if you're building from
VCS sources.

configure: WARNING:

I didn't find rsvg-convert, but it's only a problem if you need to
reconstruct octave-logo-*.png, which is the case if you're building
from VCS sources.

configure: WARNING: building documentation disabled; make dist will fail
configure: WARNING: --without-OSMesa specified.  Functions or features that depend on OSMesa will be disabled.
configure: WARNING: --without-qt specified.  The Qt GUI will be disabled.
configure: WARNING: --without-fltk specified.  FLTK widgets will be disabled.
configure: WARNING:
configure: WARNING: I didn't find the libraries needed to compile Octave
configure: WARNING: with support for OpenGL graphics.  Creating plots is
configure: WARNING: still possible if you have gnuplot installed.
configure:
configure: NOTE: Libraries or auxiliary programs may be skipped if they are
configure: NOTE: not found OR if they are missing required features on your
configure: NOTE: system.
==> make all
preserving existing HG-ID file
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /private/tmp/octave-20180316-24024-1cjoguz/octave-4.2.1/build-aux/missing aclocal-1.15 -I m4
/private/tmp/octave-20180316-24024-1cjoguz/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

==> Formula
Tap: dpo/openblas
Path: /usr/local/Homebrew/Library/Taps/dpo/homebrew-openblas/octave.rb
==> Configuration
HOMEBREW_VERSION: 1.5.10-22-gcb6828d
ORIGIN: https://github.com/Homebrew/brew
HEAD: cb6828dbe60763dee8c15efdb672575c0f8028f7
Last commit: 23 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 8fbbc0865ef419cc3241c64d68dbd9fcbc8baaf4
Core tap last commit: 44 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DEV_CMD_RUN: 1
HOMEBREW_ENABLE_AUTO_UPDATE_MIGRATION: 1
HOMEBREW_RUBY_WARNINGS: -W0
HOMEBREW_VISUAL: nano
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Clang: 9.0 build 900
Git: 2.16.2 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.26.1/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/3.6.4_4/Frameworks/Python.framework/Versions/3.6/bin/python3.6
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.5.0_2/bin/ruby
Java: 9.0.1
macOS: 10.13.3-x86_64
Xcode: 9.2
CLT: 9.2.0.0.1.1510905681
X11: 2.7.11 => /opt/X11
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local/opt/openblas:/usr/local/opt/readline:/usr/local/opt/texinfo:/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
PKG_CONFIG_PATH: /usr/local/opt/mpfr/lib/pkgconfig:/usr/local/opt/isl/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/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/jasper/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
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.13
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/autoconf/bin:/usr/local/opt/automake/bin:/usr/local/opt/gnu-sed/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/gcc/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/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/jasper/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/metis/bin:/usr/local/opt/texinfo/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: dpo/openblas/octave 4.2.1 did not build
Logs:
     /Users/nalzok/Library/Logs/Homebrew/octave/00.options.out
     /Users/nalzok/Library/Logs/Homebrew/octave/01.configure.cc
     /Users/nalzok/Library/Logs/Homebrew/octave/config.log
     /Users/nalzok/Library/Logs/Homebrew/octave/01.configure
     /Users/nalzok/Library/Logs/Homebrew/octave/02.make
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/dpo/homebrew-openblas/issues

All five log files are attached here: logFiles.zip

Also, it says 'aclocal-1.15' is missing on your system, but I have aclocal-1.16. I suppose that would work too?

$ aclocal-1.16 --version
aclocal (GNU automake) 1.16.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
@schoeps schoeps mentioned this issue Mar 20, 2018
@schoeps
Copy link
Collaborator

schoeps commented Mar 20, 2018

Ok, I submitted a fix right now. For the time being, you could try:
brew install dpo/openblas/octave --verbose --devel
or
brew install dpo/openblas/octave --verbose --devel --with-qt
if you want the gui.

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

No branches or pull requests

3 participants