[PyQt] make install -> Errors with pyuic4 (file format not recognized)

Phil Thompson phil at riverbankcomputing.com
Fri Apr 26 19:29:03 BST 2013


On Fri, 26 Apr 2013 14:18:01 -0400, James Jong <ribonucleico at gmail.com>
wrote:
> I am trying to build PyQt4 from source from Qt5. I am building with the
> most recent snapshot: PyQt-x11-gpl-snapshot-4.10.2-ffcf323516fc since I
was
> told that otherwise I could have problems with QtWebKit.pro if my
> installation of Qt5 does not provide it.

Or use configure.py.

> So I run:
> python configure-ng.py
> make
> 
> and then
> make install
> and then after a while I get the following error:
> 
> ================
> ....
> 
> install -m 644 -p
>
/nfs/vol1/opt/pyqt/pyqt4/src/PyQt-x11-gpl-snapshot-4.10.2-ffcf323516fc/__init__.py
>
/home/james/opt/python/virtualenvs/work/lib/python2.7/site-packages/PyQt4/
> cp -f -R
>
/nfs/vol1/opt/pyqt/pyqt4/src/PyQt-x11-gpl-snapshot-4.10.2-ffcf323516fc/pyuic/uic
>
/home/james/opt/python/virtualenvs/work/lib/python2.7/site-packages/PyQt4/
> install -m 755 -p
>
/nfs/vol1/opt/pyqt/pyqt4/src/PyQt-x11-gpl-snapshot-4.10.2-ffcf323516fc/pyuic4
> /home/james/opt/python/virtualenvs/work/bin/
> strip /home/james/opt/python/virtualenvs/work/bin/pyuic4
> strip: /home/james/opt/python/virtualenvs/work/bin/pyuic4: File format
not
> recognized
> make: [install_pyuic4] Error 1 (ignored)
> ================
> 
> and the process stops, why?

It doesn't stop for that reason because the error is ignored.

For some reason the pyuic4 wrapper is being generated with the execute bit
set.

Phil


More information about the PyQt mailing list