[MPlayer-users] compiling svn with dvdnav support

William Norfleet williamnorfleet2000 at yahoo.com
Fri Jul 27 02:24:25 CEST 2007


OK, I'm an idiot; let me have it.  But please also toss me a bone regarding how to compile 
svn mplayer with dvdnav support.  I've read the man pages, README's, html documentation, 
googled, and searched this mailing list without quite achieving success.  I've been 
happily running svn mplayer without dvdnav support for many months.  Here's the process 
I've used to try to get dvdnav working:

1.  Per http://www.mplayerhq.hu/design7/dload.html, download svn mplayer:
	svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer	
   or update:
	svn update

2.  Per an extrapolation of a message on this list, download libdvdnav by running this 
command from within the mplayer directory created by (1) above:
	svn checkout svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
This creates a new directory in /mplayer, /libdvdnav (or libdvdnav2 if you specify that)

3.  Run ./configure.  Documentation regarding which options should be passed is not 
consistent.  "./configure -help" reveals a --disable-dvdnav option, but perhaps 
--enable-dvdnav is necessary.  The html manual mentions --disable-mpdvdkit, but 
./configure won't accept that.  One of many sets of options I have tried is:
	./configure --prefix=$HOME/mplayer/ --enable-xmms --enable-gui --enable-largefiles 
--enable-dvdnav

The resulting ./configure output includes:
> Checking for DVD support (libdvdnav) ... ./configure: line 7302: dvdnav-config: command not found
> ./configure: line 7304: dvdnav-config: command not found
> ./configure: line 7305: dvdnav-config: command not found
> yes

And configure.log includes:
> ============ Checking for DVD support (libdvdnav) ============
> Result is: yes
> ##########################################

Make fails with:
> mplayer.c:2664: warning: passing argument 2 of 'guiGetEvent' from incompatible pointer type
> make: *** [mplayer.o] Error 1

Almost certainly, the answer is staring me in the face, but I don't recognize it.  One 
obvious clue concerns "dvdnav-config".  The documentation included in libdvdnav is not 
immediately helpful to one with my (dis)abilities.  I can find no such file in the 
libdvdnav source tree.  But I'll bet it's important.

Any pointers will be much appreciated.



More information about the MPlayer-users mailing list