[kde-freebsd] net-im/psi: a gcc46 issue?

Andriy Gapon avg at FreeBSD.org
Thu Oct 11 19:21:20 UTC 2012


Build of version 0.15 fails for me like this:
--------------------------------------------------
Verifying Qt 4 build environment ...
Warning: /usr/local/bin/qmake-qt4 not for Qt 4
Warning: qmake not found via --qtdir
Warning: qmake not found via $QTDIR
Warning: /usr/local/bin/qmake-qt4 not for Qt 4
Warning: qmake not found via pkg-config
Warning: /usr/local/bin/qmake-qt4 not for Qt 4
Warning: qmake not found via $PATH
 -> fail

Reason: Unable to find the 'qmake' tool for Qt 4.

Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

 1) --qtdir is set to the location of Qt
 2) $QTDIR is set to the location of Qt
 3) QtCore is in the pkg-config database
 4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.
--------------------------------------------------

make test-gcc output:
--------------------------------------------------
make test-gcc
USE_GCC=4.6+
USE_FORTRAN=
Port can use later versions.
GCC version: 3.4 - OSVERSION from 502126 to 700042
GCC version: 4.2 (base) - OSVERSION from 700042 to 9999999
GCC version: 4.4 - OSVERSION from 0 to 0
GCC version: 4.6 (port) - OSVERSION from 0 to 0
GCC version: 4.7 (port) - OSVERSION from 0 to 0
GCC version: 4.8 - OSVERSION from 0 to 0
Using GCC version 4.6
CC=gcc46 - CXX=g++46 - CPP=cpp46 - CFLAGS="-O2 -pipe -O2 -fno-strict-aliasing
-pipe -march=k8-sse3 -march=amdfam10"
F77= - FC=f77 - FFLAGS="-O"
LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc46 -L/usr/local/lib/gcc46"
BUILD_DEPENDS=pkgconf:/usr/ports/devel/pkgconf gcc46:/usr/ports/lang/gcc
/usr/local/bin/as:/usr/ports/devel/binutils
/usr/local/libdata/pkgconfig/xscrnsaver.pc:/usr/ports/x11/libXScrnSaver
/usr/local/lib/qt4/libQtDBus.so:/usr/ports/devel/dbus-qt4
/usr/local/lib/qt4/libQtGui.so:/usr/ports/x11-toolkits/qt4-gui
/usr/local/bin/moc-qt4:/usr/ports/devel/qt4-moc
/usr/local/lib/qt4/libQtNetwork.so:/usr/ports/net/qt4-network
/usr/local/bin/qmake-qt4:/usr/ports/devel/qmake4
/usr/local/bin/rcc:/usr/ports/devel/qt4-rcc
/usr/local/bin/uic-qt4:/usr/ports/devel/qt4-uic
/usr/local/lib/qt4/libQtXml.so:/usr/ports/textproc/qt4-xml
RUN_DEPENDS=qca-ossl>=2.0.0.b3:/usr/ports/security/qca-ossl
qca-gnupg>=2.0.0.b3:/usr/ports/security/qca-gnupg gcc46:/usr/ports/lang/gcc
/usr/local/libdata/pkgconfig/xscrnsaver.pc:/usr/ports/x11/libXScrnSaver
/usr/local/lib/qt4/libQtDBus.so:/usr/ports/devel/dbus-qt4
/usr/local/lib/qt4/libQtGui.so:/usr/ports/x11-toolkits/qt4-gui
/usr/local/lib/qt4/plugins/imageformats/libqjpeg.so:/usr/ports/graphics/qt4-imageformats
 /usr/local/lib/qt4/libQtNetwork.so:/usr/ports/net/qt4-network
/usr/local/lib/qt4/libQtXml.so:/usr/ports/textproc/qt4-xml
--------------------------------------------------
-- 
Andriy Gapon


More information about the kde-freebsd mailing list