![]() |
#1 |
Member
![]() Posts: 23
Karma: 10
Join Date: May 2010
Device: Kindle Paperwhite
|
Compiling Calibre on ARM processor
Hi,
I've been a big fan of Calibre for over a year now, using it both on my Linux box and Macbook Pro with great success. I now want to install calibre-server on my DreamPlug server, which uses an ARM processor and is running Debian Squeeze. I first downloaded v0.7.7 from the Debian repository but when I run calibre-server I get the following error message: Traceback (most recent call last): File "/usr/bin/calibre-server", line 18, in <module> from calibre.library.server.main import main File "/usr/lib/calibre/calibre/library/server/main.py", line 12, in <module> from calibre.library.server.base import LibraryServer File "/usr/lib/calibre/calibre/library/server/base.py", line 23, in <module> from calibre.library.server.opds import OPDSServer File "/usr/lib/calibre/calibre/library/server/opds.py", line 15, in <module> import routes ImportError: No module named routes Then I tried compiling Calibre v0.8.33 from source. I made sure I had all the dependancies installed, but when I run "python setup.py install" I get the following error message: Traceback (most recent call last): File "setup.py", line 13, in <module> import setup.commands as commands File "/opt/calibre/setup/commands.py", line 34, in <module> from setup.extensions import Build, BuildPDF2XML File "/opt/calibre/setup/extensions.py", line 12, in <module> from PyQt4.pyqtconfig import QtGuiModuleMakefile ImportError: No module named PyQt4.pyqtconfig I've looked on this site and Googled widely but can't find a solution. Can anybody help me please? Chris |
![]() |
![]() |
![]() |
#2 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Welcome to Mobileread.
![]() This thread might point you in the right direction or at least give you some folks to ask about this topic. Since this thread is not about the development of calibre I question if it should be in this forum, but I'll let a developer make that call. Good Reading. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Member
![]() Posts: 23
Karma: 10
Join Date: May 2010
Device: Kindle Paperwhite
|
Quote:
Incidentally I had read that thread but it didn't hold the answer. I will however ask the person who got it working on an ARM processor for help. Chris Last edited by cbalmforth; 01-01-2012 at 10:21 PM. Reason: Mistake |
|
![]() |
![]() |
![]() |
#4 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,890
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Good Luck. Moderator Notice
Moved thread out of Development forum Last edited by DoctorOhh; 01-01-2012 at 10:50 PM. |
||
![]() |
![]() |
![]() |
#5 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
Are you sure that you have PyQt4 installed (make sure that the /site-packages/ directory is included in PATH too)?
If you are trying to pull in the dependencies via easy_install, you might run into issues with binaries not being build for arm, and installing via the debian repos... well debian repos are horrible ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 888
Join Date: May 2010
Device: Nook Touch, iPad1, iPad2, iPod Touch 4G, Pixel Qi
|
You may refer to this post:
https://www.mobileread.com/forums/sho...d.php?t=151064 I install calibre on my Nook Touch in the Debian chroot. You can do something similar on your device. The debian OS in your device may not have all dependencies required for Calibre so I recommend you install the Debian chroot on your Debian OS. Last edited by aruangra; 01-05-2012 at 01:29 AM. |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 23
Karma: 10
Join Date: May 2010
Device: Kindle Paperwhite
|
Solved! Calibre server on Marvell Dreamplug
I upgraded my version of Debian on the Dreamplug to Wheezy with kernel 3.0.4. Now apt-get install calibre installed v0.8.31 which is fine for me. Calibre-server works fine.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre on ARM Linux | cstross | Calibre | 8 | 07-25-2011 11:06 AM |
error while compiling calibre under fedora... | samy2 | Calibre | 3 | 05-21-2011 01:01 PM |
Regarding Calibre source code compiling | shivas | Introduce Yourself | 4 | 12-23-2009 09:52 AM |
Calibre on Ubuntu/ARM? | cstross | Calibre | 2 | 10-01-2009 02:49 PM |