Mailing List Archive

Automake version?
Which version of automake are you using?

I have the automake-1.3-2 RPM installed, and get:

aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
aclocal: configure.in: 0: macro `AM_LC_MESSAGES' not found in library

whenever I try to run aclocal.

I see that automake-1.4 and autoconf-2.13 have been released this
week. Upgrading to them does not fix the problem; the same errors
occur, plus this one from automake:

configure.in: 87: `AM_CYGWIN32' is obsolete; use `AC_CYGWIN32'

After running `aclocal;autoheader;automake --gnu;autoheader;autoconf'
as per scripts/autogen.sh, running configure gives this error:

creating cache ./config.cache
./configure: syntax error near unexpected token `AM_CONFIG_HEADER(config.h)'
./configure: ./configure: line 558: `AM_CONFIG_HEADER(config.h)'

-JimC
--
James H. Cloos, Jr. <http://www.jhcloos.com/cloos/public_key> 1024D/ED7DAEA6
<cloos@jhcloos.com> E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6
Re: Automake version? [ In reply to ]
"James H. Cloos Jr." <cloos@jhcloos.com> writes:

> aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
> aclocal: configure.in: 0: macro `AM_LC_MESSAGES' not found in library

you should install the latest gettext 0.10.35 - you should find it on
alpha.gnu.org or get the Debian package I think they use the sane
version (you can get the original tar file from a .deb file using
ar(1) )

> configure.in: 87: `AM_CYGWIN32' is obsolete; use `AC_CYGWIN32'

And it is not yet used.

I'll add a test for gettext to autogen.sh


Werner
Re: Automake version? [ In reply to ]
JimC:
> aclocal: configure.in: 0: macro `AM_PATH_PROG_WITH_TEST' not found in library
> aclocal: configure.in: 0: macro `AM_LC_MESSAGES' not found in library

Got this too when I first patched my 0.9.0-->0.9.1 and then trying
to 'make'. Downloaded the full 0.9.1: works. Diffing both trees
revealed only po/* differences, though (um, shouldn't the patches
produce the *same* as the full 0.9.1?). To add to the puzzle, after
compiling full 0.9.1, I wasn't able anymore to reproduce the
aclocal behaviour with the patched sources. Still investigating...


ralf
--
The simplest, and most flexible, mechanism for exception handling is
to call a function. (the eCos(TM) Reference Manual)
http://www.tmt.de/~stephan/
Re: Automake version? [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Werner> you should install the latest gettext 0.10.35 -

Ok. Upgraded gettext to 0.10.35. Now autogen.sh only complains about
AM_CYGWIN32 vs. AC_CYGWIN32.

But, configure still dies. Now it gives:


# ./configure --prefix=/opt/GPG-dev
loading cache ./config.cache
./configure: syntax error near unexpected token `AM_CONFIG_HEADER(config.h)'
./configure: ./configure: line 558: `AM_CONFIG_HEADER(config.h)'

It is most odd that that line made it through to configure from
configure.in. Perhaps a bug in automake 1.4....

Yup. Backing automake down from 1.4 to 1.3 fixes that.

So, gettext 0.10.35, automake 1.3 and autoconf 2.13 make for a
successful build.

- -JimC
- --
James H. Cloos, Jr. <http://www.jhcloos.com/cloos/public_key> 1024D/ED7DAEA6
<cloos@jhcloos.com> E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE2otkmmXqfF+19rqYRAhY8AJ4hBxSQXI0mn4eWXtruoje+Z8qIxACfZ+u8
Bl2mNRl0BXm0ldI0juZ4LZk=
=WIII
-----END PGP SIGNATURE-----