![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Android
|
Latest Calibre for Linux ARM?
Any chance there's a version of Calibre which supports Linux ARM? There are updated versions of Calibre in the Arch Linux repositories, but those run "calibre-server" with the password error. I really would like to run a calibre-server on my Raspberry Pi 2.
|
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
There is no standard build suitable for the Raspberry Pi that is produced as part of the normal release process. You need someone to build it from source (or do this yourself).
|
![]() |
![]() |
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,812
Karma: 25490602
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibre 3 will soon be released, it no longer uses the cherrypy server, so the arch version of it should be fine.
|
![]() |
![]() |
![]() |
#4 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
The problem is that calibre uses cherrypy for the server, and cherrypy upstream has a bug when trying to log in on mobile browsers. The bug was reported years ago but the cherrypy developers never fixed it, so Kovid ships a patched version of cherrypy with calibre... which Arch Linux strips out (see FS#43382), on the grounds that vendored dependencies are bad. Never mind that in this specific case it is actually good. ![]() The beta version of calibre-server is quite nice, especially on mobile devices. ![]() ![]() Last edited by eschwartz; 06-11-2017 at 12:15 AM. |
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2017
Device: Android
|
Thank you, based god Kovid for releasing Calibre 3. It now works on my Pi.
|
![]() |
![]() |
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 60
Karma: 5090
Join Date: Jun 2009
Device: Gen3, Kobo glow
|
Being completely new to raspberry and linux in general, I would appreciate it someone could explain how I can get that package and how to install it.
Thanks |
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
You'll need to compile it yourself, which is hellishly difficult on Raspbian. Arch Linux is a very pleasant distro for getting up-to-date software and even compiling things yourself if needed, though.
If you are willing to learn, it (Arch Linux) is definitely on my list of top linux distros to recommend to people. See here for installation instructions, then simply install calibre through the package manager. |
![]() |
![]() |
![]() |
#8 | |
Member
![]() Posts: 15
Karma: 10
Join Date: Jul 2017
Device: iPad
|
Quote:
Secondly, as I'm also eagerly awaiting to update Calibre on my Pi to 3.x: who is actually making the Debian/Rasbian version? For Linux noobs like me following c&p instructions and fighting with simple permissions (-> running everything as root works!! LOL), it would be awesome to have a relatively up-to-date version available (for the Pi). I also think with the new content server (love it!) a Pi is a super tool. I'm running the Calibre server on the Pi and simply sync (w/ Resilio) my Win10 Calibre library folder to the Pi -> I always have a 24/7 up-to-date server and don't need to run my laptop or generate catalogues, etc pp. Super easy -> if the book is added on windows, it's on the Pi!! Only if I could use the 3.x content server which online reading etc features!!!! |
|
![]() |
![]() |
![]() |
#9 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Nope, the Arch Linux version depends on other Arch Linux packages -- it's not really feasible to mix and match packages from different Linux distros.
The good news is that it should be fairly simple to replace Raspbian with Arch Linux Arm. |
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 432
Join Date: May 2014
Location: New York, NY
Device: NG,NSTG,NST,AuraHD,OnyxT68,Lynx, BoyueT62,NGP,Aura1,Oasis,Mars
|
Are there anywhere listed all the dependencies needed to build from scratch ?
I too would like to get an ARM build since my new chromebook has an ARM processor ... A second question would be why does it seem that the script believes that it's a Windows system from setup.build_environment import msvc, is64bit, win_inc, win_lib, NMAKE > uname -a Linux localhost 4.4.86-11966-g894358a0af93 #1 SMP PREEMPT Tue Nov 14 22:06:40 PST 2017 aarch64 aarch64 aarch64 GNU/Linux > python setup.py bootstrap File "/home/dan/Downloads/mylinux/apps/calibre/setup/build.py", line 140, in init_env from setup.build_environment import msvc, is64bit, win_inc, win_lib, NMAKE File "/home/dan/Downloads/mylinux/apps/calibre/setup/build_environment.py", line 71, in <module> qraw = subprocess.check_output([QMAKE, '-query']).decode('utf-8') File "/usr/lib/python2.7/subprocess.py", line 567, in check_output process = Popen(stdout=PIPE, *popenargs, **kwargs) File "/usr/lib/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Thanks. |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,812
Karma: 25490602
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error indicates you are missing qmake. The list of dependencies is linked to ont he download page. And nowhere does the script assume you are running windows.
|
![]() |
![]() |
![]() |
#12 | |
Addict
![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 432
Join Date: May 2014
Location: New York, NY
Device: NG,NSTG,NST,AuraHD,OnyxT68,Lynx, BoyueT62,NGP,Aura1,Oasis,Mars
|
Quote:
And yes, I was wrong about it thinking I use Windows. I managed to build it and will post my steps soon. |
|
![]() |
![]() |
![]() |
#13 |
Nameless Being
|
steps
Last edited by jfk; 10-01-2018 at 08:26 AM. |
![]() |
![]() |
#14 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The instructions are all available at the bottom of the page at https://calibre-ebook.com/download_linux
All you need to do is make sure you actually have all the relevant dependencies. Again, if you use Arch Linux ARM, this is dead simple. Just install the prebuilt package, or use the calibre-git package from the Arch User Repository. |
![]() |
![]() |
![]() |
#15 |
Nameless Being
|
ignore
Last edited by jfk; 10-01-2018 at 08:27 AM. |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre on ARM Linux | cstross | Calibre | 8 | 07-25-2011 12:06 PM |
Calibre on Ubuntu/ARM? | cstross | Calibre | 2 | 10-01-2009 03:49 PM |
SmartQ7: Any arm-linux builders? | serwei | Alternative Devices | 0 | 08-21-2009 04:08 AM |
Linux and ARM processors | mobelby | Calibre | 3 | 06-16-2009 12:55 AM |