wkhtmltopdf-qt compilation and installation error in CentOS release 5.8 (Final)

163 views
Skip to first unread message

Bala Murugan

unread,
Jun 14, 2013, 4:14:56 AM6/14/13
to wkhtmlt...@googlegroups.com
Hi all, 

am getting the following log with error when try to installing wkhtmltopdf-qt

//////////////

painting/qdrawhelper.cpp: In function ‘uint qt_fetchPixel(const uchar*, int, const QVector<unsigned int>*) [with QImage::Format format = Format_ARGB4444_Premultiplied]’:
painting/qdrawhelper.cpp:459: warning: lowering visibility of ‘uint qt_fetchPixel(const uchar*, int, const QVector<unsigned int>*) [with QImage::Format format = Format_ARGB4444_Premultiplied]’ to match its type
painting/qdrawhelper.cpp: In function ‘uint qt_fetchPixel(const uchar*, int, const QVector<unsigned int>*) [with QImage::Format format = Format_Invalid]’:
painting/qdrawhelper.cpp:469: warning: lowering visibility of ‘uint qt_fetchPixel(const uchar*, int, const QVector<unsigned int>*) [with QImage::Format format = Format_Invalid]’ to match its type
painting/qdrawhelper.cpp: In function ‘const uint* qt_fetchUntransformed(uint*, const Operator*, const QSpanData*, int, int, int) [with QImage::Format format = Format_ARGB32_Premultiplied]’:
painting/qdrawhelper.cpp:523: warning: lowering visibility of ‘const uint* qt_fetchUntransformed(uint*, const Operator*, const QSpanData*, int, int, int) [with QImage::Format format = Format_ARGB32_Premultiplied]’ to match its type
{standard input}: Assembler messages:
{standard input}:22057: Warning: end of file not at end of a line; newline inserted
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[1]: *** [.obj/release-shared/qpaintengine_raster.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/extosolu/public_html/wkhtmltopdf-qt/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2

/////////////////////////////////////////////

i tried these commands 

///////

# yum groupinstall "Development Tools"
# rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# yum install git-core
(i manually installed git-core, since it has some dependency problems)

get dependencies (libXft-devel is optional):

i hope i installed all other dependencies needed.

$ yum install openssl-devel libXrender-devel libXext-devel libXft-devel

get the source:

$ git clone git://github.com/antialize/wkhtmltopdf.git wkhtmltopdf
$ git clone git://gitorious.org/~antialize/qt/antializes-qt.git wkhtmltopdf-qt\

git checkout 4.8.4


 QTDIR=. ./bin/syncqt

compile qt:

$ cd wkhtmltopdf-qt

$ ./configure -nomake "tools examples demos docs translations" -opensource -prefix ../wkqt

$ make -j3 && make install


////


then i got the above error, so i cant install wkhtmltopdf-qt and compile wkhtmltopdf, 

help me  ??!!!
Reply all
Reply to author
Forward
0 new messages