Although PyQt4 is not a BLFS package nor a direct dependency of one, it
is apparently a required dependency to build the GUI of hplip, which,
while also not a BLFS package, is mentioned as optional for cups and
cups-filters, and for SANE as something "you may need" (and indeed I
do), so I think my issue is not completely off-topic.  

I tried to build PyQt4 from source downloaded from
https://www.riverbankcomputing.com/software/pyqt/download, after
installing the Python SIP library, also available there.  The SIP build
and installation succeeded, but after configuring PyQt4, make failed:

   
/sources/PyQt4_gpl_x11-4.12.3/QtCore/sipQtCoreQAbstractEventDispatcher.cpp:115:10:
 error: ‘void sipQAbstractEventDispatcher::registerTimer(int, int, QObject*)’ 
marked ‘override’, but does not override
   void registerTimer(int,int, ::QObject*) SIP_OVERRIDE;
        ^~~~~~~~~~~~~
   make[1]: *** [Makefile:6368: sipQtCoreQAbstractEventDispatcher.o] Error 1
   make[1]: Leaving directory '/sources/PyQt4_gpl_x11-4.12.3/QtCore'
   make: *** [Makefile:66: sub-QtCore-make_first-ordered] Error 2

This happened both when I configured with Python2 and with Python3.
A web search didn't help me with this.  Does anyone here have an idea?
Has anyone here succeeded in building PyQt4 and the hplip GUI with Qt5
from BLFS 8.4?

(The hplip config also allows using PyQt5, and that is installable via
pip3, and I did install it and configured hplip with it, but still the
hplip GUI was not built, so it seems to require PyQt4.)

Steve Berman
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to