Subject: Re: problems building graphics/mng
To: =?ISO-8859-1?Q?C=E9sar_Catri=E1n?= C. <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 05/28/2004 19:31:32
On Fri, 28 May 2004, C=E9sar Catri=E1n C. wrote:

> can someone help me with this please?
> =3D=3D=3D> Configuring for mng-1.0.7
> cd /home/cetrox/src/pkgsrc/graphics/mng/work.core/libmng-1.0.7;     /bin/=
ln -sf makefiles/ .;       /bin/ln -sf makefiles/ .;=
  /usr/pkg/bin/aclocal-1.8;     /usr/pkg/bin/libtoolize --automake;  /usr/p=
kg/bin/automake-1.8 -a --foreign -i;   /usr/pkg/bin/autoconf
> no proper invocation of AM_INIT_AUTOMAKE was found.
> You should verify that invokes AM_INIT_AUTOMAK=
> that aclocal.m4 is present in the top-level directory,
> and that aclocal.m4 was recently regenerated (using aclocal=
> installing `./install-sh'
> installing `./missing'
> Libtool library used but `LIBTOOL' is undefined
> The usual way to define `LIBTOOL' is to add `AC_PROG_LIBT=
> to `' and run `aclocal' and `autoconf' again.
> error: possibly undefined macro: AM_INIT_AUTOMAKE
>       If this token and others are legitimate, please use m4_pattern_allo=
>       See the Autoconf documentation.
> error: possibly undefined macro: AM_C_PROTOTYPES
> error: possibly undefined macro: AM_PROG_LIBTOOL
> *** Error code 1
> Stop.
> make: stopped in /home/cetrox/src/pkgsrc/graphics/mng

I can't reproduce the problem readily (NetBSD 1.6ZL, automake 1.8.3),
but it does look like this software was originally using automake 1.3.
Try forcing 1.4, the oldest version pkgsrc can readily force, with the
following patch, and let us know how it works out.

Index: Makefile
RCS file: /cvsroot/pkgsrc/graphics/mng/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile=096 Apr 2004 09:17:56 -0000=091.16
+++ Makefile=0929 May 2004 00:22:14 -0000
@@ -17,6 +17,9 @@