Subject: Re: mng and automake on OS X
To: Louis Guillaume <lguillaume@berklee.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/02/2004 09:52:29
> autom4te: unknown language: Autoconf-without-aclocal-m4
> aclocal-1.8: autom4te failed with exit status: 1

Louis,

I saw your message from early August about mng failing under Mac OS X.
I have this same issue under Mac OS X:

/usr/pkg/share/aclocal/pkg.m4:5: warning: underquoted definition of
PKG_CHECK_MODULES
  run info '(automake)Extending aclocal'
  or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
autom4te: unknown language: Autoconf-without-aclocal-m4
aclocal-1.9: autom4te failed with exit status: 1
*** Error code 1

Did you ever get an answer or fix?

From some research, it appears that the wrong (old) versions of some auto*
tool or tools are being used. For example, my Mac OS X box has
/usr/bin/automake which is version 1.6.3. My pkgsrc-installed
/opt/pkg/bin/automake is version 1.9.3

My work-around was to define AUTOM4TE and AUTOCONF variables in the
environment to the full path to the pkgsrc version.

I posted about this a couple days ago (but I was using Solaris and my
errors were different) -- because I was thinking that the fix should
really have the full paths used within the installed autom4te and automake
scripts instead.


 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/