From owner-freebsd-ports@FreeBSD.ORG Wed Feb 18 20:34:13 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E29011065673 for ; Wed, 18 Feb 2009 20:34:13 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 99EBC8FC0A for ; Wed, 18 Feb 2009 20:34:13 +0000 (UTC) (envelope-from datahead4@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so27822qwe.7 for ; Wed, 18 Feb 2009 12:34:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=u2iE98GGguKipC0PjDjGCxoYwPJEYIhhZkHMHi6lF7I=; b=C9VqF2can86KTe+4vh9DFJQymNxQeDXzTF5l1KnlVOCZeNhDDVruen+CcQ/fVVByCT uqEdatdpeLkg7anWr6g1s8C6OtYph5orqql+BVleJ6kYKO4NyFZzZj/ROIk9hYiamEpt YJB+Ztt24MkXAW3CVU43O3cYJ7hDjTCLC8Yhk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kYzKrLGbqIUg4bjukqQSNbzYeoVz3/MIyKcLHU9wC4Gm3qNdFI5ZmSFQBW5EAphjt7 SusK1mdAeNfWHimsQVCymuvl/U2kJTq1BvNU43S7xaLjKefEsidLl/VxZLBDD0GP8KN8 4uBjKrkhZFKX9+BAHB10Tc2l6IoT/MKOLgSAo= MIME-Version: 1.0 Received: by 10.229.73.209 with SMTP id r17mr3413393qcj.30.1234989252955; Wed, 18 Feb 2009 12:34:12 -0800 (PST) In-Reply-To: <7B9AE8C10EAD657121175B10@10.255.253.2> References: <7B9AE8C10EAD657121175B10@10.255.253.2> Date: Wed, 18 Feb 2009 14:34:12 -0600 Message-ID: From: Matt To: Goran Lowkrantz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: kipi-plugins-kde4 and digikam-kde4 picks up qt3 headers from qt-copy-3.3.8_9 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 20:34:14 -0000 On Wed, Feb 18, 2009 at 2:22 PM, Goran Lowkrantz wrote: > --On Wednesday, February 18, 2009 2:13 PM -0600 Matt > wrote: > >> On Wed, Feb 18, 2009 at 12:58 PM, Goran Lowkrantz >> wrote: >>> >>> Trying to build the KDE4 versions of these ports fails as the build pick >>> up old headers from qt3 through qt-copy-3.3.8_9. >>> >>> >>> [ 0%] Building CXX object >>> common/libkipiplugins/CMakeFiles/kipiplugins.dir/kpaboutdata.o >>> In file included from >>> /var/ports/usr/ports/graphics/kipi-plugins-kde4/work/kipi-plugins-0.2.0- >>> beta6/common/libkipiplugins/kpaboutdata.cpp:23: >>> /var/ports/usr/ports/graphics/kipi-plugins-kde4/work/kipi-plugins-0.2.0- >>> beta6/common/libkipiplugins/kpaboutdata.h:42: error: expected ',' or >>> '...' before '&' token >>> /var/ports/usr/ports/graphics/kipi-plugins-kde4/work/kipi-plugins-0.2.0- >>> beta6/common/libkipiplugins/kpaboutdata.h:46: error: ISO C++ forbids >>> declaration of 'KLocalizedString' with no type >>> >>> >>> /usr/local/include/qtextstream.h:298: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:301: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:304: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:307: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:308: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:309: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:310: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:311: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:312: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:313: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:314: error: expected initializer before >>> '&' token >>> /usr/local/include/qtextstream.h:316: error: expected initializer before >>> 'qSetW' >>> /usr/local/include/qtextstream.h:322: error: expected initializer before >>> 'qSetFill' >>> /usr/local/include/qtextstream.h:328: error: expected initializer before >>> 'qSetPrecision' >>> In file included from /usr/local/include/qvaluelist.h:42, >>> from /usr/local/include/qtranslator.h:44, >>> from /usr/local/include/qapplication.h:45, >>> from >>> /var/ports/usr/ports/graphics/digikam-kde4/work/digikam-0.10.0-rc2/libs/ >>> threadimageio/loadsavetask.cpp:29: >>> >>> # pkg_info -W /usr/local/include/qvaluelist.h >>> /usr/local/include/qvaluelist.h was installed by package qt-copy-3.3.8_9 >> >> After issuing "make configure" for the port, what value do you see in >> the CMakeCache.txt file (located in ${WRKSRC} ) for the QT_INCLUDE_DIR >> variable? >> >> What version of cmake do you have installed? My version of cmake >> 2.6.2 includes a block in the FindQt4.cmake file that reads: >> >> # Set QT_QT_INCLUDE_DIR >> FIND_PATH(QT_QT_INCLUDE_DIR qglobal.h >> PATHS >> ${QT_INCLUDE_DIR}/Qt >> ${QT_LIBRARY_DIR}/QtCore.framework/Headers >> NO_DEFAULT_PATH >> ) >> >> And if I'm reading that correctly, it shouldn't be looking for the >> include headers in the base /usr/local/include directory at all. >> >> Matt > > # pkg_info -Ix cmake > cmake-2.6.2 A cross-platform make > > QT_INCLUDE_DIR:PATH=/usr/local/include/qt4 > > # ls /usr/local/include/qt4/ > Qsci QtAssistant QtDesigner QtNetwork QtSql > QtUiTools QtXmlPatterns > Qt QtCore QtGui QtOpenGL QtSvg > QtWebKit > Qt3Support QtDBus QtHelp QtScript QtTest QtXml > > /glz That looks like what I would expect to see. I can't reproduce this problem on my local machine, even with the qt33 port installed. Sorry - I'm not sure what else to check. Matt