RedHat iTOps Tube

Friday, June 29, 2012

wkhtmltopdf will not install on slackware13.0

I am trying to install wkhtmltopdf on slack13.0 using slackbuild.

However they only seem to have source code for 13.37, which is

wkhtmltopdf-0.10.0_rc2.tar.bz2. When I run wkhtmltopdf.SlackBuild

it unpacks, untars and begins to compile and then quickly stops

with the following error message.



../lib/multipageloader.cc: In constructor 'wkhtmltopdf::ResourceObject::ResourceObject(wkhtmltopdf::MultiPageLoaderPrivate&, const QUrl&, const wkhtmltopdf::settings::LoadPage&)':

../lib/multipageloader.cc:174: error: 'class QWebFrame' has no member named 'setZoomFactor'

../lib/multipageloader.cc: In member function 'virtual QList<QNetworkCookie> wkhtmltopdf::MyCookieJar::cookiesForUrl(const QUrl&) const':

../lib/multipageloader.cc:368: error: no matching function for call to 'QList<QNetworkCookie>::append(const QList<QNetworkCookie>&)'

/usr/lib/qt-4.4.3/include/QtCore/qlist.h:414: note: candidates are: void QList<T>::append(const T&) [with T = QNetworkCookie]

make[1]: *** [../../build/multipageloader.o] Error 1

make: *** [sub-src-lib-make_default-ordered] Error 2



Is this source for slack13.37 just incompatible with slack13.0?

Is there a way to install wkhtmltopdf for 13.0?



Thanks.



Tom