Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-23-2021, 05:30 PM   #1
komple
Junior Member
komple began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2021
Device: none
Building Calibre on Fedora 33

Hi all,

I'm trying to build Calibre on Raspberry Pi on Fedora 33 and getting error below. If anyone knows how to solve problem.

python setup.py install

*
* Running build
*

Building 23 extensions
SIPing 3 files...
/usr/bin/python -c import os; os.chdir('/home/igor/src2/calibre/calibre/build/pyqt/pictureflow'); from sipbuild.tools.build import main; main(); --verbose --no-make --qmake /usr/bin/qmake-qt5
Querying qmake about your Qt installation...
/usr/bin/qmake-qt5 -query
These bindings will be built: pictureflow.
Generating the pictureflow bindings...
-c: Unable to find file "QtWidgets/QtWidgetsmod.sip"


Here is output from qmake
qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr
QT_INSTALL_ARCHDATA:/usr/lib64/qt5
QT_INSTALL_DATA:/usr/share/qt5
QT_INSTALL_DOCS:/usr/share/doc/qt5
QT_INSTALL_HEADERS:/usr/include/qt5
QT_INSTALL_LIBS:/usr/lib64
QT_INSTALL_LIBEXECS:/usr/lib64/qt5/libexec
QT_INSTALL_BINS:/usr/lib64/qt5/bin
QT_INSTALL_TESTS:/usr/tests
QT_INSTALL_PLUGINS:/usr/lib64/qt5/plugins
QT_INSTALL_IMPORTS:/usr/lib64/qt5/imports
QT_INSTALL_QML:/usr/lib64/qt5/qml
QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/lib64/qt5/examples
QT_INSTALL_DEMOS:/usr/lib64/qt5/examples
QT_HOST_PREFIX:/..
QT_HOST_DATA:/../lib64/qt5
QT_HOST_BINS:/../lib64/qt5/bin
QT_HOST_LIBS:/../lib64
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.1
QT_VERSION:5.15.2


Regards.
komple is offline   Reply With Quote
Old 01-23-2021, 05:54 PM   #2
komple
Junior Member
komple began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2021
Device: none
Forgot to mention that i found that sip file in

# locate QtWidgetsmod.sip
/usr/share/python3-sip/PyQt5/QtWidgets/QtWidgetsmod.sip
/usr/share/sip/PyQt5/QtWidgets/QtWidgetsmod.sip
komple is offline   Reply With Quote
Advert
Old 01-23-2021, 09:49 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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error indicates sip cannot find the PyQt sip files. Probably because your versions of sip, pyqt-sip and pyqt-builder are incompatible/incorrectly installed. Look in sources.json for th eversion that calibre uses when building itself.
kovidgoyal is offline   Reply With Quote
Old 01-24-2021, 11:58 AM   #4
komple
Junior Member
komple began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jan 2021
Device: none
Thanks. Will check that.
komple is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre bug in Fedora 16 doriguzzi Calibre 4 11-22-2011 11:11 AM
error while compiling calibre under fedora... samy2 Calibre 3 05-21-2011 01:01 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
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 07:28 PM.


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