Skip to content

Instantly share code, notes, and snippets.

@chintanparikh
Created May 7, 2013 15:20
Show Gist options
  • Save chintanparikh/5533448 to your computer and use it in GitHub Desktop.
Save chintanparikh/5533448 to your computer and use it in GitHub Desktop.
Chintan at mbp in ~/Documents/Work/Aidin on master
± gem install capybara-webkit -v '0.14.1'
Building native extensions. This could take a while...
ERROR: Error installing capybara-webkit:
ERROR: Failed to build gem native extension.
/Users/Chintan/.rvm/rubies/ruby-1.9.3-p0/bin/ruby extconf.rb
cd src/ && /usr/local/bin/qmake /Users/Chintan/.rvm/gems/ruby-1.9.3-p0/gems/capybara-webkit-0.14.1/src/webkit_server.pro -spec /usr/local/Cellar/qt/4.8.4/mkspecs/macx-g++ -o Makefile.webkit_server
cd src/ && make -f Makefile.webkit_server
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.4/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.8.4/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/include -I. -F/usr/local/Cellar/qt/4.8.4/lib -o EnableLogging.o EnableLogging.cpp
g++: error: unrecognized command line option ‘-Xarch_x86_64’
make[1]: *** [EnableLogging.o] Error 1
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 2
Command 'make' failed
make
cd src/ && make -f Makefile.webkit_server
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.4/mkspecs/macx-g++ -I. -I/usr/local/Cellar/qt/4.8.4/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtNetwork.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/lib/QtWebKit.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.4/include -I. -F/usr/local/Cellar/qt/4.8.4/lib -o EnableLogging.o EnableLogging.cpp
g++: error: unrecognized command line option ‘-Xarch_x86_64’
make[1]: *** [EnableLogging.o] Error 1
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment