Re: Compiling qt-4.8rc1 from [testing] fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Bjørn Øivind Bjørnsen <bo.bjornsen <at> gmail.com> writes:

> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello list,
> 
> The latest qt-package in testing broke one of the applications I am
> working on at the moment.
> It compiles fine, but crashes during runtime, so I tried to compile qt
> with debug symbols. I did the same thing as I usually do when I have to
> poke qt-internals - added '!strip' to the options in the PKGBUILD and
> tried to compile the package again. The PKGBUILD and friends were
> obtained from abs. However, the compilation fails in tools/assistant,
> with the following errors:
> 
> make[4]: Entering directory
> `/home/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant/tools/assistant'
> 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/bo/pakker/qt-4.8rc1/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/bo/pakker/qt-4.8rc1/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/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-
4.8.0/tools/assistant'
> make[1]: *** [sub-assistant-make_default-ordered] Error 2
> make[1]: Leaving directory
> `/home/bo/pakker/qt-4.8rc1/src/qt-everywhere-opensource-src-4.8.0/tools'
> make: *** [sub-tools-make_default-ordered] Error 2
> ==> ERROR: A failure occurred in build().
> 
> I noticed that qtwebkit was split out of this package. Have I missed
> some other piece of vital information which allows me to compile this,
> and does anyone else see this? I could reproduce this on two x86_64
> machines here, -Syu'ed as of today.
> I would be thankful for any tips :)

 Hello,

I experienced the same problem while compiling qt-4.8.0-6. Any hints on
how to avoid that error?

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/debug-shared/helpviewer_qwv.o] Error 1
make[4]: Leaving directory `/home/kay/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/kay/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/kay/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/kay/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...


Regards,
Kay





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux