[kde-freebsd] x11-toolkits/qt4-gui fails to install - solution
Marin Atanasov
dnaeon at gmail.com
Fri Sep 18 08:28:31 CEST 2009
Hi,
I've been upgrading my ports using portmaster today, but during upgrade of
qt4-gui the install process fails.
Here's the output that I get when I try to install x11-toolkits/qt4-gui
<... snip... >
===> Configuring for qt4-gui-4.5.2_1
/bin/cp /usr/ports/x11-toolkits/qt4-gui/../../devel/qt4/files/configure
/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../
/bin/mkdir -p
/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4
/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/qmake
/bin/ln -sf /usr/local/bin/moc-qt4
/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/moc
/bin/ln -sf /usr/local/bin/rcc
/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/rcc
/bin/ln -sf /usr/local/bin/uic-qt4
/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../../bin/uic
The specified system/compiler is not supported:
/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/mkspecs/freebsd-g++
Please see the README file for a complete list.
===> Script "configure" failed unexpectedly.
Please report the problem to kde at FreeBSD.org [maintainer] and attach the
"/usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.5.2/src/gui/../..//config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1
Stop in /usr/ports/x11-toolkits/qt4-gui.
Searching and found a similar problem already reported -
http://www.freebsd.org/cgi/query-pr.cgi?pr=126820
Applying the following patch solves the issue:
--- Makefile.orig 2009-09-18 09:16:17.000000000 +0300
+++ Makefile 2009-09-18 09:23:17.000000000 +0300
@@ -87,7 +87,7 @@
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${MKDIR} ${WRKSRC}/../../mkspecs
- ${LN} -sf ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
${WRKSRC}/../../../mkspecs/
+ ${LN} -sf ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++
${WRKSRC}/../../mkspecs/
${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../bin/rcc
Regards,
--
Marin Atanasov
dnaeon AT gmail DOT com
daemon AT unix-heaven DOT org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-freebsd/attachments/20090918/9416ed17/attachment.htm
More information about the kde-freebsd
mailing list