[MPlayer-users] compiling svn with dvdnav support

William Norfleet williamnorfleet2000 at yahoo.com
Sat Jul 28 13:38:21 CEST 2007


>> 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?
> 
> the --minilibs is missing, thus the dvdnav-config used must be some 
> other one (maybe /usr/bin ?)
> search how many dvdnav-config you have and eventually pass to configure
> --with-dvdnav-config=/usr/local/bin/dvdnav-config
> 

Thanks, Nico.  So far I have found only one copy of dvdnav-config:
	[root at desk usr]# which dvdnav-config
	/usr/local/bin/dvdnav-config
	[root at desk usr]# cd /
	[root at desk /]# find -name 'dvdnav-config'
	./usr/local/bin/dvdnav-config
	[root at desk /]#
Using the "--with-dvdnav-config" option results in:
1.  cd /home/bill/opt/mplayerfiles/mplayer/
2.  make distclean
3.  ./configure --prefix=$HOME/mplayer/ --enable-xmms --enable-gui --enable-largefiles 
--with-dvdnav-config=/usr/local/bin/dvdnav-config
	>Checking for DVD support (libdvdnav) ... no
4.  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
	>##########################################

I have also tried forcing the issue by including "--enable-dvdnav" with the ./configure 
command but, of course, this does not compile.  Searching this list for "minilibs" is not 
helpful.  Perhaps the libdvdnav package available through svn has a problem?




More information about the MPlayer-users mailing list