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-18-2010, 06:16 PM   #1
michaelbn
Junior Member
michaelbn began at the beginning.
 
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
michaelbn is offline   Reply With Quote
Old 10-18-2010, 06:37 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,433
Karma: 5383257
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.
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 10-19-2010, 03:03 PM   #3
michaelbn
Junior Member
michaelbn began at the beginning.
 
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
michaelbn 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
Calibre 0.7.22 not starting in openSUSE 11.3 cyberdude Calibre 2 10-10-2010 10:26 AM
Calibre Installation on opensuse 11.1 michaelbn Calibre 11 02-17-2010 04:01 PM
Install problems in openSUSE 11.2 thersites Calibre 5 01-07-2010 11:03 PM
seg fault and usb bus error for prs500 on OpenSuSE 11 khassounah Calibre 4 12-30-2008 11:04 PM
libprs500 on openSuse 10.3? mauibay Calibre 25 01-12-2008 09:21 PM


All times are GMT -4. The time now is 02:47 PM.


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