Created
August 28, 2013 22:19
-
-
Save ajfriend/6372098 to your computer and use it in GitHub Desktop.
homebrew: openblas failed to build on 10.8.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
the main error seems to be: | |
make: *** [getarch_2nd] Error 1 | |
Makefile:129: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. | |
$ brew doctor | |
Warning: "config" scripts exist outside your system or Homebrew directories. | |
`./configure` scripts often look for *-config scripts to determine if | |
software packages are installed, and what additional flags to use when | |
compiling and linking. | |
Having additional scripts in your path can confuse software installed via | |
Homebrew if the config script overrides a system or Homebrew provided | |
script of the same name. We found the following "config" scripts: | |
/Users/ajfriend/anaconda/bin/curl-config | |
/Users/ajfriend/anaconda/bin/freetype-config | |
/Users/ajfriend/anaconda/bin/libdynd-config | |
/Users/ajfriend/anaconda/bin/libpng-config | |
/Users/ajfriend/anaconda/bin/libpng15-config | |
/Users/ajfriend/anaconda/bin/llvm-config | |
/Users/ajfriend/anaconda/bin/nc-config | |
/Users/ajfriend/anaconda/bin/python-config | |
/Users/ajfriend/anaconda/bin/python2-config | |
/Users/ajfriend/anaconda/bin/python2.7-config | |
/Users/ajfriend/anaconda/bin/xml2-config | |
/Users/ajfriend/anaconda/bin/xslt-config | |
$ brew --config | |
HOMEBREW_VERSION: 0.9.4 | |
ORIGIN: https://github.com/mxcl/homebrew.git | |
HEAD: 72ee11d988eff7e4af82eec813381f3f82950b08 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit haswell | |
OS X: 10.8.4-x86_64 | |
Xcode: 4.6.3 | |
CLT: 4.6.0.0.1.1365549073 | |
LLVM-GCC: build 2336 | |
Clang: 4.2 build 425 | |
X11: N/A | |
System Ruby: 1.8.7-358 | |
Perl: /usr/bin/perl | |
Python: /Users/ajfriend/anaconda/bin/python | |
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby | |
$ brew install -v openblas 2>&1 | |
==> Using Homebrew-provided fortran compiler. | |
This may be changed by setting the FC environment variable. | |
==> Downloading https://github.com/xianyi/OpenBLAS/archive/v0.2.6.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/openblas-0.2.6.tar.gz | |
tar xf /Library/Caches/Homebrew/openblas-0.2.6.tar.gz | |
==> Downloading http://www.netlib.org/lapack/lapack-3.4.2.tgz | |
Already downloaded: /Library/Caches/Homebrew/lapack-3.4.2.tgz | |
tar xf /Library/Caches/Homebrew/lapack-3.4.2.tgz | |
==> Using LAPACK: /Library/Caches/Homebrew/lapack-3.4.2.tgz | |
==> make FC=/usr/local/opt/gfortran/bin/gfortran | |
make FC=/usr/local/opt/gfortran/bin/gfortran | |
getarch_2nd.c:12:35: error: use of undeclared identifier | |
'SGEMM_DEFAULT_UNROLL_M' | |
printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M); | |
^ | |
getarch_2nd.c:13:35: error: use of undeclared identifier | |
'SGEMM_DEFAULT_UNROLL_N' | |
printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N); | |
^ | |
getarch_2nd.c:14:35: error: use of undeclared identifier | |
'DGEMM_DEFAULT_UNROLL_M' | |
printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M); | |
^ | |
getarch_2nd.c:15:35: error: use of undeclared identifier | |
'DGEMM_DEFAULT_UNROLL_N' | |
printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N); | |
^ | |
getarch_2nd.c:19:35: error: use of undeclared identifier | |
'CGEMM_DEFAULT_UNROLL_M' | |
printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M); | |
^ | |
getarch_2nd.c:20:35: error: use of undeclared identifier | |
'CGEMM_DEFAULT_UNROLL_N' | |
printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N); | |
^ | |
getarch_2nd.c:21:35: error: use of undeclared identifier | |
'ZGEMM_DEFAULT_UNROLL_M' | |
printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M); | |
^ | |
getarch_2nd.c:22:35: error: use of undeclared identifier | |
'ZGEMM_DEFAULT_UNROLL_N' | |
printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N); | |
^ | |
getarch_2nd.c:29:50: error: use of undeclared identifier 'SGEMM_DEFAULT_Q' | |
printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q *... | |
^ | |
getarch_2nd.c:29:68: error: use of undeclared identifier | |
'SGEMM_DEFAULT_UNROLL_N' | |
...SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N *... | |
^ | |
getarch_2nd.c:30:50: error: use of undeclared identifier 'DGEMM_DEFAULT_Q' | |
printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q *... | |
^ | |
getarch_2nd.c:30:68: error: use of undeclared identifier | |
'DGEMM_DEFAULT_UNROLL_N' | |
...DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N *... | |
^ | |
getarch_2nd.c:31:50: error: use of undeclared identifier 'CGEMM_DEFAULT_Q' | |
printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q *... | |
^ | |
getarch_2nd.c:31:68: error: use of undeclared identifier | |
'CGEMM_DEFAULT_UNROLL_N' | |
...CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N *... | |
^ | |
getarch_2nd.c:32:50: error: use of undeclared identifier 'ZGEMM_DEFAULT_Q' | |
printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q *... | |
^ | |
getarch_2nd.c:32:68: error: use of undeclared identifier | |
'ZGEMM_DEFAULT_UNROLL_N' | |
...ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N *... | |
^ | |
16 errors generated. | |
make: *** [getarch_2nd] Error 1 | |
Makefile:129: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop. | |
==> Formula | |
Tap: homebrew/science | |
Path: /usr/local/Library/Taps/homebrew-science/openblas.rb | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.4 | |
HEAD: 72ee11d988eff7e4af82eec813381f3f82950b08 | |
CPU: quad-core 64-bit haswell | |
OS X: 10.8.4-x86_64 | |
Xcode: 4.6.3 | |
CLT: 4.6.0.0.1.1365549073 | |
X11: N/A | |
==> ENV | |
HOMEBREW_CC: clang | |
CFLAGS: | |
MAKEFLAGS: -j4 | |
CMAKE_PREFIX_PATH: /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/isl/lib/pkgconfig:/usr/local/opt/cloog/lib/pkgconfig | |
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.8 | |
ACLOCAL_PATH: /usr/local/share/aclocal | |
OBJC: cc | |
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cloog/bin:/usr/local/opt/gfortran/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin | |
Error: openblas did not build | |
These open issues may also help: | |
https://github.com/mxcl/homebrew/pull/20624 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment