[MPlayer-users] compiling svn with dvdnav support

JonY 10walls at gmail.com
Sat Jul 28 15:44:38 CEST 2007


Masaru Nomiya wrote:
> Hello,
>
> In the Message; 
>
>   Subject    : Re: [MPlayer-users] compiling svn with dvdnav support
>   Message-ID : <46AB2AAD.2090101 at yahoo.com>
>   Date & Time: Sat, 28 Jul 2007 07:38:21 -0400
>
> [William] == William Norfleet <williamnorfleet2000 at yahoo.com> has written:
>
> William> Thanks, Nico.  So far I have found only one copy of dvdnav-config:
> William> 	[root at desk usr]# which dvdnav-config
> [...]
> William> I have also tried forcing the issue by including "--enable-dvdnav"
> William> 	with the ./configure command but, of course, this does not
> William> 	compile.  Searching this list for "minilibs" is not
> William> 	helpful.  Perhaps the libdvdnav package available through
> William> 	svn has a problem?
>
> ./configure DOES automatically detect dvdnav, so you don't neet to add any
> options concerning dvdnav.
>
> I suspect your "pkgconfig path setteing"?
>
> Does the command
>
>   
>> echo $PKG_CONFIG_PATH
>>     
>
> include "/usr/local/lib/pkgconfig"?
>
> HTH,
>
> ---
>   Masaru Nomiya       mail-to: nomiya @ galaxy.dti.ne.jp
>
>           "Bill! You married with Computers.
>            Not with Me!"
>           "No..., with money."
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>   
Wait, libdvdnav doesn't use pkg-config.
I also had that problem once, but I solved it with a cheap hack. It 
seems dvdnav-config is missing --minilibs and is unable to process the 
parameters passed by the mplayer configure. Here's the hack I used. 
Apply it to dvdnav-config.
==================================================

--- dvdnav-config    Sat Jul 28 21:41:38 2007
+++ dvdnav-config    Thu Jun 28 21:04:15 2007
@@ -56,6 +56,9 @@
     --libs)
       echo_libs=yes
       ;;
+    --minilibs)
+      echo_libs=yes
+      ;;
     *)
       usage 1 1>&2
       ;;

==================================================
-OR-

Edit the mplayer configure, change the dvdnav-config --minilibs 
statement to --libs instead, so configure passes the correct parameter.

Hope it helps.



More information about the MPlayer-users mailing list