Last active
August 29, 2015 13:58
-
-
Save rogerg/9938509 to your computer and use it in GitHub Desktop.
opencv-macosx-anaconda
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
brew --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew | |
HEAD: 6fb4f02ad454675dbde0969a940d4f4e320ad1b2 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.9.2-x86_64 | |
Xcode: 5.1 | |
CLT: 5.1.0.0.1.1393561416 | |
Clang: 5.1 build 503 | |
X11: 2.7.5 => /opt/X11 | |
System Ruby: 1.8.7-358 | |
Perl: /usr/bin/perl | |
Python: //anaconda/bin/python => /anaconda/bin/python2.7 | |
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby | |
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: | |
//anaconda/bin/curl-config | |
//anaconda/bin/freetype-config | |
//anaconda/bin/libdynd-config | |
//anaconda/bin/libpng-config | |
//anaconda/bin/libpng15-config | |
//anaconda/bin/llvm-config | |
//anaconda/bin/nc-config | |
//anaconda/bin/python-config | |
//anaconda/bin/python2-config | |
//anaconda/bin/python2.7-config | |
//anaconda/bin/xml2-config | |
//anaconda/bin/xslt-config | |
/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config | |
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config | |
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config | |
/usr/local/MacGPG2/bin/gpg-error-config | |
/usr/local/MacGPG2/bin/ksba-config | |
/usr/local/MacGPG2/bin/libassuan-config | |
/usr/local/MacGPG2/bin/libgcrypt-config | |
/usr/local/MacGPG2/bin/libusb-config | |
/usr/local/MacGPG2/bin/pth-config | |
Warning: Python is installed at /Library/Frameworks/Python.framework | |
Homebrew only supports building against the System-provided Python or a | |
brewed Python. In particular, Pythons installed to /Library can interfere | |
with other software installs. | |
Warning: You may have installed MacGPG2 via the package installer. | |
Several other checks in this script will turn up problems, such as stray | |
dylibs in /usr/local and permissions issues with share and man in /usr/local/. | |
Warning: /Library/Frameworks/Mono.framework detected | |
This can be picked up by CMake's build system and likely cause the build to | |
fail. You may need to move this file out of the way to compile CMake. | |
Warning: Unbrewed .la files were found in /usr/local/lib. | |
If you didn't put them there on purpose they could cause problems when | |
building Homebrew formulae, and may need to be deleted. | |
Unexpected .la files: | |
/usr/local/lib/libjpeg.la | |
Warning: /usr/bin occurs before /usr/local/bin | |
This means that system-provided programs will be used instead of those | |
provided by Homebrew. The following tools exist at both paths: | |
2to3 | |
2to3-2.7 | |
ccmake | |
cmake | |
cmakexbuild | |
cpack | |
ctest | |
idle | |
idle2.7 | |
pydoc | |
pydoc2.7 | |
python | |
python-config | |
python2.7 | |
python2.7-config | |
pythonw | |
pythonw2.7 | |
smtpd.py | |
smtpd2.7.py | |
tclsh | |
wish | |
Consider setting your PATH so that /usr/local/bin | |
occurs before /usr/bin. Here is a one-liner: | |
echo export PATH='/usr/local/bin:$PATH' >> ~/.bash_profile | |
brew install -v opencv 2>&1 | |
/usr/bin/env python -c import numpy | |
/usr/bin/env python -c import numpy | |
==> Downloading https://github.com/Itseez/opencv/archive/2.4.8.2.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/opencv-2.4.8.2.tar.gz | |
==> Verifying opencv-2.4.8.2.tar.gz checksum | |
tar xf /Library/Caches/Homebrew/opencv-2.4.8.2.tar.gz | |
==> cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.8.2 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DCMAKE_OSX_DEPLOYMENT_TARGET= -DWITH_CUDA=OFF -DBUILD_ZLIB=OFF -DBUILD_TIFF=OFF -DBUILD_PNG=OFF -DBUILD_JPEG=ON -DBUILD_JASPER=ON -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DPYTHON_LIBRARY=//anaconda/Python -DPYTHON_INCLUDE_DIR=//anaconda/Headers -DBUILD_opencv_java=OFF -DWITH_QT=OFF -DWITH_TBB=OFF -DWITH_FFMPEG=OFF -DENABLE_SSSE3=ON -DENABLE_SSE41=ON -DENABLE_SSE42=ON -DENABLE_AVX=ON | |
-- The CXX compiler identification is Clang 5.1.0 | |
-- The C compiler identification is Clang 5.1.0 | |
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ | |
-- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang | |
-- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Performing Test HAVE_CXX_FSIGNED_CHAR | |
-- Performing Test HAVE_CXX_FSIGNED_CHAR - Success | |
-- Performing Test HAVE_C_FSIGNED_CHAR | |
-- Performing Test HAVE_C_FSIGNED_CHAR - Success | |
-- Performing Test HAVE_CXX_W | |
-- Performing Test HAVE_CXX_W - Success | |
-- Performing Test HAVE_C_W | |
-- Performing Test HAVE_C_W - Success | |
-- Performing Test HAVE_CXX_WALL | |
-- Performing Test HAVE_CXX_WALL - Success | |
-- Performing Test HAVE_C_WALL | |
-- Performing Test HAVE_C_WALL - Success | |
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE | |
-- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success | |
-- Performing Test HAVE_C_WERROR_RETURN_TYPE | |
-- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success | |
-- Performing Test HAVE_CXX_WERROR_ADDRESS | |
-- Performing Test HAVE_CXX_WERROR_ADDRESS - Success | |
-- Performing Test HAVE_C_WERROR_ADDRESS | |
-- Performing Test HAVE_C_WERROR_ADDRESS - Success | |
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT | |
-- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success | |
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT | |
-- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success | |
-- Performing Test HAVE_CXX_WFORMAT | |
-- Performing Test HAVE_CXX_WFORMAT - Success | |
-- Performing Test HAVE_C_WFORMAT | |
-- Performing Test HAVE_C_WFORMAT - Success | |
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY | |
-- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success | |
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY | |
-- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success | |
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS | |
-- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success | |
-- Performing Test HAVE_C_WMISSING_DECLARATIONS | |
-- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success | |
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES | |
-- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success | |
-- Performing Test HAVE_C_WMISSING_PROTOTYPES | |
-- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success | |
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES | |
-- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success | |
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES | |
-- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success | |
-- Performing Test HAVE_CXX_WUNDEF | |
-- Performing Test HAVE_CXX_WUNDEF - Success | |
-- Performing Test HAVE_C_WUNDEF | |
-- Performing Test HAVE_C_WUNDEF - Success | |
-- Performing Test HAVE_CXX_WINIT_SELF | |
-- Performing Test HAVE_CXX_WINIT_SELF - Success | |
-- Performing Test HAVE_C_WINIT_SELF | |
-- Performing Test HAVE_C_WINIT_SELF - Success | |
-- Performing Test HAVE_CXX_WPOINTER_ARITH | |
-- Performing Test HAVE_CXX_WPOINTER_ARITH - Success | |
-- Performing Test HAVE_C_WPOINTER_ARITH | |
-- Performing Test HAVE_C_WPOINTER_ARITH - Success | |
-- Performing Test HAVE_CXX_WSHADOW | |
-- Performing Test HAVE_CXX_WSHADOW - Success | |
-- Performing Test HAVE_C_WSHADOW | |
-- Performing Test HAVE_C_WSHADOW - Success | |
-- Performing Test HAVE_CXX_WSIGN_PROMO | |
-- Performing Test HAVE_CXX_WSIGN_PROMO - Success | |
-- Performing Test HAVE_C_WSIGN_PROMO | |
-- Performing Test HAVE_C_WSIGN_PROMO - Success | |
... | |
thon -I/tmp/opencv-X1uh/opencv-2.4.8.2/modules/python/src -I/tmp/opencv-X1uh/opencv-2.4.8.2/modules/python/include -I/tmp/opencv-X1uh/opencv-2.4.8.2/macbuild -isystem /usr/local/include/eigen3 -isystem /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -o CMakeFiles/opencv_python.dir/src2/cv2.cpp.o -c /tmp/opencv-X1uh/opencv-2.4.8.2/modules/python/src2/cv2.cpp | |
/tmp/opencv-X1uh/opencv-2.4.8.2/modules/python/src2/cv2.cpp:6:10: fatal error: 'Python.h' file not found | |
#include <Python.h> | |
^ | |
1 error generated. | |
make[2]: *** [modules/python/CMakeFiles/opencv_python.dir/src2/cv2.cpp.o] Error 1 | |
make[1]: *** [modules/python/CMakeFiles/opencv_python.dir/all] Error 2 | |
make: *** [all] Error 2 | |
==> Formula | |
Tap: homebrew/science | |
Path: /usr/local/Library/Taps/homebrew-science/opencv.rb | |
==> Configuration | |
HOMEBREW_VERSION: 0.9.5 | |
HEAD: 6fb4f02ad454675dbde0969a940d4f4e320ad1b2 | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.9.2-x86_64 | |
Xcode: 5.1 | |
CLT: 5.1.0.0.1.1393561416 | |
X11: 2.7.5 => /opt/X11 | |
==> ENV | |
HOMEBREW_CC: clang | |
HOMEBREW_CXX: clang++ | |
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/eigen/lib/pkgconfig:/usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig | |
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9 | |
ACLOCAL_PATH: /usr/local/share/aclocal | |
PATH: /anaconda/bin:/usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/jasper/bin:/usr/local/opt/libpng/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/pkg-config/bin:/usr/bin:/bin:/usr/sbin:/sbin | |
Error: opencv did not build | |
Logs: | |
/Users/rogergamper/Library/Logs/Homebrew/opencv/01.cmake | |
/Users/rogergamper/Library/Logs/Homebrew/opencv/01.cmake.cc | |
/Users/rogergamper/Library/Logs/Homebrew/opencv/02.make | |
/Users/rogergamper/Library/Logs/Homebrew/opencv/02.make.cc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment