[MPlayer-users] mplayer from FreeBSD ports fails to build/compile

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Aug 10 20:13:51 CEST 2011


On Wed, Aug 10, 2011 at 12:04:02PM +0100, Tom Evans wrote:
> So, I updated sources and tried compiling with --as=/usr/local/bin/as

Standalone as is not used on x86_64 so that has no effect at all.
You need to make your compiler use up-to-date binutils.
Since gcc does not seem to have an option to select the assembler it
uses and FreeBSD hard-coded the name including the path (so changing
PATH so that /usr/local/bin comes first does not help) that means
you have to replace /usr/bin/as.

>   --as=/usr/local/bin/as \

As said that should not be needed.

>   --cc=/usr/local/bin/gcc46 \
>   --with-freetype-config=/usr/local/bin/freetype-config \
>   --with-dvdnav-config=/usr/local/bin/dvdnav-config \
>   --with-dvdread-config=/usr/local/bin/dvdread-config \

If you put /usr/local/bin in the path the last three should not
be necessary and the first one simpler.

>   --prefix=/usr/local \

That is the default already.


More information about the MPlayer-users mailing list