pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mplayer not building



  Here's the reason:

    Checking for Polyp ... yes Package glib-2.0 was not found in the
  pkg-config search path.
    Perhaps you should add the directory containing `glib-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    Package 'glib-2.0', required by 'libpulse-mainloop-glib', not found

  Proposed fix (works for me):

  --- multimedia/mplayer-share/options.mk       20 Dec 2008 00:43:47 -0000      
1.34
  +++ multimedia/mplayer-share/options.mk       30 Dec 2008 17:26:30 -0000
  @@ -258,6 +259,7 @@
   .if !empty(PKG_OPTIONS:Mpulseaudio)
   CONFIGURE_ARGS+=     --enable-polyp
  +.  include "../../devel/glib2/buildlink3.mk"
   .  include "../../audio/pulseaudio/buildlink3.mk"
   .else
   CONFIGURE_ARGS+=     --disable-polyp

Thanks for figuring this out.  Isn't the real problem that pulseaudio
installs a library that depends on glib:

> ld /usr/pkg/lib/libpulse-mainloop-glib.
/usr/pkg/lib/libpulse-mainloop-glib.so:
        -lICE.6 => /usr/pkg/lib/libICE.so.6
        -lSM.6 => /usr/pkg/lib/libSM.so.6
        -lXau.6 => /usr/pkg/lib/libXau.so.6
        -lXdmcp.6 => /usr/pkg/lib/libXdmcp.so.6
        -lX11.6 => /usr/pkg/lib/libX11.so.6
        -lintl.0 => /usr/lib/libintl.so.0
        -lgdbm.3 => /usr/pkg/lib/libgdbm.so.3
        -lm.0 => /usr/lib/libm387.so.0
        -lm.0 => /usr/lib/libm.so.0
        -latomic_ops.0 => /usr/pkg/lib/libatomic_ops.so.0
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lpulse.0 => /usr/pkg/lib/libpulse.so.0
        -lpcre.0 => /usr/pkg/lib/libpcre.so.0
        -lglib-2.0.0 => /usr/pkg/lib/libglib-2.0.so.0


but that it doesn't depend on it, or have it in the bl3 file?  Certainly
if mplayer uses glib directly then it needs it in its own right, but
this seems to be a pulseaudio issue.

Attachment: pgp5sYk1xVrY_.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index