Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 10:38:19 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Multimedia/player: negative side-effect of PR ports/119593?
Message-ID:  <20080210103819.5ab0ed6c.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <200802060157.BAA11764@sopwith.solgatos.com>
References:  <20080205231007.a89b5f6d.torfinn.ingolfsen@broadpark.no> <200802060157.BAA11764@sopwith.solgatos.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 05 Feb 2008 17:57:42 +0000
Dieter <freebsd@sopwith.solgatos.com> wrote:

> So, if ports is using your $PATH, it is finding gcc 3.4.6.

It was, see below.

> And then try rebuilding.  If it does the echo you know it is
> using $PATH, so either rearrange your $PATH so that the gcc you
> want is first, or change the 1stbin/gcc to be a symlink to the
> gcc you want.

Since the port(s) now supports CC, I decided to use that.
With CC set to /usr/bin/gcc, I rebuilt the port. And got the same
problems. Remember, /usr/bin/gcc is version 3.4.6 on this system.
Then I set CC to /usr/local/bin/gcc42 and rebuilt the port again.
And now mplayer works without problems.

So it seems like mplayer needs gcc > 3.4.6.

And BTW, you were right - ports are using $PATH to pick up compilers if
nothing else is set.
-- 
Regards,
Torfinn Ingolfsen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080210103819.5ab0ed6c.torfinn.ingolfsen>