LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-08-2003, 02:09 PM   #1
fettouhi
Member
 
Registered: Jun 2003
Distribution: Arch Linux i686
Posts: 67

Rep: Reputation: 16
MPlayer compiling Problem


I'm trying to install MPlayer-0.90 from the source, i.e. compiling and etc. But it fails everytime and I don't know why. The ./configure command goes throuh without a problem, but make fails. Here are the last few lines from make

ve_divx4.c:235: structure has no member named `mvs'
ve_divx4.c:240: structure has no member named `quant'
ve_divx4.c:241: structure has no member named `intra'
ve_divx4.c:248: `ENC_OPT_ENCODE_VBR' undeclared (first use in this function)
ve_divx4.c:249: structure has no member named `quantizer'
ve_divx4.c:251: structure has no member named `is_key_frame'
ve_divx4.c:253: structure has no member named `quantizer'
ve_divx4.c:253: structure has no member named `is_key_frame'
ve_divx4.c:254: structure has no member named `total_bits'
ve_divx4.c:254: structure has no member named `texture_bits'
ve_divx4.c:254: structure has no member named `total_bits'
ve_divx4.c:261: structure has no member named `quant'
ve_divx4.c:262: structure has no member named `intra'
ve_divx4.c:264: structure has no member named `motion_bits'
ve_divx4.c:265: structure has no member named `texture_bits'
ve_divx4.c:266: structure has no member named `total_bits'
ve_divx4.c:268: structure has no member named `quant'
ve_divx4.c:269: structure has no member named `intra'
ve_divx4.c:272: structure has no member named `is_key_frame'
ve_divx4.c:273: structure has no member named `motion_bits'
ve_divx4.c:274: structure has no member named `texture_bits'
ve_divx4.c:275: structure has no member named `total_bits'
ve_divx4.c:276: structure has no member named `quantizer'
ve_divx4.c:279: structure has no member named `is_key_frame'
make[1]: *** [ve_divx4.o] Error 1
make[1]: Leaving directory `/MPlayer-0.90/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2

does anyone know what could be wrong. Has anyone been able to compile MPlayer-0.90 on a RH 9.0 box.

Since I couldn't install it from the source I got the rpms from www.rpmseek.com and that worked. But I have small problem with the watching real files I get a picture but some error message saying couldn't open drv2.so.6.0 and other times it works. I don't why it has the problem sometime because all codecs for real are in the Realplayer8 directory as they should. A second problem is that the plugin for mplayer can't play any real files it just says movie loading all the time.

Result of ./configure

Detected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 3.2.2, ok
Checking for CPU vendor ... GenuineIntel (15:2:7)
Checking for CPU type ... Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Checking for GCC & CPU optimization abilities ... pentium4
Checking for kernel support of mmx ... yes
Checking for kernel support of mmx2 ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for mtrr support ... yes
Checking for assembler (as 2.13.90.0.18) ... ok
Checking for Linux kernel version ... 2.4.20-18.9, ok
Checking for awk ... gawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... using en
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... no
Checking for tdfxfb ... no
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... yes
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with --with-extraincdir=DIR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --with-extraincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for GIF support ... yes
Checking for broken giflib workaround ... disabled
Checking for VESA support ... yes
Checking for SDL ... yes (using sdl-config)
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... yes
Checking for EsounD ... yes
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by libmpdvdkit2
Checking for DVD support (libdvdnav) ... no
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fribidi with charsets ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... yes
Checking for mad support ... no
Checking for OggVorbis support ... yes
Checking for faad2 (AAC) support ... no
Checking for Win32 codec DLL files path ... /usr/lib/win32
Checking for Win32 codec DLL support ... yes
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... yes (using /usr/lib/xanim)
Checking for RealPlayer DLL ... yes (using /usr/lib/RealPlayer8/Codecs)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... yes
Checking for DivX4 compatibility in XviD ... yes
Checking for DivX4linux/DivX5linux/OpenDivX decore ... XviD compat.
Checking for libmp3lame (for mencoder) ... yes
Checking for DivX4linux encore (for mencoder) ... DivX4linux (with libdivxencore.so)
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... yes
Checking for audio select() ... yes
Checking for streaming ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for New config ... yes
Checking for OSD menu ... no
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for GUI ... no
Checking for ftello() ... yes
Checking for vidix ... yes
Checking for joystick ... no
Checking for lirc ... yes
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h

Config files successfully generated by ./configure !

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

Byte order: Little Endian
Optimizing for: pentium4 mmx mmx2 sse sse2 mtrr

Enabled optional drivers:
Input: streaming tv-v4l edl tv cdda mpdvdkit2 vcd
Codecs: qtx xvid libavcodec real xanim dshow/dmo win32 libvorbis liblzo gif
Audio output: esd arts oss sdl mpegpes(file)
Video output: xvidix sdl vesa gif89a jpeg png mpegpes(file) fbdev opengl dga xv x11
Disabled optional drivers:
Input: tv-bsdbt848 dvdnav dvdread dvdcss smb
Codecs: opendivx divx5linux divx4linux libdv libmad
Audio output: sgi sun alsa dxr2 nas win32
Video output: bl zr dxr3 dxr2 directx svga aa ggi xmga mga directfb tdfxfb 3dfx

'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/video.html#mtrr)


Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).

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

If anyone can help I would be grateful

Kind Regards

André Fettouhi

 
Old 07-11-2003, 09:06 AM   #2
wa03
LQ Newbie
 
Registered: Sep 2000
Location: Midwest
Distribution: Slackware
Posts: 6

Rep: Reputation: 0
fettouhi,
I was having a very similiar compile error, so I missed around with the --with- options and --enable- options on ./configure. What I came up with that worked was this:

./configure --enable-gui --enable-largefiles --enable-menu --enable-runtime-cpudetection

Try that, and then compile and see if it works. If not, look up the --with- and --enable- commands with ./configure --help. I'm sorry if I'm insulting your linux guru-ness by explaining the ./configure --help stuff, but I just recently learned myself. So Good luck, and if you have further problems, let me know. I'm just getting past the n00b stage of linux, and have learned enough to help people out, a LITTLE.

-wa03
 
Old 07-11-2003, 12:00 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
don't bother with divx4 support, that package is not as nearly optimized and well tuned as the ffmpeg (libavcodec) which (trust me on this one) DOES include full divx 3/ 4/ 5 support and in included in the standard MPlayer source release.
 
Old 07-12-2003, 03:38 AM   #4
fettouhi
Member
 
Registered: Jun 2003
Distribution: Arch Linux i686
Posts: 67

Original Poster
Rep: Reputation: 16
Thanks for the reply all of you bur i decided to go with xine because that works out of the hat.

Regards

André Fettouhi
 
Old 07-12-2003, 09:08 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
so does mplayer if you install from rpm. xine sucks comapred to mplayer
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with compiling mplayer pablovschby Linux - Software 1 11-03-2004 09:21 PM
problem compiling mplayer foustware Linux - Software 7 09-06-2004 11:59 PM
Mplayer compiling problem (because of divx4?) Villain Linux - Software 5 01-22-2004 10:18 AM
problem compiling mplayer after adding win32 codec chiyoaiki Linux - Software 1 06-25-2003 01:46 PM
Help with compiling MPlayer cirkut5732 Linux - Newbie 1 04-13-2003 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration