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 01-05-2009, 07:27 AM   #1
Derry
Member
Derry began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2008
Device: Sony PRS505
another install problem

Hi,
still having problems installing Calibre in opensuse 11.1 using the latest binary and got the following error message:

Starting HAL daemon done
udevadm control expects commands without underscore, this will stop working in a future release
Setting up bash completion... failed
Traceback (most recent call last):
File "/home/kovid/work/calibre/src/calibre/linux.py", line 191, in setup_completion
File "/home/kovid/work/calibre/src/calibre/gui2/main.py", line 29, in <module>
File "/home/kovid/work/calibre/src/calibre/gui2/dialogs/scheduler.py", line 23, in <module>
File "/home/kovid/work/calibre/src/calibre/gui2/dialogs/user_profiles.py", line 10, in <module>
File "/home/kovid/work/calibre/src/calibre/gui2/dialogs/user_profiles_ui.py", line 245, in <module>
File "/home/kovid/work/calibre/src/calibre/gui2/widgets.py", line 19, in <module>
File "/home/kovid/work/calibre/src/calibre/utils/fontconfig.py", line 117, in <module>
File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /home/derry/calibre/loader: undefined symbol: FcPatternBuild
Traceback (most recent call last):
File "/tmp/init.py", line 45, in <module>
File "/home/kovid/work/calibre/src/calibre/linux.py", line 482, in binary_install
File "/home/kovid/work/calibre/src/calibre/linux.py", line 452, in post_install
File "/home/kovid/work/calibre/src/calibre/linux.py", line 323, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment
/home/derry/calibre/calibre_postinstall: line 7: 4004 Segmentation fault $loader "$@"


Any help would be gratefully appreciated,
Derry
Derry is offline   Reply With Quote
Old 01-05-2009, 11:07 AM   #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,130
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What does the following output

Code:
calibre-debug -c "from ctypes import util; print util.find_library('fontconfig')"
kovidgoyal is online now   Reply With Quote
Old 01-05-2009, 02:55 PM   #3
Derry
Member
Derry began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2008
Device: Sony PRS505
output is as follows:

None
/usr/bin/calibre-debug: line 7: 3681 Segmentation fault $loader "$@"

Thanks for getting back to me
Derry
Derry is offline   Reply With Quote
Old 01-05-2009, 03:27 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,130
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
What about this:

readelf -a /usr/lib/libfontconfig.so | grep FcPatternBuild
kovidgoyal is online now   Reply With Quote
Old 01-05-2009, 03:48 PM   #5
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,130
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Also if you have a 64bit system, you need to make sure you have 32 bit versions of the fontconfig and freetype libraries
kovidgoyal is online now   Reply With Quote
Old 01-06-2009, 05:02 AM   #6
Derry
Member
Derry began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2008
Device: Sony PRS505
Hi,
Thanks to your posts above, I've managed to solve the problem. I had a look to see if I had freetype installed, had freetype2 installed but not freetype itself. I installed this and ran calibre_postinstall, and this time it worked fine.

Thanks again for your time, much appreciated,
Derry
Derry is offline   Reply With Quote
Old 04-11-2009, 08:12 AM   #7
k8oylos
Junior Member
k8oylos began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2009
Device: prs505
hi Derry,
I have a similar problem to yours. i read your post and installed freetype besides freetype2, as you suggested, but the problem persists. What exactly did you do to solve this? How do you ran calibre_postinstall, i can't seem to find it!
Dimitrios
k8oylos is offline   Reply With Quote
Old 04-11-2009, 03:18 PM   #8
k8oylos
Junior Member
k8oylos began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2009
Device: prs505
update: i run /opt/calibre/calibre_postinstall and get

Creating symlinks...
Traceback (most recent call last):
File "/tmp/init.py", line 45, in <module>
File "/home/kovid/work/calibre/src/calibre/linux.py", line 479, in binary_install
OSError: [Errno 13] Permission denied: '/usr/bin/epub2lrf'
/opt/calibre/calibre_postinstall: line 7: 9336 Segmentation fault $loader "$@"
k8oylos is offline   Reply With Quote
Old 04-11-2009, 04:01 PM   #9
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,460
Karma: 986493
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
calibre_postinstall needs to be run with root privileges.
user_none is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with 0.7.4 install Jzz Calibre 1 06-21-2010 12:14 PM
Install problem on ubuntu frdimond Calibre 14 02-19-2010 01:26 AM
Install problem No Sade Calibre 6 01-16-2010 04:14 PM
Post-install problem wmaurer Calibre 17 02-04-2009 01:01 PM
Problem with binary install ferridder Calibre 1 11-18-2008 01:27 PM


All times are GMT -4. The time now is 11:19 AM.


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