Multimedia/player: negative side-effect of PR ports/119593?
torfinn.ingolfsen at broadpark.no
Sun Feb 10 01:38:21 PST 2008
On Tue, 05 Feb 2008 17:57:42 +0000
Dieter <freebsd at 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.
More information about the freebsd-multimedia