Subject: Re: multimedia/mpeg4ip won't compile
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: pkgsrc-users
Date: 05/09/2006 10:31:00
Hello,

At Mon, 8 May 2006 21:14:46 -0400,
Steven M. Bellovin wrote:
> Making all in utils
> source='config_opts.cpp' object='config_opts.lo' libtool=yes  DEPDIR=.deps
> depmode=none /bin/sh ../../depcomp  /bin/sh ../../libtool --tag=CXX
> --mode=compile c++ -DHAVE_CONFIG_H  -I. -I. -I../.. -I../../include
> -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include  -D_REENTRANT
> -fexceptions -Wall -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY
> -I/usr/include -DUSE_MMX -DMPEG4IP -I/usr/pkg/include/SDL -D_REENTRANT -c
> -o config_opts.lo config_opts.cpp mkdir .libs c++ -DHAVE_CONFIG_H -I.
> -I../.. -I../../include
> -I/usr/pkgsrc/multimedia/mpeg4ip/work/.buildlink/include
> -DGLX_GLXEXT_LEGACY -D_REENTRANT -fexceptions -Wall -O2 -DUSE_MMX
> -DMPEG4IP -I/usr/pkgsrc/multimedia/mpeg4ip/work/.buildlink/include/SDL -c
> config_opts.cpp  -fPIC -DPIC -o .libs/config_opts.o *** Error code 1

Please try the following patch.

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/mpeg4ip/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	28 Apr 2006 10:02:41 -0000	1.2
+++ Makefile	9 May 2006 01:25:07 -0000
@@ -9,6 +9,7 @@
 HOMEPAGE=		http://mpeg4ip.sourceforge.net/
 COMMENT=		Tools for streaming video and audio
 
+USE_LANGUAGES=		c c++
 USE_PKGLOCALEDIR=	yes
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes