Subject: pkg/37295: multimedia/gstreamer0.10 fails to build on Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 11/07/2007 04:10:01
>Number:         37295
>Category:       pkg
>Synopsis:       multimedia/gstreamer0.10 fails to build on Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 07 04:10:01 +0000 2007
>Originator:     cheusov@tut.by
>Release:        NetBSD 4.0_RC3
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_RC3 NetBSD 4.0_RC3 (GENERIC) #2: Sat Oct 20 21:41:02 EEST 2007 cheusov@chen.chizhovka.net:/srv/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
configure stage:
   checking bison version 2.3 >= 1.875... yes
   checking for flex... no
   configure: error: Could not find flex
   *** Error code 1
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/gstreamer0.10/Makefile,v
retrieving revision 1.17
diff -u -r1.17 Makefile
--- Makefile	30 Aug 2007 12:21:51 -0000	1.17
+++ Makefile	7 Nov 2007 04:04:37 -0000
@@ -11,12 +11,10 @@
 HOMEPAGE=		http://www.gstreamer.net/
 COMMENT=		Open source multimedia framework
 
-BUILD_DEPENDS+=		bison-[0-9]*:../../devel/bison
-
 GNU_CONFIGURE=		yes
 USE_PKGLOCALEDIR=	yes
 USE_LIBTOOL=		yes
-USE_TOOLS+=		gmake perl pkg-config
+USE_TOOLS+=		gmake perl pkg-config bison flex
 
 CONFIGURE_ARGS+=	--disable-examples
 CONFIGURE_ARGS+=	--disable-tests