View Single Post
Old 01-01-2012, 06:58 PM   #1
cbalmforth
Member
cbalmforth began at the beginning.
 
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
cbalmforth is offline   Reply With Quote