Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-06-2015, 04:09 PM   #1
fiuwe
Junior Member
fiuwe began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2013
Device: Kindle WP
Calibre on debian armv7

Hi all,
I'm trying to compile calibre for my armv7 board with debian.
I'm stuck on this step :
Code:
####### Building headless QPA plugin #######
WARNING: /home/vision/calibre-2.31.0/build/headless/headless.pro:4: Unable to find file for inclusion qt_plugin
Project MESSAGE: Warning: unknown QT: core-private
Project MESSAGE: Warning: unknown QT: gui-private
Project MESSAGE: Warning: unknown QT: platformsupport-private
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/freetype2 -I. -o fontconfig_database.o ../../src/calibre/headless/fontconfig_database.cpp
In file included from ../../src/calibre/headless/fontconfig_database.cpp:34:0:
../../src/calibre/headless/fontconfig_database.h:9:39: fatal error: qpa/qplatformfontdatabase.h: File o directory non esistente
compilation terminated.
make: *** [fontconfig_database.o] Error 1
Error while executing: make -j4

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/vision/calibre-2.31.0/setup/__init__.py", line 181, in run_all
    self.run_cmd(self, opts)
  File "/home/vision/calibre-2.31.0/setup/__init__.py", line 175, in run_cmd
    self.run_cmd(scmd, opts)
  File "/home/vision/calibre-2.31.0/setup/__init__.py", line 178, in run_cmd
    cmd.run(opts)
  File "/home/vision/calibre-2.31.0/setup/extensions.py", line 430, in run
    self.build_headless()
  File "/home/vision/calibre-2.31.0/setup/extensions.py", line 566, in build_headless
    self.check_call([make] + ['-j%d'%(cpu_count or 1)])
  File "/home/vision/calibre-2.31.0/setup/extensions.py", line 502, 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', '-j4']' returned non-zero exit status 2
I also noticed at this point that it is still using QT4 instead of QT5.
Any one could help me to point it to Qt5 ?
Any one could help me in general ?

Thanks in advance
fiuwe is offline   Reply With Quote
Old 07-06-2015, 07:58 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I don't know what the deal is there, but I can tell you ArchLinuxArm has worked pretty well in the experience of several people who took my advice.

ArchLinux maintains bleeding-edge everything and calibre is no exception. ArchLinuxArm already has an ARM build of calibre.
(I have issues with the parent project's PKGBUILD, but at least they also make it extremely easy to rebuild it yourself and fix those problems.)
eschwartz is offline   Reply With Quote
Advert
Old 07-06-2015, 10:53 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: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your distribution is missing the Qt private headers, which calibre needs.
kovidgoyal is offline   Reply With Quote
Old 07-07-2015, 03:19 AM   #4
fiuwe
Junior Member
fiuwe began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2013
Device: Kindle WP
Hi, I recompile QT with everything needed ...
Which version of calibre is there with Arch ?

Because also in debian there is an old version ( 0.8.x) but I need the last version 2.31.0 ...

Thanks for info ...
fiuwe is offline   Reply With Quote
Old 07-07-2015, 09:08 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Bleeding-edge everything == calibre 2.31.0

And with makepkg (provided with pacman) it would anyways be trivial to bump the version number and rebuild the package yourself.

Last edited by eschwartz; 07-07-2015 at 09:12 AM.
eschwartz is offline   Reply With Quote
Advert
Old 07-07-2015, 03:38 PM   #6
fiuwe
Junior Member
fiuwe began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2013
Device: Kindle WP
Thanks a lot...
I'll give it a try ...
fiuwe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre on Debian: it converts but not send. andrean Calibre 3 04-09-2014 04:27 PM
Calibre 1.16.0 on Debian Wheezy kbdcalls Calibre 1 12-20-2013 10:09 PM
Calibre not starting on debian saturnblackhole Calibre 3 12-11-2011 12:05 AM
Calibre freezing in debian squeeze ghera Devices 2 08-08-2011 04:19 AM
How to build calibre in Debian Sid? tompe Calibre 10 05-06-2009 06:38 PM


All times are GMT -4. The time now is 01:19 PM.


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