Thread: error compiling
View Single Post
Old 04-15-2013, 07:25 PM   #1
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
error compiling

I get the following compile error on opensuse 11.4

####### Building extension qt_hack #######
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I../../../../src/qt-harfbuzz/src -I../../../../src/calibre/ebooks/pdf/render -I. -o qt_hack.o ../../../../src/calibre/ebooks/pdf/render/qt_hack.cpp
In file included from ../../../../src/calibre/ebooks/pdf/render/qt_hack.cpp:8:0:
../../../../src/calibre/ebooks/pdf/render/qt_hack.h:10:21: fatal error: QGlyphRun: No such file or directory
compilation terminated.
make: *** [qt_hack.o] Error 1
Error while executing: make -f Makefile

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 "/mnt/installs/iomari/work/calibre-0.9.27/setup/__init__.py", line 163, in run_all
self.run_cmd(self, opts)
File "/mnt/installs/iomari/work/calibre-0.9.27/setup/__init__.py", line 156, in run_cmd
self.run_cmd(scmd, opts)
File "/mnt/installs/iomari/work/calibre-0.9.27/setup/__init__.py", line 159, in run_cmd
cmd.run(opts)
File "/mnt/installs/iomari/work/calibre-0.9.27/setup/extensions.py", line 379, in run
self.build(ext, dest)
File "/mnt/installs/iomari/work/calibre-0.9.27/setup/extensions.py", line 399, in build
return self.build_pyqt_extension(ext, dest)
File "/mnt/installs/iomari/work/calibre-0.9.27/setup/extensions.py", line 577, in build_pyqt_extension
qt_objects = self.build_qt_objects(ext)
File "/mnt/installs/iomari/work/calibre-0.9.27/setup/extensions.py", line 564, in build_qt_objects
self.check_call([make, '-f', 'Makefile'])
File "/mnt/installs/iomari/work/calibre-0.9.27/setup/extensions.py", line 455, in check_call
subprocess.check_call(*args, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-f', 'Makefile']' returned non-zero exit status 2
iomari is offline   Reply With Quote