[MacPorts] #37456: py-pyqt4: qtdirs.app/Contents/MacOS/qtdirs failed to create qtdirs.out. Make sure configure your Qt installation is correct.
MacPorts
noreply at macports.org
Wed Jan 9 05:24:28 PST 2013
#37456: py-pyqt4: qtdirs.app/Contents/MacOS/qtdirs failed to create qtdirs.out.
Make sure configure your Qt installation is correct.
-----------------------+-------------------------
Reporter: cgcgcg@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: py-pyqt4 |
-----------------------+-------------------------
Comment (by michaelld@…):
Well, this is perplexing. Do you have anything related to Qt4 installed
into /usr/local, /sw, or /Library/Frameworks (or, elsewhere) that you know
of? For example, Qt's binaries install into /Library/Frameworks/Qt*. I
sometimes use /usr/local as an alternative testing site for my programs,
to see if pre-installed stuff gets found by a new build (e.g., within
MacPorts). /sw was used by Fink; I assume it still is.
Here's another test, which maybe will provide more info in the crash log:
{{{
sed -e "s at -O2@-g at g" qtdirs.mk > qtdirs4.mk
rm -rf qtdirs.app qtdirs.o
make -f qtdirs4.mk
qtdirs.app/Contents/MacOS/qtdirs
}}}
and, then, I think it's about time to rebuild qt4-mac with gcc:
{{{
sudo port uninstall qt4-mac
sudo port install qt4-mac configure.compiler=llvm-gcc-4.2
}}}
and, add any variants you want/need between "qt4-mac" and "configure".
Then, once this is installed:
{{{
sudo port clean py27-pyqt4
sudo port install py27-pyqt4
}}}
should succeed; if not, we'll keep poking on this!
--
Ticket URL: <https://trac.macports.org/ticket/37456#comment:25>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list