Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-13-2008, 02:10 AM   #1
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Calibre will build but won't install on bluewhite64 linux distro

Ok, I'm trying a new 64 bit distro since my last problem this one is called bluewhite64 linux (I was using slamd64 last time) :

Calibre will build just fine but I get this error message when installing calibre :

Quote:
Installed /usr/lib/python2.5/site-packages/calibre-0.4.95-py2.5-linux-x86_64.egg
Processing dependencies for calibre==0.4.95
Finished processing dependencies for calibre==0.4.95
Trying to setup udev rules...
Starting HAL daemon: /usr/sbin/hald --daemon=yes
Setting up bash completion... failed
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 170, in setup_completion
File "build/bdist.linux-x86_64/egg/calibre/gui2/lrf_renderer/main.py", line 1, in <module>
File "build/bdist.linux-x86_64/egg/calibre/gui2/library.py", line 18, in <module>
File "build/bdist.linux-x86_64/egg/calibre/library/database.py", line 6, in <module>
File "/usr/lib/python2.5/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/usr/lib/python2.5/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3
Traceback (most recent call last):
File "/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.95', 'console_scripts', 'calibre_postinstall')()
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 440, in post_install
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 314, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment
Traceback (most recent call last):
File "setup.py", line 433, in <module>
subprocess.check_call('calibre_postinstall', shell=True)
File "/usr/lib/python2.5/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'calibre_postinstall' returned non-zero exit status 1

Last edited by angevin; 10-13-2008 at 04:48 AM.
angevin is offline   Reply With Quote
Old 10-13-2008, 12:40 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,131
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
your python installation in missing sqlite support
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 10-13-2008, 05:08 PM   #3
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Question

Quote:
Originally Posted by kovidgoyal View Post
your python installation in missing sqlite support
Ok, I recompiled python with sqlite support but now I get this error message while installing :

Quote:
Installed /usr/lib/python2.5/site-packages/calibre-0.4.95-py2.5-linux-x86_64.egg
Processing dependencies for calibre==0.4.95
Finished processing dependencies for calibre==0.4.95
Trying to setup udev rules...
Starting HAL daemon: /usr/sbin/hald --daemon=yes
Setting up bash completion... failed
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 166, in setup_completion
File "build/bdist.linux-x86_64/egg/calibre/ebooks/lrf/__init__.py", line 15, in <module>
File "build/bdist.linux-x86_64/egg/calibre/ebooks/lrf/fonts/__init__.py", line 10, in <module>
#
File "/usr/lib/python2.5/site-packages/PIL/ImageFont.py", line 115, in <module>
class FreeTypeFont:
File "/usr/lib/python2.5/site-packages/PIL/ImageFont.py", line 135, in FreeTypeFont
def getmask2(self, text, mode="", fill=Image.core.fill):
File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 36, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
Traceback (most recent call last):
File "/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.95', 'console_scripts', 'calibre_postinstall')()
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 440, in post_install
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 314, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment
Traceback (most recent call last):
File "setup.py", line 433, in <module>
subprocess.check_call('calibre_postinstall', shell=True)
File "/usr/lib/python2.5/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'calibre_postinstall' returned non-zero exit status 1
I think my PIL installation might be broken somehow. I have the proper versions of PIL(python imaging library), python and freetype fonts etc.. etc.. installed

Last edited by angevin; 10-13-2008 at 05:21 PM.
angevin is offline   Reply With Quote
Old 10-13-2008, 05:21 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,131
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'd suggest recompiling PIL from source as well
kovidgoyal is offline   Reply With Quote
Old 10-18-2008, 10:12 PM   #5
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Thumbs up I got calibre to install

I finally got calibre to install. I didn't have to recompile/rebuild PIL. The C _imaging module from PIL was missing a python library dependency because I ./configured python to install without the "--enabled-shared" option which deprived it of a library it needed. I traced the missing library that lead to my discovery by importing _imaging in the python shell the error it gave was a missing library error. So I merely enabled that option during python configuration and I got it to install.

Last edited by angevin; 10-18-2008 at 10:25 PM. Reason: add information
angevin is offline   Reply With Quote
Old 10-18-2008, 10:20 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,131
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
glad to hear it
kovidgoyal is offline   Reply With Quote
Reply

Tags
64bit, calibre, install, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Build calibre-0.7.17 install issue PCreighton Calibre 1 09-03-2010 10:04 PM
Calibre 0.6.40 source - segfault after successful build on Linux Megatron-UK Calibre 7 02-20-2010 04:29 AM
Problem install calibre 0.6.33 (linux x64) AprilHare Calibre 11 01-11-2010 03:18 PM
Calibre 0.6.4 Linux Install Issue notsure Calibre 4 08-03-2009 06:47 PM
I can't get calibre to build/install on 64 bit linux angevin Calibre 8 10-08-2008 04:10 PM


All times are GMT -4. The time now is 09:14 PM.


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