LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-25-2012, 01:10 AM   #1
thomasmoore17
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
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
 
Old 06-25-2012, 06:41 PM   #2
storkus
Member
 
Registered: Jun 2008
Posts: 310

Rep: Reputation: 45
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 06:43 PM.
 
Old 06-25-2012, 07:23 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,252

Rep: Reputation: 631Reputation: 631Reputation: 631Reputation: 631Reputation: 631Reputation: 631
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.
 
  


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration