py25-pyqt4 build fails
Artie Ziff
artie.ziff at gmail.com
Thu Mar 5 17:00:43 PST 2009
>>
>> There is a file which was not put there by using MacPorts. Therefore the
>> activation was cancelled. This can happen if you manually installed
>> files into your prefix.
I wonder how to work around?
>>
>> You can force the activation to overwrite the existing files:
>> sudo port -f activate py25-pyqt4
>
> Actually it was probably put there by an earlier failed install
> because of the python25 framework bug.
>
> See
> <http://trac.macports.org/ticket/16068>
> and
> <http://trac.macports.org/ticket/16334>
>
> The port does work after you force the install, but the registry gets
> all messed up - macports thinks py25-pyqt4 is active but a "port
> contents py25-pyqt4" yields nothing. This is why I'm all for fixing
> the framework bug even if it means users having to reinstall all
> py25-* ports.
>
Thank you for the info, everyone!
I do not mind rebuilding all python 2.5 stuff. It's no problem to build
at night.
Is there a recommended way to work around the issue?
For me, this `sudo port -f activate py25-pyqt4` yields a large pile of
the following:
Warning: File /opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlquery.sip
already exists. Moving to:
/opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlquery.sip.mp_1236301109.
Warning: File
/opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlresultitems.sip already
exists. Moving to:
/opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlresultitems.sip.mp_1236301109.
Warning: File
/opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlserializer.sip already
exists. Moving to:
/opt/local/share/sip/PyQt4/QtXmlPatterns/qxmlserializer.sip.mp_1236301109.
Error: port activate failed: Not a directory
Thank you!
Art
More information about the macports-users
mailing list