LinuxQuestions.org
Visit Jeremy's Blog.
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-26-2019, 12:19 AM   #1
staus
Member
 
Registered: Apr 2004
Posts: 155

Rep: Reputation: 9
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-26-2019, 12:51 AM   #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, 04:22 AM   #3
kgha
Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 564

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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, 07:24 AM   #4
staus
Member
 
Registered: Apr 2004
Posts: 155

Original Poster
Rep: Reputation: 9
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, 09:59 AM   #5
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 10,279

Rep: Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829
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, 01:16 PM   #6
slalik
Member
 
Registered: Nov 2014
Location: Moscow
Distribution: Slackware
Posts: 207

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

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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, 06:22 AM   #8
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,273

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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, 08:20 AM   #9
marrowsuck
Member
 
Registered: Sep 2006
Posts: 184

Rep: Reputation: 71
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, 10:29 AM   #10
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 954

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

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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 11:33 PM.
 
Old 08-04-2019, 10:20 AM   #12
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 591

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, 01:24 PM   #13
OldHolborn
Member
 
Registered: Jul 2012
Posts: 218

Rep: Reputation: 184Reputation: 184
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, 03:16 PM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 10,279

Rep: Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829Reputation: 4829
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 03:27 PM.
 
Old 12-09-2019, 12:12 AM   #15
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,273

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
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


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
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 09:12 PM
[SOLVED] Calibre 0.7.18 slow importing .... I mean slug through the salt flats slow = / jkzfixme Linux - Software 1 01-21-2011 10:30 PM
LXer: Creating and Reading eBooks on Linux with Calibre LXer Syndicated Linux News 0 12-17-2010 07:40 AM
LXer: Calibre 0.6: Zusätzliche E-Book-Formate LXer Syndicated Linux News 0 07-28-2009 04:30 PM
Installing Calibre on SuSE linux for digital ebooks readers. dougnc Linux - Mobile 0 01-18-2009 01:56 PM

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

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