Red Hat Bugzilla – Bug 92154
Autogen.sh doesn't complete so that you can make application
Last modified: 2015-01-07 19:05:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
Description of problem:
built glade application and cannot get it to complete the autogen.sh process.
when i try to use a regular makefile, I run into
errors for libintl.h ---it doesn't like the __const in that file.
Version-Release number of selected component (if applicable):
build application with glade and can't autogen.sh
Steps to Reproduce:
1.build glade app, generate files, do autogen.sh or make simple gtk+ app and
makefile and try to compile.
Actual Results: get the autogen.sh dies. the gtk+ app the errors all involve
libintl.h and the __const definitions in it...
As an aside, experts in GTK programming unanimously recommend using Glade with
libglade, rather than using glade to generate code.
I have the same problem with the glade packaged with redhat 9. Glade has had
this problem for the last several releases of redhat; it would be nice if a
working version is included in the next release. Here is what I get when I run
autogen.sh provided by glade:
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
Creating ./aclocal.m4 ...
Running gettextize... Ignore non-fatal messages.
Copying file ABOUT-NLS
Copying file config.rpath
Copying file mkinstalldirs
Not copying intl/ directory.
Copying file po/Makefile.in.in
Copying file po/boldquot.sed
Copying file firstname.lastname@example.org
Copying file email@example.com
Copying file po/insert-header.sin
Copying file po/Makevars.template
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
Copying file po/Rules-quot
Adding an entry to po/ChangeLog (backup is in po/ChangeLog~)
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/inttypes.m4
Copying file m4/inttypes_h.m4
Copying file m4/inttypes-pri.m4
Copying file m4/isc-posix.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/progtest.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Updating Makefile.am (backup is in Makefile.am~)
Updating configure.in (backup is in configure.in~)
Adding an entry to ChangeLog (backup is in ChangeLog~)
Please use AM_GNU_GETTEXT([external]) in order to cause autoconfiguration
to look for an external libintl.
Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.
Please run 'automake m4/Makefile' to create m4/Makefile.in
Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.5 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.
You will also need config.guess and config.sub, which you can get from
You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
Press Return to acknowledge the previous 6 paragraphs.
Making ./aclocal.m4 writable ...
Running aclocal -I macros ...
WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
WARNING: and `config.h.top', to define templates for `config.h.in'
WARNING: is deprecated and discouraged.
WARNING: Using the third argument of `AC_DEFINE' and
WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
WARNING: AC_DEFINE([NEED_MAIN], 1,
WARNING: [Define if a function `main' is needed.])
WARNING: More sophisticated templates can also be produced, see the
configure.in:36: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES.
autoconf/status.m4:844: AC_CONFIG_FILES is expanded from...
configure.in:36: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
autoheader: /usr/bin/autom4te failed with exit status: 1
**Error**: autoheader failed.
Here are the versions of the various components used by autogen.sh:
automake (GNU automake) 1.6.3
autoconf (GNU Autoconf) 2.57
gettext (GNU gettext) 0.11.4
GNU m4 1.4.1
Newer glade may well fix this as I don't think it uses gnome-common anymore.
Works fine with glade2-2.5.0 in FC2.