From owner-freebsd-ports@FreeBSD.ORG Sun Jun 13 13:37:00 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95F01106566B; Sun, 13 Jun 2010 13:37:00 +0000 (UTC) (envelope-from makc@issp.ac.ru) Received: from mail.issp.ac.ru (mail.issp.ac.ru [77.236.34.3]) by mx1.freebsd.org (Postfix) with ESMTP id EFFA88FC14; Sun, 13 Jun 2010 13:36:59 +0000 (UTC) Received: from [62.63.90.113] [62.63.90.113:54611] (HELO/EHLO luna.dio.ru, authenticated with PLAIN) by mail.issp.ac.ru with ESMTP/inet id o5DDarRG078347 (using TLSv1/SSLv3, with cipher DHE-RSA-AES256-SHA (256 bits), verified NO) Sun, 13 Jun 2010 17:36:54 +0400 (MSD) From: Max Brazhnikov Organization: ISSP RAS To: kde-freebsd@kde.org Date: Sun, 13 Jun 2010 17:36:55 +0400 User-Agent: KMail/1.13.3 (FreeBSD/8.0-STABLE; KDE/4.4.4; amd64; ; ) References: <4C128F14.9060605@FreeBSD.org> <4C1334A9.1000208@icyb.net.ua> <4C1417BB.1020906@FreeBSD.org> In-Reply-To: <4C1417BB.1020906@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201006131736.56082.makc@issp.ac.ru> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.issp.ac.ru [77.236.34.3]); Sun, 13 Jun 2010 17:36:54 +0400 (MSD) Cc: Rob Farmer , Doug Barton , Andriy Gapon , freebsd-ports@freebsd.org Subject: Re: [kde-freebsd] qt4-moc link failure 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: Sun, 13 Jun 2010 13:37:00 -0000 On Sat, 12 Jun 2010 16:26:51 -0700, Doug Barton wrote: > On 06/12/10 00:18, Andriy Gapon wrote: > > on 12/06/2010 03:40 Rob Farmer said the following: > >> On Fri, Jun 11, 2010 at 12:31 PM, Doug Barton wrote: > >>> Full log is at http://people.freebsd.org/~dougb/qt4-moc.log > >> > >> It looks like you compiled with g++45 but the very last command (the > >> link) is using g++ (ie the base system gcc). I don't know enough about > >> compilers to say for sure if that would cause the problem or not, but > >> its probably a good starting point. > > > > Yeah, here is my earlier post to kde@ list, no reply to it: > > http://www.mail-archive.com/kde-freebsd@kde.org/msg08123.html > > Thanks Andriy, your suggestion to edit > /usr/local/share/qt4/mkspecs/common/g++.conf did the trick. :) > > So, kde folks, is this going to be _the_ solution to this problem, or > can y'all come up with a better one? If we're going to push in the > direction of a "ports compiler" this is a problem that needs to be solved. qmake is designed to use special mkspecs for compilers. The only solution now is to create qmake mkspecs files for each compiler. Then switching between different compilers can be done via QMAKESPEC environment. Max