[MPlayer-users] mplayer update on FreeBSD ports

Raimund Steger rs at mytum.de
Sun Jan 22 00:30:09 CET 2012


Hi,

On 01/21/12 20:16, Antonio Olivares wrote:
> [...]
>> Though I still don't get why the log2/log2f check in
>> ./configure fails and the workaround in
>> ffmpeg/libavutil/libm.h isn't enabled, and in particular,
>> why it apparently produces different results on your two 8.2
>> boxes.
>>
>> But comparing the config.log files on those two boxes
>> (/usr/ports/multimedia/mplayer/work/*/config.log) should
>> really make that clearer.
>
> On the other machine, I have checked for config.log, but it is cleaned out :(
>
> /usr/ports/multimedia/mplayer/work/ does not exist only the Makefile* and a patch file.

You'll need to rebuild it in this case (cd 
/usr/ports/multimedia/mplayer;make), then it should be there.

But I investigated this on my 8.2 box now, using the current version 
from ports. It seemed to me that the log2/log2f check in ./configure 
only works if the -Werror-implicit-function-declaration flag is set. 
This in turn required that ./configure got the chance to set its own 
CFLAGS. For this, I had to set

   [ ] DEBUG
   [X] OCFLAGS

when running 'make config' in /usr/ports/multimedia/mplayer/.
In all other cases (setting DEBUG or clearing OCFLAGS), I got very 
similar errors to the ones you reported.

I don't run on amd64, so maybe you'd still observe a different behavior.

In any case, mplayer's configure script is pretty good guessing stuff 
out of the box, so switching to the SVN version would generally be the 
way to go.

Raimund

-- 
Worringer Str 31 Duesseldorf 40211 Germany +49-179-2981632 icq 16845346


More information about the MPlayer-users mailing list