You are not logged in.

#1 2014-06-18 20:02:51

hotshot247
Member
Registered: 2014-06-15
Posts: 23

compiling error for qt4-ubuntu

hey, i'm working on compiling the dependencies for unity on my arch linux system and i made it to qt4-ubuntu and as i'm compiling it, it takes it an hr or and gets to this...

compiling helpviewer_qwv.cpp
helpviewer_qwv.cpp:161:1: error: expected class-name before ‘{’ token
 {
 ^
helpviewer_qwv.cpp:166:13: error: ‘QWebPage’ does not name a type
     virtual QWebPage *createWindow(QWebPage::WebWindowType);
             ^
helpviewer_qwv.cpp:167:32: error: ‘WebAction’ has not been declared
     virtual void triggerAction(WebAction action, bool checked = false);
                                ^
helpviewer_qwv.cpp:169:42: error: ‘QWebFrame’ has not been declared
     virtual bool acceptNavigationRequest(QWebFrame *frame,
                                          ^
helpviewer_qwv.cpp:170:41: error: ‘NavigationType’ has not been declared
         const QNetworkRequest &request, NavigationType type);
                                         ^
helpviewer_qwv.cpp: In constructor ‘HelpPage::HelpPage(QObject*)’:
helpviewer_qwv.cpp:182:7: error: class ‘HelpPage’ does not have any field named ‘QWebPage’
     : QWebPage(parent)
       ^
helpviewer_qwv.cpp: At global scope:
helpviewer_qwv.cpp:190:1: error: ‘QWebPage’ does not name a type
 QWebPage *HelpPage::createWindow(QWebPage::WebWindowType)
 ^
helpviewer_qwv.cpp:200:30: error: variable or field ‘triggerAction’ declared void
 void HelpPage::triggerAction(WebAction action, bool checked)
                              ^
helpviewer_qwv.cpp:200:30: error: ‘WebAction’ was not declared in this scope
helpviewer_qwv.cpp:200:48: error: expected primary-expression before ‘bool’
 void HelpPage::triggerAction(WebAction action, bool checked)
                                                ^
Makefile:14146: recipe for target '.obj/release-shared/helpviewer_qwv.o' failed
make[4]: *** [.obj/release-shared/helpviewer_qwv.o] Error 1
make[4]: Leaving directory '/home/chris/Downloads/qt4-ubuntu/src/qt-everywhere-opensource-src-4.8.6/tools/assistant/tools/assistant'
Makefile:42: recipe for target 'sub-assistant-make_default-ordered' failed
make[3]: *** [sub-assistant-make_default-ordered] Error 2
make[3]: Leaving directory '/home/chris/Downloads/qt4-ubuntu/src/qt-everywhere-opensource-src-4.8.6/tools/assistant/tools'
Makefile:113: recipe for target 'sub-tools-make_default-ordered' failed
make[2]: *** [sub-tools-make_default-ordered] Error 2
make[2]: Leaving directory '/home/chris/Downloads/qt4-ubuntu/src/qt-everywhere-opensource-src-4.8.6/tools/assistant'
Makefile:52: recipe for target 'sub-assistant-make_default-ordered' failed
make[1]: *** [sub-assistant-make_default-ordered] Error 2
make[1]: Leaving directory '/home/chris/Downloads/qt4-ubuntu/src/qt-everywhere-opensource-src-4.8.6/tools'
Makefile:891: recipe for target 'sub-tools-make_default-ordered' failed
make: *** [sub-tools-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

sorry if the Newbie corner isn't the right place for this, i looked at the other topics on this forum and this seemed to best suit it. i'm still somewhat of a noob when it comes to arch linux but i'm not a noob to the terminal. i've been using ubuntu for years compiling apps from source so i know what i'm doing. any help would be awesome! thanks!

Offline

#2 2014-06-18 21:01:42

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: compiling error for qt4-ubuntu

I think you might have more luck trying to contact the maintainer of this package. The easiest way would be via the AUR, I guess?

There is also an 'Unity on Arch' forum thread somewhere, but I can't find it at the moment.

Edit: It seems that Unity has no maintainer in the AUR, but qt4-ubuntu does have a maintainer. Try it there.

Last edited by runical (2014-06-18 21:06:15)

Offline

#3 2014-06-18 21:34:46

hotshot247
Member
Registered: 2014-06-15
Posts: 23

Re: compiling error for qt4-ubuntu

ok, thanks for the help! i'll check it out

Offline

#4 2014-06-18 21:53:03

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: compiling error for qt4-ubuntu

By the way, from your post I gather that you want to use Unity as your DE, right? In that case, have you read the wiki page?

Offline

#5 2014-06-18 22:07:20

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: compiling error for qt4-ubuntu

I get the same build errors trying to build the official qt4 package from extra.

Offline

#6 2014-06-19 03:50:00

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: compiling error for qt4-ubuntu

I just compiled the official qt4 package, but I can't repoduce the error. I did build in a clean chroot, so that might be the cause.

That is something you might want to try. Build it in a clean chroot to make sure that there are no strange interferences. In case you want to try: clean-chroot-manager makes building in a clean chroot trivially easy.

Last edited by runical (2014-06-19 03:53:47)

Offline

Board footer

Powered by FluxBB