View Single Post
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: 391
Karma: 695980
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 offline   Reply With Quote