Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-06-2015, 12:02 PM   #1
Volkan
Junior Member
Volkan began at the beginning.
 
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.
Volkan is offline   Reply With Quote
Old 03-06-2015, 12:37 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
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:
Originally Posted by Volkan View Post
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.
gbm is offline   Reply With Quote
Advert
Old 03-06-2015, 01:10 PM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by Volkan View Post
Downloading tarball signature securely...
Using previously downloaded calibre-2.20.0-i686.txz
The i686 in the file name indicates that this version is for use on an Intel processor, while the Pi has an ARM processor.

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.
itimpi is offline   Reply With Quote
Old 03-06-2015, 01:13 PM   #4
Volkan
Junior Member
Volkan began at the beginning.
 
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.
Volkan is offline   Reply With Quote
Old 03-08-2015, 03:41 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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. Alternatively, ArchLinux makes it very easy to build your own anything from source.

Last edited by eschwartz; 03-08-2015 at 03:43 AM.
eschwartz is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:49 PM.


MobileRead.com is a privately owned, operated and funded community.