[MPlayer-users] mplayer compilation error (latest version from svn)

Евгений Шаповал jeno.kiev at gmail.com
Wed Jul 16 01:51:13 CEST 2008


Hi!

I download latest version of mplayer from svn:

# svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

I configure mplayer:

# ./configure --disable-x11 --disable-gui --disable-gtk1

I have:
================================================================================================
Config files successfully generated by ./configure --disable-x11
--disable-gui --disable-gtk1 !

  Install prefix: /usr/local
  Data directory: /usr/local/share/mplayer
  Config direct.: /usr/local/etc/mplayer

  Byte order: little-endian
  Optimizing for: prescott

  Languages:
    Messages/GUI: en
    Manual pages: en

  Enabled optional drivers:
    Input: ftp tv-bsdbt848 tv live555 libdvdcss(internal)
dvdread(internal) vcd network
    Codecs: xvid libavcodec qtx real xanim win32 faad2 libdca libmpeg2
liba52 mp3lib tremor(internal) twolame gif
    Audio output: oss mpegpes(file)
    Video output: gif89a pnm jpeg png mpegpes(file) aa cvidix yuv4mpeg
md5sum tga
  Disabled optional drivers:
    Input: dvdnav vstream pvr radio tv-teletext tv-v4l2 tv-v4l1
tv-dshow nemesi cddb cdda dvb smb
    Codecs: x264 libdv libamr_wb libamr_nb faac musepack libtheora
speex toolame libmad liblzo
    Audio output: sun alsa openal jack pulse esd arts v4l2 ivtv dxr2 nas sdl
    Video output: zr zr2 v4l2 ivtv dxr3 dxr2 sdl vesa fbdev svga caca
ggi xmga mga xvidix winvidix opengl 3dfx dga xvmc xv x11 dfbmga
directfb bl xvr100 tdfx_vid s3fb tdfxfb

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-gui and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
================================================================================================

but when I try make mplayer, he says:

# make
"config.mak", line 4: Need an operator
"Makefile", line 725: warning: duplicate script for target "%.d" ignored
"Makefile", line 728: warning: duplicate script for target "%.d" ignored
Error expanding embedded variable.


how it's correct? =\

here part of config.mak: (line: 0 - 10)

================================================================================================
# -------- Generated by configure -----------

# Ensure that locale settings do not interfere with shell commands.
export LC_ALL = C

MAN_LANG =
MAN_LANG_ALL = en

DESTDIR =
prefix = $(DESTDIR)/usr/local
================================================================================================

here part of Makefile: (line: 720 - 730)

================================================================================================
all: $(ALL_PRG-yes)

%.d: %.c
        $(MPDEPEND_CMD) > $@

%.d: %.cpp
        $(MPDEPEND_CMD_CXX) > $@

%.d: %.m
        $(MPDEPEND_CMD) > $@

%.o: %.m
================================================================================================


Thanks! =)



More information about the MPlayer-users mailing list