Skip to content

Instantly share code, notes, and snippets.

@phoebebright
Created January 1, 2011 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phoebebright/761859 to your computer and use it in GitHub Desktop.
Save phoebebright/761859 to your computer and use it in GitHub Desktop.
Back to the first error I think
The-Black-Book-2:~ phoebebr$ brew install pyqt
==> Downloading http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-
File already downloaded and cached to /Users/phoebebr/Library/Caches/Homebrew
==> python2.7 ./configure.py --confirm-license --bindir=/usr/local/Cellar/pyqt/4
==> make
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.7.1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.7.1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtCore -I/usr/local/Cellar/qt/4.7.1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtGui -I/usr/local/Cellar/qt/4.7.1/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtDeclarative -I/usr/local/Cellar/qt/4.7.1/include -I/usr/local/Cellar/sip/4.12/include -I/usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I../../QtDeclarative -I. -I. -F/usr/local/Cellar/qt/4.7.1/lib -o qpydeclarative_listwrapper.o qpydeclarative_listwrapper.cpp
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.7.1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.7.1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtCore -I/usr/local/Cellar/qt/4.7.1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtGui -I/usr/local/Cellar/qt/4.7.1/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtDeclarative -I/usr/local/Cellar/qt/4.7.1/include -I/usr/local/Cellar/sip/4.12/include -I/usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I../../QtDeclarative -I. -I. -F/usr/local/Cellar/qt/4.7.1/lib -o qpydeclarative_post_init.o qpydeclarative_post_init.cpp
In file included from /usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:126,
from qpydeclarative_post_init.cpp:31:
/usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7/modsupport.h:27: warning: ‘PyArg_ParseTuple’ is an unrecognized format function type
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -W -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.7.1/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.7.1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtCore -I/usr/local/Cellar/qt/4.7.1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtGui -I/usr/local/Cellar/qt/4.7.1/lib/QtDeclarative.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.7.1/include/QtDeclarative -I/usr/local/Cellar/qt/4.7.1/include -I/usr/local/Cellar/sip/4.12/include -I/usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I../../QtDeclarative -I. -I. -F/usr/local/Cellar/qt/4.7.1/lib -o qpydeclarativelistproperty.o qpydeclarativelistproperty.cpp
In file included from /usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:126,
from /usr/local/Cellar/sip/4.12/include/sip.h:32,
from ../../QtDeclarative/sipAPIQtDeclarative.h:38,
from qpydeclarative_listwrapper.cpp:31:
.....
from pluginloader.h:36,
from moc_pluginloader.cpp:10:
/usr/local/Cellar/python/2.7.1/Frameworks/Python.framework/Versions/2.7/include/python2.7/modsupport.h:27: warning: ‘PyArg_ParseTuple’ is an unrecognized format function type
rm -f libpythonplugin.dylib
g++ -headerpad_max_install_names -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -single_module -dynamiclib -o libpythonplugin.dylib pluginloader.o moc_pluginloader.o -F/usr/local/Cellar/qt/4.7.1/lib -L/usr/local/Cellar/qt/4.7.1/lib -framework Python -L/usr/X11R6/lib -L/usr/local/Cellar/qt/4.7.1/lib -F/usr/local/Cellar/qt/4.7.1/lib -framework QtDesigner -L/private/tmp/homebrew-qt-4.7.1-l487/qt-everywhere-opensource-src-4.7.1/lib -F/private/tmp/homebrew-qt-4.7.1-l487/qt-everywhere-opensource-src-4.7.1/lib -framework QtScript -framework QtXml -framework QtGui -framework QtCore
ld: warning: directory '/private/tmp/homebrew-qt-4.7.1-l487/qt-everywhere-opensource-src-4.7.1/lib' following -L not found
ld: warning: directory '/private/tmp/homebrew-qt-4.7.1-l487/qt-everywhere-opensource-src-4.7.1/lib' following -F not found
ld: framework not found Python
collect2: ld returned 1 exit status
make[1]: *** [libpythonplugin.dylib] Error 1
make: *** [all] Error 2
Exit status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/pyqt.rb#L21
==> Environment
HOMEBREW_VERSION: 0.7.1
HEAD: 2b832e19d8c661809285e31b48c8a5195d8ba4a7
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: dual-core 64-bit core2
OS X: 10.6.4
Kernel Architecture: i386
Ruby: 1.8.7-174
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 3.2.5
GCC-4.0: build 5494
GCC-4.2: build 5664
LLVM: build 2333
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/cc => /usr/bin/gcc-4.2
CXX: /usr/bin/c++ => /usr/bin/c++-4.2
LD: /usr/bin/cc => /usr/bin/gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
MAKEFLAGS: -j2
Error: Failure while executing: make
Please follow the instructions to report this bug at https://github.com/mxcl/homebrew/wiki/new-issue
Also try:
`brew doctor` to check your setup for common problems.
`brew missing` to check installed packages for missing deps.
The-Black-Book-2:~ phoebebr$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment