LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-18-2009, 09:10 AM   #1
walidaly
Member
 
Registered: Mar 2007
Posts: 64

Rep: Reputation: 15
Unhappy problem installing QtWebKit and CutyCapt on Centos


I can not install QtWebKit with yum
building QtWebKit from source produces errors
Quote:
~ [/soft/WebKit-r48398]# WebKitTools/Scripts/build-webkit --qt
Calling 'qmake -r OUTPUT_DIR=/soft/WebKit-r48398/WebKitBuild/Release /soft/WebKit-r48398/WebKit.pro CONFIG+=release CONFIG-=debug' in /soft/WebKit-r48398/WebKitBuild/Release

Reading /soft/WebKit-r48398/WebCore/WebCore.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebCore]
pcre.pri:16: Function[addExtraCompiler] multiply defined.
pcre.pri:16: Unterminated conditional block at end of file
/usr/lib/qt4/bin/rcc: File does not exist '../../../WebCore/WebCore.qrc'
/usr/lib/qt4/bin/rcc: File does not exist '../../../WebCore/inspector/front-end/WebKit.qrc'
Reading /soft/WebKit-r48398/JavaScriptCore/jsc.pro [/soft/WebKit-r48398/WebKitBuild/Release/JavaScriptCore]
pcre.pri:16: Function[addExtraCompiler] multiply defined.
pcre.pri:16: Unterminated conditional block at end of file
Reading /soft/WebKit-r48398/WebKit/qt/QtLauncher/QtLauncher.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/QtLauncher]
Reading /soft/WebKit-r48398/WebKit/qt/QGVLauncher/QGVLauncher.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/QGVLauncher]
Reading /soft/WebKit-r48398/WebKit/qt/tests/tests.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests]
Reading /soft/WebKit-r48398/WebKit/qt/tests/qwebframe/qwebframe.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests/qwebframe]
Reading /soft/WebKit-r48398/WebKit/qt/tests/qwebpage/qwebpage.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests/qwebpage]
Reading /soft/WebKit-r48398/WebKit/qt/tests/qwebelement/qwebelement.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests/qwebelement]
Reading /soft/WebKit-r48398/WebKit/qt/tests/qwebhistoryinterface/qwebhistoryinterface.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests/qwebhistoryinterface]
Reading /soft/WebKit-r48398/WebKit/qt/tests/qwebplugindatabase/qwebplugindatabase.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests/qwebplugindatabase]
Reading /soft/WebKit-r48398/WebKit/qt/tests/qwebview/qwebview.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests/qwebview]
Reading /soft/WebKit-r48398/WebKit/qt/tests/qwebhistory/qwebhistory.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKit/qt/tests/qwebhistory]
Reading /soft/WebKit-r48398/WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKitTools/DumpRenderTree/qt]
Reading /soft/WebKit-r48398/WebKitTools/DumpRenderTree/qt/ImageDiff.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKitTools/DumpRenderTree/qt]
Reading /soft/WebKit-r48398/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro [/soft/WebKit-r48398/WebKitBuild/Release/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin]
cd WebCore && make -f Makefile
make[1]: Entering directory `/soft/WebKit-r48398/WebKitBuild/Release/WebCore'
bison -d -p jscyy ../../../JavaScriptCore/parser/Grammar.y -o generatedreleaseGrammar.tab.c && mv -f generatedreleaseGrammar.tab.c generatedreleaseGrammar.cpp && mv -f generatedreleaseGrammar.tab.h generatedreleaseGrammar.h
perl -I/soft/WebKit-r48398/WebCore/bindings/scripts /soft/WebKit-r48398/WebCore/dom/make_names.pl --tags /soft/WebKit-r48398/WebCore/svg/svgtags.in --attrs /soft/WebKit-r48398/WebCore/svg/svgattrs.in --extraDefines "BUILDING_QT__=1 USE_SYSTEM_MALLOC NDEBUG QT_MAKEDLL HAVE_STDINT_H BUILD_WEBKIT ENABLE_JAVASCRIPT_DEBUGGER=1 ENABLE_DATABASE=1 ENABLE_EVENTSOURCE=1 ENABLE_OFFLINE_WEB_APPLICATIONS=1 ENABLE_DOM_STORAGE=1 ENABLE_ICONDATABASE=1 ENABLE_CHANNEL_MESSAGING=1 ENABLE_SQLITE=1 ENABLE_DASHBOARD_SUPPORT=0 ENABLE_FILTERS=0 ENABLE_XPATH=1 ENABLE_XSLT=0 ENABLE_WCSS=0 ENABLE_WML=0 ENABLE_SHARED_WORKERS=1 ENABLE_WORKERS=1 ENABLE_XHTMLMP=0 ENABLE_DATAGRID=1 ENABLE_SVG=1 ENABLE_SVG_FONTS=1 ENABLE_SVG_FOREIGN_OBJECT=1 ENABLE_SVG_ANIMATION=1 ENABLE_SVG_AS_IMAGE=1 ENABLE_SVG_USE=1 ENABLE_RUBY=1 ENABLE_VIDEO=0 ENABLE_DATALIST=1 ENABLE_NETSCAPE_PLUGIN_API=1 WTF_USE_JAVASCRIPTCORE_BINDINGS=1 WTF_CHANGES=1 BUILDING_QT__ BUILDING_JavaScriptCore BUILDING_WTF QT_BEGIN_NAMESPACE= QT_END_NAMESPACE= ENABLE_PLUGIN_PACKAGE_SIMPLE_HASH=1 XP_UNIX" --preprocessor "/usr/lib/qt4/bin/moc -E" --factory --wrapperFactory --outputDir generatedrelease


perl -I/soft/WebKit-r48398/WebCore/bindings/scripts /soft/WebKit-r48398/WebCore/dom/make_names.pl --attrs /soft/WebKit-r48398/WebCore/svg/xlinkattrs.in --preprocessor "/usr/lib/qt4/bin/moc -E" --outputDir generatedrelease

perl -ne "print lc" ../../../WebCore/css/CSSPropertyNames.in /soft/WebKit-r48398/WebCore/css/SVGCSSPropertyNames.in > generatedreleaseCSSPropertyNames.in && cd generatedrelease && perl /soft/WebKit-r48398/WebCore/css/makeprop.pl && rm -f CSSPropertyNames.strip CSSPropertyNames.in CSSPropertyNames.gperf
readline() on closed filehandle NAMES at /soft/WebKit-r48398/WebCore/css/makeprop.pl line 28.
CSSPropertyNames.gperf: No keywords in input file!
calling gperf failed: 256 at /soft/WebKit-r48398/WebCore/css/makeprop.pl line 96.
make[1]: *** [generatedreleaseCSSPropertyNames.cpp] Error 25
make[1]: Leaving directory `/soft/WebKit-r48398/WebKitBuild/Release/WebCore'
make: *** [sub-WebCore-make_default-ordered] Error 2
 
Old 09-19-2009, 08:34 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,425

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
The "QtWebKit" is provided by qt4.

You can use the atrpms.repo ( temporarily ) to get it :
qt44-4.4.3-10_4.el5.i386.rpm , qt44-devel-4.4.3-10_4.el5.i386.rpm
are in the 'testing repo'.
http://dl.atrpms.net/el5-i386/atrpms/testing/
.. installation instructions ..
http://atrpms.net/install.html

# yum install qt44-devel
.....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Qt 4.5 to Dramatically Improve QtWebKit and QGraphicsView Through Animations an LXer Syndicated Linux News 0 08-10-2008 11:41 PM
Problem installing NS-2 in CentOS 5.0 venkatteshb Linux - Newbie 0 01-04-2008 06:36 AM
Installing CentOS on External HD *** Problem*** nentendo Linux - Software 2 03-08-2007 06:00 AM
Problem installing Centos 4.3 wrexn Linux - Software 7 07-21-2006 02:13 PM
Problem with installing linux version 2.6.0 on CentOS ishashank Linux - Hardware 1 03-24-2006 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration