Getting an error when I try to build this using G 8.2.1 (latest arch version): g -c -pipe -fno-exceptions -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g -I. This does not address the underlying issue, though that PyQt4 does not build with latest sip 4.19.14. That way, all sip packages are of the same version. I ended up simply adding the python -sip-pyqt4 packages to the sip source package PKGBUILD, which already has the python-sip-pyqt5 and uninstalled all sip packages from the system before building and installing the package set from the modified sip PKGBUILD. UPDATE: Also, be careful with versions of sip and python -sip-pyqt packages, it's easy to end up with different versions if you're not careful, and that's probably not good. Otherwise, 'from PyQt4 import QtGui' will fail with need API v12.6 but sip provides only v12.5. Source=($ \ ītw, you also must change python-sip/python2-sip dependencies to python-sip-pyqt4/python2-sip-pyqt4, otherwise PyQt will build but the module won't work: import will fail with 'sip' not find, and if you import the default sip, you'll get errors like QtGui.QWidget no attrivute QWidget in QtGui.Īlso, you must update python-sip-pyqt4/python2-sip-pyqt4 to 4.19.14 by bumping the version and URL in the PKGBUILD to. Will try again in a few days.ĭepends=('dbus' 'glib2' 'python2' 'python-dbus-common=1.2') I tried to push a python2-dbus package to AUR but it thinks that's still provided by and rejects it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |