[MPlayer-users] compiling svn with dvdnav support

sean darcy seandarcy2 at gmail.com
Sat Jan 19 05:22:16 CET 2008


On Jan 18, 2008 7:42 AM, William Norfleet <williamnorfleet2000 at yahoo.com> wrote:
> The procedure I posted 2007-08-02 no longer works.  The procedure below
> seems to.
> It is useful for those who prefer to keep MPlayer files in a
> home directory.  It adjusts for the fact that dvdnav.h is currently not
> where
> MPlayer's ./configure expects to find it.  A simple means is also
> included to
> link to libdvdnavmini.so.4 since ./configure options --with-extralibdir and
> --extra-libs do not work in a way that I understand.  HTH.
>
> All steps, except the last (as noted), are done as a normal user.
> Mplayer source goes in /home/bill/opt/mplayerfiles/mplayer.
> Libvdnav source goes in /home/bill/opt/mplayerfiles/libdvdnav.
> Compiled binaries go in /home/bill/mplayer.
> [bill at desk ~]$ cd /home/bill
> [bill at desk ~]$ mkdir mplayer
> [bill at desk ~]$ cd /home/bill/opt/mplayerfiles
> [bill at desk mplayerfiles]$ svn co
> svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav libdvdnav
>         <snip>
>         Checked out revision 997.
> [bill at desk mplayerfiles]$ cd /home/bill/opt/mplayerfiles/libdvdnav/
> [bill at desk libdvdnav]$ ./configure2 --prefix=/home/bill/mplayer/
> [bill at desk libdvdnav]$ make
> [bill at desk libdvdnav]$ make install
> [bill at desk libdvdnav]$ cp /home/bill/mplayer/include/dvdnav/dvdnav.h
> /home/bill/mplayer/include/.
> [bill at desk libdvdnav]$ cd /home/bill/opt/mplayerfiles/mplayer
> [bill at desk mplayer]$ svn update
>         <snip>
>         Updated to revision 25780.
> [bill at desk mplayer]$ make distclean
> [bill at desk mplayer]$ ./configure --prefix=/home/bill/mplayer/
> --enable-xmms --enable-gui --enable-largefiles
> --with-dvdnav-config=/home/bill/mplayer/bin/dvdnav-config
>         <snip>
>         Checking for DVD support (libdvdnav) ... yes
>         Creating config.mak
>         Creating config.h
>         <snip>
> [bill at desk mplayer]$ make
> [bill at desk mplayer]$ make install
> as root: [root at desk lib]# ln -s
> /home/bill/mplayer/lib/libdvdnavmini.so.4 /usr/lib/libdvdnavmini.so.4
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>

Where does this go on the wiki?

sean



More information about the MPlayer-users mailing list