Created
June 8, 2011 17:59
-
-
Save LTe/1014942 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
lite@lite-ubuntu:~/RubymineProjects/tweetfunnel$ dpkg -l | grep libqt4 | grep dev | |
lite@lite-ubuntu:~/RubymineProjects/tweetfunnel$ sudo apt-get install libqt4-dev | |
Czytanie list pakietów... Gotowe | |
Budowanie drzewa zależności | |
Odczyt informacji o stanie... Gotowe | |
Zostaną zainstalowane następujące dodatkowe pakiety: | |
libqt4-declarative libqt4-opengl-dev qt4-qmake | |
Sugerowane pakiety: | |
qt4-dev-tools qt4-doc libsqlite0-dev unixodbc-dev | |
Zostaną zainstalowane następujące NOWE pakiety: | |
libqt4-declarative libqt4-dev libqt4-opengl-dev qt4-qmake | |
0 aktualizowanych, 4 nowo instalowanych, 0 usuwanych i 30 nieaktualizowanych. | |
Konieczne pobranie 0B/5244kB archiwów. | |
Po tej operacji zostanie dodatkowo użyte 38,8MB miejsca na dysku. | |
Kontynuować [T/n]? | |
Zaznaczenie poprzednio niezaznaczonego pakietu libqt4-declarative. | |
(Odczytywanie bazy danych ... 428266 plików i katalogów obecnie zainstalowanych.) | |
Rozpakowanie libqt4-declarative (z .../libqt4-declarative_4%3a4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819_amd64.deb) ... | |
Zaznaczenie poprzednio niezaznaczonego pakietu qt4-qmake. | |
Rozpakowanie qt4-qmake (z .../qt4-qmake_4%3a4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819_amd64.deb) ... | |
Zaznaczenie poprzednio niezaznaczonego pakietu libqt4-dev. | |
Rozpakowanie libqt4-dev (z .../libqt4-dev_4%3a4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819_amd64.deb) ... | |
Zaznaczenie poprzednio niezaznaczonego pakietu libqt4-opengl-dev. | |
Rozpakowanie libqt4-opengl-dev (z .../libqt4-opengl-dev_4%3a4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819_amd64.deb) ... | |
Przetwarzanie wyzwalaczy dla man-db... | |
Konfigurowanie libqt4-declarative (4:4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819) ... | |
Konfigurowanie qt4-qmake (4:4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819) ... | |
update-alternatives: użycie /usr/bin/qmake-qt4 jako dostarczającego /usr/bin/qmake (qmake) w tryb auto. | |
Konfigurowanie libqt4-dev (4:4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819) ... | |
update-alternatives: użycie /usr/bin/moc-qt4 jako dostarczającego /usr/bin/moc (moc) w tryb auto. | |
update-alternatives: użycie /usr/bin/uic-qt4 jako dostarczającego /usr/bin/uic (uic) w tryb auto. | |
update-alternatives: ostrzeżenie: pominięcie tworzenia /usr/share/man/man1/uic.1.gz ponieważ powiązany plik /usr/share/man/man1/uic-qt4.1.gz (lub grupa dowiązań uic) nie istnieje. | |
update-alternatives: użycie /usr/bin/lupdate-qt4 jako dostarczającego /usr/bin/lupdate (lupdate) w tryb auto. | |
update-alternatives: użycie /usr/bin/lrelease-qt4 jako dostarczającego /usr/bin/lrelease (lrelease) w tryb auto. | |
Konfigurowanie libqt4-opengl-dev (4:4.7.0~beta1+git20100522-0ubuntu1~lucid1~ppa1+appmenu20100819) ... | |
Przetwarzanie wyzwalaczy dla libc-bin... | |
ldconfig deferred processing now taking place | |
lite@lite-ubuntu:~/RubymineProjects/tweetfunnel$ gem install capybara-webkit | |
Building native extensions. This could take a while... | |
ERROR: Error installing capybara-webkit: | |
ERROR: Failed to build gem native extension. | |
/home/lite/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb | |
/usr/bin/qmake | |
cd src/ && /usr/bin/qmake /home/lite/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.4.1/src/webkit_server.pro -spec /usr/share/qt4/mkspecs/linux-g++ -o Makefile.webkit_server | |
cd src/ && make -f Makefile.webkit_server | |
make[1]: Wejście do katalogu `/home/lite/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.4.1/src' | |
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -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 main.o main.cpp | |
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -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 WebPage.o WebPage.cpp | |
In file included from WebPage.cpp:1: | |
WebPage.h:1:20: error: QtWebKit: Nie ma takiego pliku ani katalogu | |
In file included from WebPage.cpp:1: | |
WebPage.h:3: error: expected class-name before ‘{’ token | |
WebPage.h:4: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type | |
WebPage.h:6: error: expected ‘;’ before ‘public’ | |
WebPage.h:8: error: ‘QVariant’ does not name a type | |
WebPage.h:9: error: ‘QVariant’ does not name a type | |
WebPage.h:10: error: ‘QString’ does not name a type | |
WebPage.h:12: error: expected ‘:’ before ‘slots’ | |
WebPage.h:13: error: expected primary-expression before ‘bool’ | |
WebPage.h:13: error: ISO C++ forbids declaration of ‘slots’ with no type | |
WebPage.h:13: error: expected ‘;’ before ‘bool’ | |
WebPage.h:18: error: ‘QWebFrame’ has not been declared | |
WebPage.h:21: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:21: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:22: error: ‘QWebFrame’ has not been declared | |
WebPage.h:22: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:22: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:23: error: ‘QWebFrame’ has not been declared | |
WebPage.h:23: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:23: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:24: error: ‘QWebFrame’ has not been declared | |
WebPage.h:24: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:24: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:27: error: ‘QString’ does not name a type | |
WebPage.cpp:6: error: prototype for ‘WebPage::WebPage(QObject*)’ does not match any in class ‘WebPage’ | |
WebPage.h:3: error: candidates are: WebPage::WebPage(const WebPage&) | |
WebPage.h:3: error: WebPage::WebPage() | |
WebPage.cpp:24: error: variable or field ‘frameCreated’ declared void | |
WebPage.cpp:24: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:24: error: ‘frame’ was not declared in this scope | |
WebPage.cpp: In member function ‘void WebPage::injectJavascriptHelpers()’: | |
WebPage.cpp:30: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:30: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:30: error: ‘QWebFrame’ cannot appear in a constant-expression | |
WebPage.cpp:30: error: parse error in template argument list | |
WebPage.cpp:30: error: cannot call member function ‘QObject* QObject::sender() const’ without object | |
WebPage.cpp:31: error: ‘m_capybaraJavascript’ was not declared in this scope | |
WebPage.cpp: At global scope: | |
WebPage.cpp:34: error: no ‘bool WebPage::shouldInterruptJavaScript()’ member function declared in class ‘WebPage’ | |
WebPage.cpp:38: error: no ‘QVariant WebPage::invokeCapybaraFunction(const char*, QStringList&)’ member function declared in class ‘WebPage’ | |
WebPage.cpp:47: error: no ‘QVariant WebPage::invokeCapybaraFunction(QString&, QStringList&)’ member function declared in class ‘WebPage’ | |
WebPage.cpp:51: error: prototype for ‘void WebPage::javaScriptConsoleMessage(const QString&, int, const QString&)’ does not match any in class ‘WebPage’ | |
WebPage.h:21: error: candidate is: virtual void WebPage::javaScriptConsoleMessage(int) | |
WebPage.cpp:57: error: variable or field ‘javaScriptAlert’ declared void | |
WebPage.cpp:57: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:57: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:57: error: expected primary-expression before ‘const’ | |
WebPage.cpp:62: error: ‘bool WebPage::javaScriptConfirm’ is not a static member of ‘class WebPage’ | |
WebPage.cpp:62: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:62: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:62: error: expected primary-expression before ‘const’ | |
WebPage.cpp:62: error: initializer expression list treated as compound expression | |
WebPage.cpp:62: error: expected ‘,’ or ‘;’ before ‘{’ token | |
WebPage.cpp:68: error: ‘bool WebPage::javaScriptPrompt’ is not a static member of ‘class WebPage’ | |
WebPage.cpp:68: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:68: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:68: error: expected primary-expression before ‘const’ | |
WebPage.cpp:68: error: expected primary-expression before ‘const’ | |
WebPage.cpp:68: error: expected primary-expression before ‘*’ token | |
WebPage.cpp:68: error: ‘result’ was not declared in this scope | |
WebPage.cpp:68: error: initializer expression list treated as compound expression | |
WebPage.cpp:68: error: expected ‘,’ or ‘;’ before ‘{’ token | |
WebPage.cpp:89: error: no ‘QString WebPage::failureString()’ member function declared in class ‘WebPage’ | |
make[1]: *** [WebPage.o] Błąd 1 | |
make[1]: Opuszczenie katalogu `/home/lite/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.4.1/src' | |
make: *** [sub-src-webkit_server-pro-make_default-ordered] Błąd 2 | |
make | |
cd src/ && make -f Makefile.webkit_server | |
make[1]: Wejście do katalogu `/home/lite/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.4.1/src' | |
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -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 WebPage.o WebPage.cpp | |
In file included from WebPage.cpp:1: | |
WebPage.h:1:20: error: QtWebKit: Nie ma takiego pliku ani katalogu | |
In file included from WebPage.cpp:1: | |
WebPage.h:3: error: expected class-name before ‘{’ token | |
WebPage.h:4: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type | |
WebPage.h:6: error: expected ‘;’ before ‘public’ | |
WebPage.h:8: error: ‘QVariant’ does not name a type | |
WebPage.h:9: error: ‘QVariant’ does not name a type | |
WebPage.h:10: error: ‘QString’ does not name a type | |
WebPage.h:12: error: expected ‘:’ before ‘slots’ | |
WebPage.h:13: error: expected primary-expression before ‘bool’ | |
WebPage.h:13: error: ISO C++ forbids declaration of ‘slots’ with no type | |
WebPage.h:13: error: expected ‘;’ before ‘bool’ | |
WebPage.h:18: error: ‘QWebFrame’ has not been declared | |
WebPage.h:21: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:21: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:22: error: ‘QWebFrame’ has not been declared | |
WebPage.h:22: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:22: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:23: error: ‘QWebFrame’ has not been declared | |
WebPage.h:23: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:23: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:24: error: ‘QWebFrame’ has not been declared | |
WebPage.h:24: error: ISO C++ forbids declaration of ‘QString’ with no type | |
WebPage.h:24: error: expected ‘,’ or ‘...’ before ‘&’ token | |
WebPage.h:27: error: ‘QString’ does not name a type | |
WebPage.cpp:6: error: prototype for ‘WebPage::WebPage(QObject*)’ does not match any in class ‘WebPage’ | |
WebPage.h:3: error: candidates are: WebPage::WebPage(const WebPage&) | |
WebPage.h:3: error: WebPage::WebPage() | |
WebPage.cpp:24: error: variable or field ‘frameCreated’ declared void | |
WebPage.cpp:24: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:24: error: ‘frame’ was not declared in this scope | |
WebPage.cpp: In member function ‘void WebPage::injectJavascriptHelpers()’: | |
WebPage.cpp:30: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:30: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:30: error: ‘QWebFrame’ cannot appear in a constant-expression | |
WebPage.cpp:30: error: parse error in template argument list | |
WebPage.cpp:30: error: cannot call member function ‘QObject* QObject::sender() const’ without object | |
WebPage.cpp:31: error: ‘m_capybaraJavascript’ was not declared in this scope | |
WebPage.cpp: At global scope: | |
WebPage.cpp:34: error: no ‘bool WebPage::shouldInterruptJavaScript()’ member function declared in class ‘WebPage’ | |
WebPage.cpp:38: error: no ‘QVariant WebPage::invokeCapybaraFunction(const char*, QStringList&)’ member function declared in class ‘WebPage’ | |
WebPage.cpp:47: error: no ‘QVariant WebPage::invokeCapybaraFunction(QString&, QStringList&)’ member function declared in class ‘WebPage’ | |
WebPage.cpp:51: error: prototype for ‘void WebPage::javaScriptConsoleMessage(const QString&, int, const QString&)’ does not match any in class ‘WebPage’ | |
WebPage.h:21: error: candidate is: virtual void WebPage::javaScriptConsoleMessage(int) | |
WebPage.cpp:57: error: variable or field ‘javaScriptAlert’ declared void | |
WebPage.cpp:57: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:57: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:57: error: expected primary-expression before ‘const’ | |
WebPage.cpp:62: error: ‘bool WebPage::javaScriptConfirm’ is not a static member of ‘class WebPage’ | |
WebPage.cpp:62: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:62: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:62: error: expected primary-expression before ‘const’ | |
WebPage.cpp:62: error: initializer expression list treated as compound expression | |
WebPage.cpp:62: error: expected ‘,’ or ‘;’ before ‘{’ token | |
WebPage.cpp:68: error: ‘bool WebPage::javaScriptPrompt’ is not a static member of ‘class WebPage’ | |
WebPage.cpp:68: error: ‘QWebFrame’ was not declared in this scope | |
WebPage.cpp:68: error: ‘frame’ was not declared in this scope | |
WebPage.cpp:68: error: expected primary-expression before ‘const’ | |
WebPage.cpp:68: error: expected primary-expression before ‘const’ | |
WebPage.cpp:68: error: expected primary-expression before ‘*’ token | |
WebPage.cpp:68: error: ‘result’ was not declared in this scope | |
WebPage.cpp:68: error: initializer expression list treated as compound expression | |
WebPage.cpp:68: error: expected ‘,’ or ‘;’ before ‘{’ token | |
WebPage.cpp:89: error: no ‘QString WebPage::failureString()’ member function declared in class ‘WebPage’ | |
make[1]: *** [WebPage.o] Błąd 1 | |
make[1]: Opuszczenie katalogu `/home/lite/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.4.1/src' | |
make: *** [sub-src-webkit_server-pro-make_default-ordered] Błąd 2 | |
Gem files will remain installed in /home/lite/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.4.1 for inspection. | |
Results logged to /home/lite/.rvm/gems/ruby-1.9.2-p180/gems/capybara-webkit-0.4.1/./gem_make.out | |
lite@lite-ubuntu:~/RubymineProjects/tweetfunnel$ sudo apt-get install libqt4-webkit-dev | |
Czytanie list pakietów... Gotowe | |
Budowanie drzewa zależności | |
Odczyt informacji o stanie... Gotowe | |
Zostaną zainstalowane następujące NOWE pakiety: | |
libqt4-webkit-dev | |
0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 30 nieaktualizowanych. | |
Konieczne pobranie 0B/52,6kB archiwów. | |
Po tej operacji zostanie dodatkowo użyte 262kB miejsca na dysku. | |
Zaznaczenie poprzednio niezaznaczonego pakietu libqt4-webkit-dev. | |
(Odczytywanie bazy danych ... | |
(Odczytywanie bazy danych ... 431781 plików i katalogów obecnie zainstalowanych.) | |
Rozpakowanie libqt4-webkit-dev (z .../libqt4-webkit-dev_4%3a4.7~beta1+git20100522-0ubuntu2~lucid1~ppa1_amd64.deb) ... | |
Konfigurowanie libqt4-webkit-dev (4:4.7~beta1+git20100522-0ubuntu2~lucid1~ppa1) ... | |
lite@lite-ubuntu:~/RubymineProjects/tweetfunnel$ gem install capybara-webkit | |
Building native extensions. This could take a while... | |
Successfully installed capybara-webkit-0.4.1 | |
1 gem installed | |
Installing ri documentation for capybara-webkit-0.4.1... | |
Building YARD (yri) index for capybara-webkit-0.4.1... | |
Installing RDoc documentation for capybara-webkit-0.4.1... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment