You are not logged in.
Pages: 1
I am trying to build the package 'qt' so that i can send crash reports back. I have installed abs and changed /etc/makepkg.conf as per https://wiki.archlinux.org/index.php/De … ing_Traces
However, when i try complining with 'makepkg -s' it exits with an error. The last few lines are pasted below. Now, this is one package which takes a long time to compile and it throwed me an error after more than an hour of playing with the source code. Can someone give pointers so that i can compile 'qt' successfully?
...........
...........
compiling topicchooser.cpp
compiling xbelsupport.cpp
compiling ../shared/collectionconfiguration.cpp
compiling openpagesmodel.cpp
compiling globalactions.cpp
compiling openpageswidget.cpp
compiling openpagesmanager.cpp
compiling openpagesswitcher.cpp
compiling helpviewer_qwv.cpp
helpviewer_qwv.cpp:168:1: error: expected class-name before ‘{’ token
helpviewer_qwv.cpp:173:13: error: ‘QWebPage’ does not name a type
helpviewer_qwv.cpp:174:32: error: ‘WebAction’ has not been declared
helpviewer_qwv.cpp:176:42: error: ‘QWebFrame’ has not been declared
helpviewer_qwv.cpp:177:41: error: ‘NavigationType’ has not been declared
helpviewer_qwv.cpp: In constructor ‘HelpPage::HelpPage(QObject*)’:
helpviewer_qwv.cpp:189:7: error: class ‘HelpPage’ does not have any field named ‘QWebPage’
helpviewer_qwv.cpp: At global scope:
helpviewer_qwv.cpp:197:1: error: ‘QWebPage’ does not name a type
helpviewer_qwv.cpp:207:30: error: variable or field ‘triggerAction’ declared void
helpviewer_qwv.cpp:207:30: error: ‘WebAction’ was not declared in this scope
helpviewer_qwv.cpp:207:48: error: expected primary-expression before ‘bool’
make[4]: *** [.obj/release-shared/helpviewer_qwv.o] Error 1
make[4]: Leaving directory `/home/njathan/abs/qt/src/qt-everywhere-opensource-src-4.8.0/tools/assistant/tools/assistant'
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[3]: Leaving directory `/home/njathan/abs/qt/src/qt-everywhere-opensource-src-4.8.0/tools/assistant/tools'
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[2]: Leaving directory `/home/njathan/abs/qt/src/qt-everywhere-opensource-src-4.8.0/tools/assistant'
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make[1]: Leaving directory `/home/njathan/abs/qt/src/qt-everywhere-opensource-src-4.8.0/tools'
make: *** [sub-tools-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
[njathan@OuchLinuX qt]$
Offline
Are you using gcc 4.7.0? I didn't try to build qt with it yet.
EDIT: I tried to build qt with gcc 4.7 and it fails. However, the error was different than yours (see http://pastebin.com/T78CcAbZ).
I updated our PKGBUILD to build with gcc 4.7; if you are using gcc 4.7 fetch the new PKGBUILD from here
Last edited by ilpianista (2012-03-25 12:46:47)
Offline
Are you using gcc 4.7.0? I didn't try to build qt with it yet
I am using 4.6.3-1
[njathan@OuchLinuX ~]$ pacman -Q gcc
gcc 4.6.3-1
[njathan@OuchLinuX ~]$
Offline
I get the same error message as njathan without trying to get debug symbols with gcc 4.6.3. I guess this is worth a bug report.
Offline
I was having the same issue, but I managed to compile it successfully after removing qtwebkit from the system. See https://bbs.archlinux.org/viewtopic.php?id=132416 for more details.
Offline
Pages: 1