Thread
:
Error in building Calibre on ubuntu
View Single Post
06-25-2021, 04:36 AM
#
1
thyworld
Junior Member
Posts: 7
Karma: 10
Join Date: Jun 2021
Device: none
Error in building Calibre on ubuntu
Hi
I'm trying to build Cabilre from scratch by following instructions in
https://github.com/kovidgoyal/calibr...ypy/README.rst
I'm stuck with the below error for 2 days now
Spoiler
:
Building 25 extensions
SIPing 3 files...
/usr/bin/python3 -c from sipbuild.tools.build import main; main(); --verbose --no-make --qmake /usr/bin/qmake
Querying qmake about your Qt installation...
/usr/bin/qmake -query
These bindings will be built: pictureflow.
Generating the pictureflow bindings...
-c: Unable to find file "QtWidgets/QtWidgetsmod.sip"
I have uninstall qmake-qt5 and reinstalled
I have installed and uninstalled PyQt5 umpteen times in all possible ways
I have even tried reinstalling everything on a new system, all leading to this error
I have even tried copying QtWidgets to various qt5 folders, no success
/usr/bin/qmake -query ; returns the below
QT_SYSROOT:
QT_INSTALL_PREFIX:/usr
QT_INSTALL_ARCHDATA:/usr/lib/x86_64-linux-gnu/qt5
QT_INSTALL_DATA:/usr/share/qt5
QT_INSTALL_DOCS:/usr/share/qt5/doc
QT_INSTALL_HEADERS:/usr/include/x86_64-linux-gnu/qt5
QT_INSTALL_LIBS:/usr/lib/x86_64-linux-gnu
QT_INSTALL_LIBEXECS:/usr/lib/x86_64-linux-gnu/qt5/libexec
QT_INSTALL_BINS:/usr/lib/qt5/bin
QT_INSTALL_TESTS:/usr/tests
QT_INSTALL_PLUGINS:/usr/lib/x86_64-linux-gnu/qt5/plugins
QT_INSTALL_IMPORTS:/usr/lib/x86_64-linux-gnu/qt5/imports
QT_INSTALL_QML:/usr/lib/x86_64-linux-gnu/qt5/qml
QT_INSTALL_TRANSLATIONS:/usr/share/qt5/translations
QT_INSTALL_CONFIGURATION:/etc/xdg
QT_INSTALL_EXAMPLES:/usr/lib/x86_64-linux-gnu/qt5/examples
QT_INSTALL_DEMOS:/usr/lib/x86_64-linux-gnu/qt5/examples
QT_HOST_PREFIX:/usr
QT_HOST_DATA:/usr/lib/x86_64-linux-gnu/qt5
QT_HOST_BINS:/usr/lib/qt5/bin
QT_HOST_LIBS:/usr/lib/x86_64-linux-gnu
QMAKE_SPEC:linux-g++
QMAKE_XSPEC:linux-g++
QMAKE_VERSION:3.1
QT_VERSION:5.12.8
qmake --version
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/x86_64-linux-gnu
find / -name QtWidgetsmod.sip
/usr/local/lib/python3.8/dist-packages/PyQt5/bindings/QtWidgets/QtWidgetsmod.sip
Don't understand why I'm getting this error, Any help on this please.....
Last edited by theducks; 06-25-2021 at
08:48 PM
. Reason: spoilered
thyworld
View Public Profile
Find More Posts by thyworld
Track Posts by thyworld via RSS