pkgsrc-Users archive

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

Re: mplayer not building

On Sun, Dec 28, 2008 at 08:13:35PM -0500, Greg Troxel wrote:
I am trying to build mplayer with head pkgsrc on NetBSD 4.99.69 on i386.
It fails trying to link what is apparently pulseaudio symbols.

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      1.34
+++ 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

Sergey Svishchev

Attachment: pgpbn_6dHBLSa.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index