From owner-freebsd-ports@FreeBSD.ORG Mon Mar 11 23:16:04 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C43BDE6D; Mon, 11 Mar 2013 23:16:04 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id 8D74694A; Mon, 11 Mar 2013 23:16:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at BSDLabs AB Message-ID: <513E65A2.3090606@intersonic.se> Date: Tue, 12 Mar 2013 00:15:46 +0100 From: Per olof Ljungmark Organization: Intersonic AB User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130310 Thunderbird/17.0.4 MIME-Version: 1.0 To: Max Brazhnikov Subject: Re: Stop in /usr/ports/devel/qt4-corelib. References: <513BA86E.2040907@intersonic.se> <7701951.yfeZQ1lvvE@mercury.ph.man.ac.uk> In-Reply-To: <7701951.yfeZQ1lvvE@mercury.ph.man.ac.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 23:16:04 -0000 On 2013-03-11 11:38, Max Brazhnikov wrote: > On Sat, 09 Mar 2013 22:23:58 +0100 Per olof Ljungmark wrote: >> FreeBSD 9.1-STABLE #0 r248028 >> >> Ports tree from an hour ago >> >> The error is >> >> g++ -c -O2 -pipe -fno-strict-aliasing -pthread >> -I/usr/local/include/glib-2.0 -I/usr/local/include -O2 >> -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -pthread >> -D_THREAD_SAFE -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB >> -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS >> -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_USE_ICU >> -DHB_EXPORT=Q_CORE_EXPORT -DGNU_LIBICONV -DQT_NO_DEBUG -DQT_HAVE_MMX >> -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 >> -DQT_HAVE_SSSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE >> -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include >> -I../../include/QtCore -I.rcc/release-shared -Iglobal >> -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 >> -I.moc/release-shared -I/usr/local/include/qt4 -I/usr/local/include -o >> ..obj/release-shared/qglobal.o global/qglobal.cpp >> In file included from ../../include/QtCore/qatomic_arch.h:1, > > ..skip.. > >> .../../include/QtCore/../../src/corelib/tools/qbytearray.h: In function >> 'uint qstrlen(const char*)': >> .../../include/QtCore/../../src/corelib/tools/qbytearray.h:79: error: >> redefinition of 'uint qstrlen(const char*)' >> /usr/local/include/qcstring.h:57: error: 'uint qstrlen(const char*)' > > The problem is that qt-3 installs headers directly to common path > /usr/local/include and these headers are included instead of Qt4's. > As a workaroud you may deinstall qt-3, update your ports and then install qt3. > Ah! I will try this. Thank you for this information. //per