[MPlayer-users] compiling svn with dvdnav support

William Norfleet williamnorfleet2000 at yahoo.com
Sat Jul 28 01:29:42 CEST 2007


Nico Sabbi wrote:
> <div class="moz-text-flowed" style="font-family: -moz-fixed">William 
> Norfleet wrote:
> 
>> 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
>>>   
>>
>>  
>>
> 
> dvdnav-config will be in your path after you install dvdnav
> (make && make install in libdvdnav/) ;
> moreover, you don't need to mess with those options, at most
> you can choose if you want to compile the internal or the external dvdread
> (the external one is better because more up to date)
> 
>> 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.
>>
>>  
>>
> no documentation can replace some common sense
> 
> </div>
Thanks for all the help.  Making progress.  Mplayer seems to find and run dvdnav-config, 
but not to recognize the result:

As regular user, unless noted:
1.  cd /home/bill/opt/mplayerfiles
2.  svn checkout svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
	>Checked out revision 950.
3.  cd libdvdnav
4.  ./configure2
5.  make
6.  as root:  make install
7.  ll /usr/local/bin
	>-rwxr-xr-x 1 root root 1671 Jul 27 19:04 dvdnav-config
8.  ll /usr/local/lib
	>drwxr-xr-x 2 root root   4096 Dec 21  2006 codecs
	>-rwxr-xr-x 1 root root 185776 Jul 27 19:04 libdvdnav.a
	>lrwxrwxrwx 1 root root     14 Jul 27 19:04 libdvdnav.so -> libdvdnav.so.4
	>lrwxrwxrwx 1 root root     18 Jul 27 19:04 libdvdnav.so.4 -> libdvdnav.so.4.1.1
	>-rwxr-xr-x 1 root root 200172 Jul 27 19:04 libdvdnav.so.4.1.1
9.  ll /usr/local/include
	>drwxr-xr-x 2 root root 4096 Jul 27 19:04 dvdnav
10. ll /usr/local/include/dvdnav
	>-rw-r--r-- 1 root root  7456 Jul 27 19:04 dvdnav_events.h
	>-rw-r--r-- 1 root root 22141 Jul 27 19:04 dvdnav.h
	>-rw-r--r-- 1 root root  9554 Jul 27 19:04 dvd_reader.h
	>-rw-r--r-- 1 root root  8443 Jul 27 19:04 dvd_types.h
	>-rw-r--r-- 1 root root  1669 Jul 27 19:04 ifo_print.h
	>-rw-r--r-- 1 root root  8161 Jul 27 19:04 ifo_read.h
	>-rw-r--r-- 1 root root 23343 Jul 27 19:04 ifo_types.h
	>-rw-r--r-- 1 root root  1426 Jul 27 19:04 nav_print.h
	>-rw-r--r-- 1 root root  1527 Jul 27 19:04 nav_read.h
	>-rw-r--r-- 1 root root  9029 Jul 27 19:04 nav_types.h
11. cd /home/bill/opt/mplayerfiles/mplayer
12. make distclean
12. svn update
	>Updated to revision 23886.
13. ./configure --prefix=$HOME/mplayer/ --enable-xmms --enable-gui --enable-largefiles
	>Checking for DVD support (libdvdnav) ... no
14. cat configure.log
	>============ Checking for DVD support (libdvdnav) ============
	>4.1.1
	>Usage: dvdnav-config [OPTIONS] [LIBRARIES]
	>Options:
	>        [--prefix[=DIR]]
	>        [--version]
	>        [--libs]
	>        [--cflags]
	>
	>Result is: no
	>##########################################

The "configure2" in /libdvdnav is suspicious; /libdvdnav contains no unnumbered 
"configure".  Perhaps this is a clue?



More information about the MPlayer-users mailing list