Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 06-25-2012, 02:10 AM   #1
LQ Newbie
Registered: Nov 2006
Posts: 6

Rep: Reputation: 1
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/ In constructor 'wkhtmltopdf::ResourceObject::ResourceObject(wkhtmltopdf::MultiPageLoaderPrivate&, const QUrl&, const wkhtmltopdf::settings::LoadPage&)':
../lib/ error: 'class QWebFrame' has no member named 'setZoomFactor'
../lib/ In member function 'virtual QList<QNetworkCookie> wkhtmltopdf::MyCookieJar::cookiesForUrl(const QUrl&) const':
../lib/ 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?


Old 06-25-2012, 07:41 PM   #2
Registered: Jun 2008
Location: Phoenix, Arizona, USA
Distribution: Slackware
Posts: 326

Rep: Reputation: 49
WEEEEEELLLL, I've never heard of this program, much less know how to pronounce it: I see "html to pdf" but I have no idea what the "wk" is for.

The error also looks really odd to me as it's referencing a bunch of cookie crap that sounds like its internal.

One possible thing is the wrong version of Qt, since I see that there as well. The only way to know for sure is to check your dependency libraries: remember, 13.0 is 2 versions (soon to be 3) old: perhaps its time to upgrade? If you can wait, 14.0 should be out "relatively soon" (which, in the Slackware universe, could be next week to next month or even beyond, depending on what Pat thinks).

Sorry this isn't more help.

P.S. Since a new version happens around once a year, that means your 13.0 installation is *THREE YEARS* behind the times. Have you even updated your security fixes? Your machine may be pwned already and you don't even know!

Last edited by storkus; 06-25-2012 at 07:43 PM.
Old 06-25-2012, 08:23 PM   #3
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
The version of Qt (4.4.3) you have is too old to compile wkhtmltopdf as far as I can tell. The webkit widget was included with Qt 4.4, but this page suggests Qt 4.5 or greater is required. 13.37 has Qt 4.7 and 13.1 has 4.6.2, both of which should work fine. So, unless you want to compile a new Qt yourself (which would in turn require recompiling at least KDE I believe) then your best path is an upgrade to Slackware 13.1 or, preferably, 13.37.


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
[SOLVED] Cannot boot slackware13, even with the slackware13 created flashdrive yanfaun Slackware 59 02-13-2011 07:40 PM dependency error when install OpenOffice on Slackware13 konzo Linux - Software 4 08-25-2010 02:55 PM
[SOLVED] Attempting to install Slackware13/64 on top of PCLinuxOS2009. kayakman Slackware 6 01-25-2010 11:20 PM
I can't install vmware on Slackware13 biske Slackware 3 12-02-2009 11:43 AM
cant install slackware13.0 lemon09 Slackware 23 11-27-2009 11:54 AM > Forums > Linux Forums > Linux - Distributions > Slackware

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

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