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 05-21-2011, 07:54 AM   #1
samy2
Ebook-Fan
samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.
 
Posts: 393
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
Question error while compiling calibre under fedora...

All dependencies are installed.. but i get:

Code:
root@localhost calibre]# sudo python setup.py install
Dropping privileges to those of root: 0
No module named icu
No module named icu

*
* Running build
*


####### Building extension speedup #######

####### Building extension icu #######
gcc -O3 -Wall -DNDEBUG -fno-strict-aliasing -pipe -fPIC -pthread -I/usr/include/python2.7 -c /home/samuel/Downloads/calibre/src/calibre/utils/icu.c -o /home/samuel/Downloads/calibre/build/objects/icu/icu.o
/home/samuel/Downloads/calibre/src/calibre/utils/icu.c:4:28: schwerwiegender Fehler: unicode/utypes.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
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 "/home/samuel/Downloads/calibre/setup/__init__.py", line 161, in run_all
    self.run_cmd(self, opts)
  File "/home/samuel/Downloads/calibre/setup/__init__.py", line 154, in run_cmd
    self.run_cmd(scmd, opts)
  File "/home/samuel/Downloads/calibre/setup/__init__.py", line 157, in run_cmd
    cmd.run(opts)
  File "/home/samuel/Downloads/calibre/setup/extensions.py", line 298, in run
    self.build(ext, dest)
  File "/home/samuel/Downloads/calibre/setup/extensions.py", line 339, in build
    subprocess.check_call(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 504, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['gcc', '-O3', '-Wall', '-DNDEBUG', '-fno-strict-aliasing', '-pipe', '-fPIC', '-pthread', '-I/usr/include/python2.7', '-c', '/home/samuel/Downloads/calibre/src/calibre/utils/icu.c', '-o', '/home/samuel/Downloads/calibre/build/objects/icu/icu.o']' returned non-zero exit status 1
Whats wrong? Thanks!

Last edited by samy2; 05-21-2011 at 07:57 AM.
samy2 is online now   Reply With Quote
Old 05-21-2011, 09:57 AM   #2
chaley
"chaley", not "charley"
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 5,409
Karma: 821648
Join Date: Jan 2010
Location: France
Device: Many android devices
Moderator Notice
Moved to appropriate forum
chaley is offline   Reply With Quote
Old 05-21-2011, 12:32 PM   #3
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: 25,909
Karma: 5035037
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You dont have the icu header files installed.
kovidgoyal is online now   Reply With Quote
Old 05-21-2011, 01:01 PM   #4
samy2
Ebook-Fan
samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.samy2 ought to be getting tired of karma fortunes by now.
 
Posts: 393
Karma: 698564
Join Date: Feb 2011
Device: PRS T1
Quote:
Originally Posted by kovidgoyal View Post
You dont have the icu header files installed.
Thank you very much. Now it worked. Im happy, because my distro just gives me version 0.8.0
samy2 is online now   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
Fedora 14 + Sony PRS-300: calibre doesn't work nodata Calibre 14 05-20-2012 04:36 PM
Latest Calibre and Fedora 12 Issue Boricua Calibre 0 03-02-2010 06:37 AM
Calibre on Fedora 12 kremkex Calibre 1 02-28-2010 03:56 PM
Calibre Installation on Fedora 10 Trouble Shoot. Help Needed Astrobob Calibre 4 06-25-2009 01:33 PM
Tried to install calibre to fedora 10 64 failed dschiri1 Calibre 8 06-17-2009 01:31 PM


All times are GMT -4. The time now is 11:39 PM.


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