LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Calibre (https://www.linuxquestions.org/questions/slackware-14/calibre-4175658051/)

staus 07-25-2019 11:19 PM

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.

Labinnah 07-25-2019 11:51 PM

Just try to install alien "icu4c-compat" package.

kgha 07-26-2019 03:22 AM

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.

staus 07-26-2019 06:24 AM

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.

dugan 07-26-2019 08:59 AM

Quote:

Originally Posted by kgha (Post 6018722)
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

slalik 07-30-2019 12:16 PM

I submitted a "calibre-bin" script to SBo, it repackages the official binary tarball that includes all dependences.

andrew.46 07-31-2019 02:36 AM

Quote:

Originally Posted by dugan (Post 6018799)
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!

andrew.46 07-31-2019 05:22 AM

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...

marrowsuck 07-31-2019 07:20 AM

Thanks for the info andrew.46. This has been pretty annoying.
I ended up doing all io related device operations via a filemanager.

garpu 07-31-2019 09:29 AM

Huh, and here I thought I'd screwed something up. Thanks for the head's up, andrew.46.

andrew.46 07-31-2019 10:32 PM

Quote:

Originally Posted by marrowsuck (Post 6020107)
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.

FlinchX 08-04-2019 09:20 AM

Quote:

Originally Posted by kgha (Post 6018722)
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.

OldHolborn 12-08-2019 12:24 PM

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?

dugan 12-08-2019 02:16 PM

Quote:

Originally Posted by FlinchX (Post 6021402)
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

andrew.46 12-08-2019 11:12 PM

Quote:

Originally Posted by OldHolborn (Post 6065851)
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...


All times are GMT -5. The time now is 02:46 PM.