[MacPorts] #34169: py27-pyqt4 fails to configure
MacPorts
noreply at macports.org
Sat Apr 28 06:38:10 PDT 2012
#34169: py27-pyqt4 fails to configure
----------------------------------+-----------------------------------------
Reporter: arne.schmitz@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: py27-pyqt4
----------------------------------+-----------------------------------------
Comment(by beps@…):
Replying to [comment:4 arne.schmitz@…]:
> Replying to [comment:2 gellule.xg@…]:
> > I stumbled upon the same issue and, to get going, had to follow the
same advice given for python at
https://trac.macports.org/wiki/ProblemHotlist, but for qt4-mac:
> > {{{
> > sudo port -n upgrade --force qt4-mac
> > }}}
> > Something with the Xcode upgrade, it seems.
>
> Thanks, this worked for me.
Unfortunately, It does not work for me.
I did the Xcode-select and forced python27 upgrade. Still get the
following error:
{{{
:notice:configure ---> Configuring py27-pyqt4
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing org.macports.configure (py27-pyqt4)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
-arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch
x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7'
PKG_CONFIG_PATH='/opt/local/lib/pkgconfig' CXX='/usr/bin/clang++'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-pyqt4/py27-pyqt4/work/.CC_PRINT_OPTIONS'
F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/clang'
GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c'
MOC='/opt/local/bin/moc' QMAKESPEC='macx-g++' FFLAGS='-pipe -O2 -m64'
OBJCFLAGS='-pipe -O2 -arch x86_64' QTDIR='/opt/local'
CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' QMAKE='/opt/local/bin/qmake'
:debug:configure Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-pyqt4/py27-pyqt4/work/PyQt-mac-gpl-4.9.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
configure.py -q /opt/local/bin/qmake --verbose --confirm-license -e QtGui
-e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative -e QtOpenGL -e
QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e QtWebKit -e QtXml
-e QtXmlPatterns -e QAxContainer --no-qsci-api -e QtDesigner
LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib"'
:debug:configure Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_ports_python_py-pyqt4/py27-pyqt4/work/PyQt-mac-gpl-4.9.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
configure.py -q /opt/local/bin/qmake --verbose --confirm-license -e QtGui
-e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative -e QtOpenGL -e
QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e QtWebKit -e QtXml
-e QtXmlPatterns -e QAxContainer --no-qsci-api -e QtDesigner
LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib"
:info:configure Error: Failed to determine the layout of your Qt
installation. Try again using
:info:configure the --verbose flag to see more detail about the problem.
:info:configure Determining the layout of your Qt installation...
:info:configure /opt/local/bin/qmake -spec macx-g++ -o qtdirs.mk
qtdirs.pro
:info:configure make -f qtdirs.mk
:info:configure /Developer/usr/bin/llvm-g++-4.2 -c -pipe -O2 -arch x86_64
-Xarch_x86_64 -mmacosx-version-min=10.7 -Wall -W -DQT_NO_DEBUG
-DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I.
-I/opt/local/include/QtCore -I/opt/local/include -o qtdirs.o qtdirs.cpp
:info:configure make: /Developer/usr/bin/llvm-g++-4.2: No such file or
directory
:info:configure make: *** [qtdirs.o] Error 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/34169#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list