linux_mesa3 doesn't compile

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


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

>
> Hello to all,
>
> I'm trying to install linux_mesa3 on a 5.2 RC:
>
<snip>
> 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.
<snip>

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.


More information about the freebsd-ports mailing list