Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2013 00:15:46 +0100
From:      Per olof Ljungmark <peo@intersonic.se>
To:        Max Brazhnikov <makc@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Stop in /usr/ports/devel/qt4-corelib.
Message-ID:  <513E65A2.3090606@intersonic.se>
In-Reply-To: <7701951.yfeZQ1lvvE@mercury.ph.man.ac.uk>
References:  <513BA86E.2040907@intersonic.se> <7701951.yfeZQ1lvvE@mercury.ph.man.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?513E65A2.3090606>