Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
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
Old 04-15-2013, 10:14 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: 45,279
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need the qt private headers.
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling QT Error koenieee Kobo Developer's Corner 15 05-25-2013 10:00 AM
Error compiling update to 0.9.21 iomari Calibre 3 03-06-2013 08:47 AM
Error when compiling screen, target arm-none-eabi ppoo Kindle Developer's Corner 38 09-26-2012 12:40 AM
Compiling for Lubuntu (regarding compiling instructions) jgratero Sigil 5 07-15-2012 07:54 PM
error while compiling calibre under fedora... samy2 Calibre 3 05-21-2011 01:01 PM


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


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