linux_mesa3 doesn't compile

Jeremy Messenger mezz7 at
Sun Jan 4 10:34:41 PST 2004

On Sun, 4 Jan 2004 18:23:27 +0000, Nuno Teixeira <nunotex at> 

> 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"',



It works fine, I can play tuxracer and etc.


> I have attached config.log and `ls /var/db/pkg`.
> Thanks,

-- 's moderator, mezz.

More information about the freebsd-ports mailing list