bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

need to copy gettext/m4/Makefile.am ?


From: Rapp, Perry
Subject: need to copy gettext/m4/Makefile.am ?
Date: Tue, 4 Jun 2002 20:15:09 -0400

Background:

I just upgraded lifelines from gettext-0.10.40 
to gettext-0.11.2 earlier today, working on a cygwin box,
and going to automake1.5 and autoconf2.52 (I think), and
everything finally was wonderful, on the cygwin box.


Abstract: 
 Now my test on a redhat box fails complaining about missing
m4/Automake.m4


Should I copy the m4/Makefile.am file to my own m4 subdirectory ?
(If so, perhaps this should be added to section 12.4.6 of the gettext
manual.
But on the cygwin box something created the m4/Makefile.am automatically
I guess ? So perhaps something is out of date on my redhat box, but I'm
not
sure what.)


I had assumed gettextize upgrade my m4 files if needed, because
everything worked wonderfully on cygwin.

Everything works great on cygwin
 - with system gettext & system iconv
 - with included gettext & system iconv
 - with included gettext & no iconv


but when I try to compile on a GNU/linux redhat 6.0 (with lots of
upgraded
packages, including automake15 & autoconf253), I get 

  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating m4/Makefile
  config.status: error: cannot find input file: m4/Makefile.in



I reread the manual, and found that it lists some new m4s, which
gettextize didn't give me, so I copied them (lib-ld.m4, lib-link.m4, 
and lib-prefix.m4).


bash-2.05$ ls lifelines/m4
CVS     codeset.m4  glibc21.m4  isc-posix.m4  lib-ld.m4    lib-prefix.m4
README  gettext.m4  iconv.m4    lcmessage.m4  lib-link.m4  progtest.m4


Now I check that mine are the same as gettext-0.11.2:

$ diff ll/lifelines/m4/codeset.m4 gt/gettext-0.11.2/m4/codeset.m4

$ diff ll/lifelines/m4/gettext.m4 gt/gettext-0.11.2/m4/gettext.m4

$ diff ll/lifelines/m4/glibc21.m4 gt/gettext-0.11.2/m4/glibc21.m4

$ diff ll/lifelines/m4/iconv.m4 gt/gettext-0.11.2/m4/iconv.m4

$ diff ll/lifelines/m4/isc-posix.m4 gt/gettext-0.11.2/m4/isc-posix.m4

$ diff ll/lifelines/m4/lcmessage.m4 gt/gettext-0.11.2/m4/lcmessage.m4

$ diff ll/lifelines/m4/progtest.m4 gt/gettext-0.11.2/m4/progtest.m4


[I can omit checking the lib ones, as I just copied them directly from
gettext-0.11.2/m4]



I check that I have the ACLOCAL_AMFLAGS correctly in my root
Makefile.am:

bash-2.05$ grep ACLOCAL Makefile.am
# # ACLOCAL_AMFLAGS = -I m4
ACLOCAL_AMFLAGS = -I m4

[The commented out version is old, and I will clean it up.]




I dump version info for autoconf & automake:


bash-2.05$ autoconf --version
autoconf (GNU Autoconf) 2.53
Written by David J. MacKenzie and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
bash-2.05$ automake --version
automake (GNU automake-1.5) 1.5
Written by Tom Tromey <address@hidden>.

Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.



and to be safe, version info for aclocal & autoheader:


bash-2.05$ aclocal --version
aclocal (GNU automake-1.5) 1.5

Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation,
Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Written by Tom Tromey <address@hidden>
bash-2.05$ autoheader --version
autoheader (GNU Autoconf) 2.53
Written by Roland McGrath and Akim Demaille.

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.



Cordially,


Perry Rapp

Any suggestions or URLs welcome.



PS:
I'm also getting some autoheader warnings, but I'm not sure whence they
come,
or whether they have anything to do with the m4 files at all:

configure.in:13: warning: do not use m4_patsubst: use patsubst or
m4_bpatsubst
configure.in:166: warning: do not use m4_regexp: use regexp or
m4_bregexp




reply via email to

[Prev in Thread] Current Thread [Next in Thread]