![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2011
Device: iPad
|
Installation error on Raspberry Pi
Hi,
I'm trying to install Calibre on a Raspberry Pi 2. I'm running the following command as it's advised on the official site: sudo -v && wget -nv -O https://raw.githubusercontent.com/ko...x-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" But it's getting an error "Syntax error: "(" unexpected" while running postinstall. Full screen output is as follows: 2015-03-06 16:47:42 URL:https://raw.githubusercontent.com/ko...x-installer.py [25629/25629] -> "-" [1] Installing to /opt/calibre Downloading tarball signature securely... Using previously downloaded calibre-2.20.0-i686.txz Extracting files to /opt/calibre ... Extracting application files... /opt/calibre/calibre_postinstall: 1: /opt/calibre/calibre_postinstall: Syntax error: "(" unexpected Run "calibre" to start calibre And when I run "calibre" it says it command not found. (If I just install it with apt-get it installs without any problems. But calibre --version says 0.8.51 so quite an old version) Anyone had a similar problem before? Any suggestions are welcome. Thanks. |
![]() |
![]() |
![]() |
#2 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,171
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
You will need to build from source. Please see https://www.mobileread.com/forums/sho...d.php?t=243161
bernie Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
You will need to either find a version already built for ARM (it is not done as part of the weekly releases) or build it yourself from source. Building it from source is likely to be non-trivial because of the large number of dependencies, but it has been done for earlier Calibre releases. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2011
Device: iPad
|
Ah I see. Thanks for the replies. I understand what went wrong now. I think I'll just use the old version from the repository for now.
|
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
As I mentioned in the linked thread, it might be worth trying ArchLinuxArm, which currently builds calibre for ARM from the ArchLinux main repo PKGBUILD and is up-to-date.
![]() Last edited by eschwartz; 03-08-2015 at 03:43 AM. |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Installation error | pereh | Calibre | 3 | 04-28-2013 04:14 PM |
Installation error message | CondorX | Calibre | 0 | 06-22-2012 04:27 PM |
PRS+ installation error | mapex | Sony Reader | 1 | 08-19-2011 03:52 AM |
Calibre installation error | lunkerguy | Calibre | 11 | 06-18-2011 03:59 AM |
installation error message | andreapitt | Calibre | 6 | 11-20-2010 09:02 PM |