From owner-freebsd-ports@FreeBSD.ORG Sun Jan 4 10:34:40 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA8D616A4CE for ; Sun, 4 Jan 2004 10:34:40 -0800 (PST) Received: from lakemtao06.cox.net (lakemtao06.cox.net [68.1.17.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9993643D1D for ; Sun, 4 Jan 2004 10:34:39 -0800 (PST) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao06.cox.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040104183439.ZJWZ24575.lakemtao06.cox.net@mezz.mezzweb.com>; Sun, 4 Jan 2004 13:34:39 -0500 Date: Sun, 04 Jan 2004 12:33:42 -0600 To: Nuno Teixeira References: <20040104182327.GA20957@SDF.LONESTAR.ORG> From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20040104182327.GA20957@SDF.LONESTAR.ORG> User-Agent: Opera7.23/Linux M2 build 518 cc: ports@freebsd.org Subject: Re: linux_mesa3 doesn't compile X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2004 18:34:41 -0000 On Sun, 4 Jan 2004 18:23:27 +0000, Nuno Teixeira wrote: > > Hello to all, > > I'm trying to install linux_mesa3 on a 5.2 RC: > > checking for gcc... cc > checking whether the C compiler (cc -O -pipe -march=athlon-xp ) works... > no > configure: error: installation or configuration problem: C compiler > cannot create executables. The real issue is that the linux emulator has the GCC 2.9x.xx. The GCC 2.9x.xx doesn't supporth the athlon-xp, which meaning you will have to change it to i686 or whatever to what GCC 2.9x.xx support in the CPUTYPE at /etc/make.conf. I noticed that you use portupgrade, here's what I have in my pkgtools.conf: ================================ MAKE_ARGS = { 'graphics/linux_mesa3' => [ 'CFLAGS=" -O2 -pipe -march=i686"', 'STRIP="-s"', ], [...] } ================================ It works fine, I can play tuxracer and etc. Cheers, Mezz > I have attached config.log and `ls /var/db/pkg`. > > Thanks, -- bsdforums.org 's moderator, mezz.