Skip to content

Instantly share code, notes, and snippets.

@juanoliver
Created June 17, 2013 12:52
Show Gist options
  • Save juanoliver/5796640 to your computer and use it in GitHub Desktop.
Save juanoliver/5796640 to your computer and use it in GitHub Desktop.
Error compiling capybara-webkit
g++ -c -include webkit_server -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -o NetworkReplyProxy.o NetworkReplyProxy.cpp
NetworkReplyProxy.cpp: In constructor âNetworkReplyProxy::NetworkReplyProxy(QNetworkReply*, QObject*)â:
NetworkReplyProxy.cpp:15:21: error: âsetFinishedâ was not declared in this scope
NetworkReplyProxy.cpp: In member function âvoid NetworkReplyProxy::handleFinished()â:
NetworkReplyProxy.cpp:37:19: error: âsetFinishedâ was not declared in this scope
make[1]: *** [NetworkReplyProxy.o] Error 1
make[1]: Leaving directory `/home/ubuntu/.bundler/tmp/20603/gems/capybara-webkit-1.0.0/src'
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 2
Command 'make' failed
make
cd src/ && make -f Makefile.webkit_server
make[1]: Entering directory `/home/ubuntu/.bundler/tmp/20603/gems/capybara-webkit-1.0.0/src'
g++ -c -include webkit_server -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -o NetworkReplyProxy.o NetworkReplyProxy.cpp
NetworkReplyProxy.cpp: In constructor âNetworkReplyProxy::NetworkReplyProxy(QNetworkReply*, QObject*)â:
NetworkReplyProxy.cpp:15:21: error: âsetFinishedâ was not declared in this scope
NetworkReplyProxy.cpp: In member function âvoid NetworkReplyProxy::handleFinished()â:
NetworkReplyProxy.cpp:37:19: error: âsetFinishedâ was not declared in this scope
make[1]: *** [NetworkReplyProxy.o] Error 1
make[1]: Leaving directory `/home/ubuntu/.bundler/tmp/20603/gems/capybara-webkit-1.0.0/src'
make: *** [sub-src-webkit_server-pro-make_default-ordered] Error 2
Gem files will remain installed in /home/ubuntu/.bundler/tmp/20603/gems/capybara-webkit-1.0.0 for inspection.
Results logged to /home/ubuntu/.bundler/tmp/20603/gems/capybara-webkit-1.0.0/./gem_make.out
An error occured while installing capybara-webkit (1.0.0), and Bundler cannot continue.
Make sure that `gem install capybara-webkit -v '1.0.0'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment