![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2010
Device: Sony PRS-600
|
calibre on opensuse 11.3 with KDE 4.5.2
Hi there,
I recently installed opensuse 11.3 with kde 4.4. on my new computer. On this ocasion I also installed calbre from the oss repositories. It worked fine, but after changing to KDE 4.5.2 ist stopped working. So I uninstalled it and tried to build it from source (with wget -O- http://status.calibre-ebook.com/dist/src | tar xvz). I had to resolve some dependencies but now I am stuck: when I do python setup.py install I get the following: * * Running build * ####### Building extension chmlib ####### gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread -I/usr/include/python2.6 -DSWIG_COBJECT_TYPES -c /root/calibre/src/calibre/utils/chm/swig_chm.c -o /root/calibre/build/objects/chmlib/swig_chm.o /root/calibre/src/calibre/utils/chm/swig_chm.c: In function ‘SWIG_ConvertPtr’: /root/calibre/src/calibre/utils/chm/swig_chm.c:450:6: warning: suggest explicit braces to avoid ambiguous ‘else’ /root/calibre/src/calibre/utils/chm/swig_chm.c: At top level: /root/calibre/src/calibre/utils/chm/swig_chm.c:681:21: fatal error: chm_lib.h: No such file or directory compilation terminated. Traceback (most recent call last): File "setup.py", line 99, in <module> sys.exit(main()) File "setup.py", line 85, in main command.run_all(opts) File "/root/calibre/setup/__init__.py", line 159, in run_all self.run_cmd(self, opts) File "/root/calibre/setup/__init__.py", line 152, in run_cmd self.run_cmd(scmd, opts) File "/root/calibre/setup/__init__.py", line 155, in run_cmd cmd.run(opts) File "/root/calibre/setup/extensions.py", line 271, in run self.build(ext, dest) File "/root/calibre/setup/extensions.py", line 312, in build subprocess.check_call(cmd) File "/usr/lib64/python2.6/subprocess.py", line 498, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['gcc', '-O3', '-Wall', '-DNDEBUG', '-fno-strict-aliasing', '-pipe', '-fPIC', '-pthread', '-I/usr/include/python2.6', '-DSWIG_COBJECT_TYPES', '-c', '/root/calibre/src/calibre/utils/chm/swig_chm.c', '-o', '/root/calibre/build/objects/chmlib/swig_chm.o']' returned non-zero exit status 1 I am afraid I don't understand what went wrong. Thanks in advance for any hint. Michael |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,311
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you need chmlib-dev
And use the binary install instead, that way you wont need any dependencies. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2010
Device: Sony PRS-600
|
Hi!
After installing chmlib-dev it's works just fine. Thanks a lot! Michael |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 0.7.22 not starting in openSUSE 11.3 | cyberdude | Calibre | 2 | 10-10-2010 09:26 AM |
Calibre Installation on opensuse 11.1 | michaelbn | Calibre | 11 | 02-17-2010 03:01 PM |
Install problems in openSUSE 11.2 | thersites | Calibre | 5 | 01-07-2010 10:03 PM |
seg fault and usb bus error for prs500 on OpenSuSE 11 | khassounah | Calibre | 4 | 12-30-2008 10:04 PM |
libprs500 on openSuse 10.3? | mauibay | Calibre | 25 | 01-12-2008 08:21 PM |