LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-25-2019, 11:19 PM   #1
staus
Member
 
Registered: Apr 2004
Posts: 155

Rep: Reputation: 10
Calibre


I guess that when aaa_elflibs was changed on 19 July 2019, the removal of libicudata.so.* and others killed calibre-3.40.1 from alien slackbuilds. I spent hours recompiling calibre to find that it also will not run. Help.
 
Old 07-25-2019, 11:51 PM   #2
Labinnah
Member
 
Registered: May 2014
Location: Łódź, Poland
Distribution: Slackware-current
Posts: 185

Rep: Reputation: 112Reputation: 112
Just try to install alien "icu4c-compat" package.
 
Old 07-26-2019, 03:22 AM   #3
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
A foolproof alternative is to use Kovid Goyal's own install script (see https://calibre-ebook.com/download_linux ) since it also installs all dependencies. Of course I generally prefer proper slackware packages, but in some cases I've found it simpler just to install the bin files into /opt, instead of building or waiting for packages of upgraded programs that I use frequently.
 
Old 07-26-2019, 06:24 AM   #4
staus
Member
 
Registered: Apr 2004
Posts: 155

Original Poster
Rep: Reputation: 10
Thanks very much for letting me know about icu4c-compat. Calibre works again.
Compiling calibre on an older Vaio laptop was a torture. I stopped checking on the build after 8 hours, and let the computer run overnight. Even though the slackbuild reported that it had successfully built calibre-3.40.1-i586-1alien.txz, calibre would not run, and actually had failed to build any calibre binaries. Not sure what happened, but it's working fine again. Thanks.
 
Old 07-26-2019, 08:59 AM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by kgha View Post
A foolproof alternative is to use Kovid Goyal's own install script (see https://calibre-ebook.com/download_linux ) since it also installs all dependencies. Of course I generally prefer proper slackware packages, but in some cases I've found it simpler just to install the bin files into /opt, instead of building or waiting for packages of upgraded programs that I use frequently.
My SlackBuild just packages what the install script installs.

https://github.com/duganchen/my_slac...bre.SlackBuild
 
5 members found this post helpful.
Old 07-30-2019, 12:16 PM   #6
slalik
Member
 
Registered: Nov 2014
Location: Moscow
Distribution: Slackware
Posts: 233

Rep: Reputation: 203Reputation: 203Reputation: 203
I submitted a "calibre-bin" script to SBo, it repackages the official binary tarball that includes all dependences.
 
Old 07-31-2019, 02:36 AM   #7
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by dugan View Post
My SlackBuild just packages what the install script installs.

https://github.com/duganchen/my_slac...bre.SlackBuild
Again a big thanks for your script which I have just used to update to the latest Calibre. Nice script and Calibre is an absolutely amazing application!
 
1 members found this post helpful.
Old 07-31-2019, 05:22 AM   #8
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Interestingly enough Kindle users on -current are going to be bitten pretty badly by this kernel bug:

https://bugzilla.kernel.org/show_bug.cgi?id=203973

At the bottom you will see the Calibre developer weighing in...
 
2 members found this post helpful.
Old 07-31-2019, 07:20 AM   #9
marrowsuck
Member
 
Registered: Sep 2006
Posts: 202

Rep: Reputation: 89
Thanks for the info andrew.46. This has been pretty annoying.
I ended up doing all io related device operations via a filemanager.
 
Old 07-31-2019, 09:29 AM   #10
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,536

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Huh, and here I thought I'd screwed something up. Thanks for the head's up, andrew.46.
 
Old 07-31-2019, 10:32 PM   #11
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by marrowsuck View Post
Thanks for the info andrew.46. This has been pretty annoying.
I ended up doing all io related device operations via a filemanager.
Indeed! It was like an old friend suddenly turned on me when Calibre failed to produce my books . On my own system I have solved the issue by compiling a new kernel (5.2.5 although anything after 4.19.50 should do the trick) with this patch.... Calibre now runs as before.

Last edited by andrew.46; 07-31-2019 at 10:33 PM.
 
Old 08-04-2019, 09:20 AM   #12
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
Quote:
Originally Posted by kgha View Post
A foolproof alternative is to use Kovid Goyal's own install script
Another foolproof alternative were if mr Kovid Goyal could provide just a one file AppImage. I even emailed him asking for that months ago, but never got any answer.
 
Old 12-08-2019, 12:24 PM   #13
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
Is anyone having any joy with this on a stock current setup yet?

Neither Alien's 4.2.0 or the SBo Calibre-bin 4.5.0 work here with my Kindle Paperwhite 3 without first reverting kernel commit bd8309de0d60838eef6fb575b0c4c7e95841cf73.

With that commit reverted all is good

Without, stock, much unhappiness...

Code:
[ 5077.306338] sd 2:0:0:0: [sdc] tag#0 access beyond end of device
[ 5077.306354] blk_update_request: I/O error, dev sdc, sector 17 op 0x1:(WRITE) flags 0x0 phys_seg 1 prio class 0
[ 5077.306363] Buffer I/O error on dev sdc1, logical block 1, lost async page write
etc etc, with failed transfers, a corrupted and read-only filesystem on the Kindle.

#echo "write through" > /sys/block/sdc/queue/write_cache

does not help.

Any ideas please?
 
1 members found this post helpful.
Old 12-08-2019, 02:16 PM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by FlinchX View Post
Another foolproof alternative were if mr Kovid Goyal could provide just a one file AppImage. I even emailed him asking for that months ago, but never got any answer.
I was putting some thought into building a Docker image that could be used to build a Calibre AppImage, but as soon as I actually wrote those words I realized how ridiculous they were.

Keep in mind that a Calibre AppImage these days should really have its own bundled Python 2 interpreter, as the port to Python 3 is still a work in progress.

https://github.com/kovidgoyal/calibre/tree/py3

Last edited by dugan; 12-08-2019 at 02:27 PM.
 
Old 12-08-2019, 11:12 PM   #15
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by OldHolborn View Post
Is anyone having any joy with this on a stock current setup yet?

Neither Alien's 4.2.0 or the SBo Calibre-bin 4.5.0 work here with my Kindle Paperwhite 3 without first reverting kernel commit bd8309de0d60838eef6fb575b0c4c7e95841cf73.

With that commit reverted all is good

Without, stock, much unhappiness...
I am still routinely reversing that commit when I rebuild a kernel, I feel a little better that somebody else has bumped into the same issue...
 
  


Reply



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: Search and Read Books from Calibre's Library in Ubuntu 13.10 with Unity Calibre Scope LXer Syndicated Linux News 0 11-22-2013 08:12 PM
[SOLVED] Calibre 0.7.18 slow importing .... I mean slug through the salt flats slow = / jkzfixme Linux - Software 1 01-21-2011 09:30 PM
LXer: Creating and Reading eBooks on Linux with Calibre LXer Syndicated Linux News 0 12-17-2010 06:40 AM
LXer: Calibre 0.6: Zusätzliche E-Book-Formate LXer Syndicated Linux News 0 07-28-2009 03:30 PM
Installing Calibre on SuSE linux for digital ebooks readers. dougnc Linux - Mobile 0 01-18-2009 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:39 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