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/       20 Dec 2008 00:43:47 -0000      
  +++ multimedia/mplayer-share/       30 Dec 2008 17:26:30 -0000
  @@ -258,6 +259,7 @@
   .if !empty(PKG_OPTIONS:Mpulseaudio)
   CONFIGURE_ARGS+=     --enable-polyp
  +.  include "../../devel/glib2/"
   .  include "../../audio/pulseaudio/"
   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.
        -lICE.6 => /usr/pkg/lib/
        -lSM.6 => /usr/pkg/lib/
        -lXau.6 => /usr/pkg/lib/
        -lXdmcp.6 => /usr/pkg/lib/
        -lX11.6 => /usr/pkg/lib/
        -lintl.0 => /usr/lib/
        -lgdbm.3 => /usr/pkg/lib/
        -lm.0 => /usr/lib/
        -lm.0 => /usr/lib/
        -latomic_ops.0 => /usr/pkg/lib/
        -lpthread.0 => /usr/lib/
        -lpulse.0 => /usr/pkg/lib/
        -lpcre.0 => /usr/pkg/lib/
        -lglib-2.0.0 => /usr/pkg/lib/

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