After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 640896 - Can't configure dues to missing AC_PROG_LIBTOOL?
Can't configure dues to missing AC_PROG_LIBTOOL?
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2011-01-29 15:29 UTC by Tobias Mueller
Modified: 2011-02-23 20:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes the missing macro issue (627 bytes, patch)
2011-02-17 19:08 UTC, Sebastian
none Details | Review

Description Tobias Mueller 2011-01-29 15:29:36 UTC
I tried to build NetworkManager with JHBuild, but it fails:

*** Configuring NetworkManager *** [41/81]
./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64' --with-udev-dir=/opt/gnome2/lib64/udev --with-systemdsystemunitdir=no --with-crypto=gnutls --disable-wimax --disable-static --disable-scrollkeeper --disable-gtk-doc --enable-gtk-doc=no 
callouts/Makefile.am:72: `%'-style pattern rules are a GNU make extension
docs/Makefile.am:25: wildcard $(top_srcdir: non-POSIX variable name
docs/Makefile.am:25: (probably a GNU make extension)
libnm-glib/Makefile.am:51: Libtool library used but `LIBTOOL' is undefined
libnm-glib/Makefile.am:51:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libnm-glib/Makefile.am:51:   to `configure.ac' and run `aclocal' and `autoconf' again.
libnm-glib/Makefile.am:51:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
libnm-glib/Makefile.am:51:   its definition is in aclocal's search path.
libnm-util/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
libnm-util/Makefile.am:5:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libnm-util/Makefile.am:5:   to `configure.ac' and run `aclocal' and `autoconf' again.
libnm-util/Makefile.am:5:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
libnm-util/Makefile.am:5:   its definition is in aclocal's search path.
marshallers/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
marshallers/Makefile.am:1:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
marshallers/Makefile.am:1:   to `configure.ac' and run `aclocal' and `autoconf' again.
marshallers/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
marshallers/Makefile.am:1:   its definition is in aclocal's search path.
src/Makefile.am:47: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:47:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:47:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:47:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/Makefile.am:47:   its definition is in aclocal's search path.
src/backends/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/backends/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/backends/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/backends/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/backends/Makefile.am:8:   its definition is in aclocal's search path.
src/bluez-manager/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/bluez-manager/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/bluez-manager/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/bluez-manager/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/bluez-manager/Makefile.am:10:   its definition is in aclocal's search path.
src/dhcp-manager/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
src/dhcp-manager/Makefile.am:11:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/dhcp-manager/Makefile.am:11:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/dhcp-manager/Makefile.am:11:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/dhcp-manager/Makefile.am:11:   its definition is in aclocal's search path.
src/dns-manager/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/dns-manager/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/dns-manager/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/dns-manager/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/dns-manager/Makefile.am:7:   its definition is in aclocal's search path.
src/dnsmasq-manager/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/dnsmasq-manager/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/dnsmasq-manager/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/dnsmasq-manager/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/dnsmasq-manager/Makefile.am:7:   its definition is in aclocal's search path.
src/ip6-manager/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/ip6-manager/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/ip6-manager/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/ip6-manager/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/ip6-manager/Makefile.am:9:   its definition is in aclocal's search path.
src/logging/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/logging/Makefile.am:1:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/logging/Makefile.am:1:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/logging/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/logging/Makefile.am:1:   its definition is in aclocal's search path.
src/modem-manager/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/modem-manager/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/modem-manager/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/modem-manager/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/modem-manager/Makefile.am:8:   its definition is in aclocal's search path.
src/ppp-manager/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/ppp-manager/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/ppp-manager/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/ppp-manager/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/ppp-manager/Makefile.am:9:   its definition is in aclocal's search path.
src/supplicant-manager/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/supplicant-manager/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/supplicant-manager/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/supplicant-manager/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/supplicant-manager/Makefile.am:10:   its definition is in aclocal's search path.
src/system-settings/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/system-settings/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/system-settings/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/system-settings/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/system-settings/Makefile.am:9:   its definition is in aclocal's search path.
src/vpn-manager/Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
src/vpn-manager/Makefile.am:12:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/vpn-manager/Makefile.am:12:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/vpn-manager/Makefile.am:12:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/vpn-manager/Makefile.am:12:   its definition is in aclocal's search path.
src/wimax/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/wimax/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/wimax/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/wimax/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/wimax/Makefile.am:8:   its definition is in aclocal's search path.
system-settings/plugins/ifcfg-rh/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
system-settings/plugins/ifcfg-rh/Makefile.am:11:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
system-settings/plugins/ifcfg-rh/Makefile.am:11:   to `configure.ac' and run `aclocal' and `autoconf' again.
system-settings/plugins/ifcfg-rh/Makefile.am:11:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
system-settings/plugins/ifcfg-rh/Makefile.am:11:   its definition is in aclocal's search path.
system-settings/plugins/ifcfg-suse/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
system-settings/plugins/ifcfg-suse/Makefile.am:2:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
system-settings/plugins/ifcfg-suse/Makefile.am:2:   to `configure.ac' and run `aclocal' and `autoconf' again.
system-settings/plugins/ifcfg-suse/Makefile.am:2:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
system-settings/plugins/ifcfg-suse/Makefile.am:2:   its definition is in aclocal's search path.
system-settings/plugins/ifnet/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
system-settings/plugins/ifnet/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
system-settings/plugins/ifnet/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
system-settings/plugins/ifnet/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
system-settings/plugins/ifnet/Makefile.am:10:   its definition is in aclocal's search path.
system-settings/plugins/ifupdown/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
system-settings/plugins/ifupdown/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
system-settings/plugins/ifupdown/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
system-settings/plugins/ifupdown/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
system-settings/plugins/ifupdown/Makefile.am:9:   its definition is in aclocal's search path.
system-settings/plugins/keyfile/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
system-settings/plugins/keyfile/Makefile.am:11:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
system-settings/plugins/keyfile/Makefile.am:11:   to `configure.ac' and run `aclocal' and `autoconf' again.
system-settings/plugins/keyfile/Makefile.am:11:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
system-settings/plugins/keyfile/Makefile.am:11:   its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
*** Error during phase configure of NetworkManager: ########## Error running ./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64' --with-udev-dir=/opt/gnome2/lib64/udev --with-systemdsystemunitdir=no --with-crypto=gnutls --disable-wimax --disable-static --disable-scrollkeeper --disable-gtk-doc --enable-gtk-doc=no  *** [41/81]


It's a freshly cloned repository hence I expected it to work.
Comment 1 Sebastian 2011-02-03 12:25:03 UTC
The following article describes howto solve the problem:

http://comments.gmane.org/gmane.comp.gnome.love/2686

In autogen.sh replace:

gtkdocize || exit 1
autoreconf --install --symlink &&
intltoolize --force &&
autoreconf &&
./configure --enable-maintainer-mode $@

with this:

. gnome-autogen.sh


How this helps you. Personally I considere this a bug.
Comment 2 Sebastian 2011-02-03 12:25:55 UTC
request to mark this bug as confirmed.
Comment 3 Sebastian 2011-02-07 08:19:50 UTC
By chance I just saw this commit, might be a related problem?
http://git.gnome.org/browse/gnome-menus/commit/?id=9792ac69297dc003f5ba4d9461e15874ac1a6908

-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
Comment 4 Sebastian 2011-02-17 19:08:09 UTC
Created attachment 181161 [details] [review]
Fixes the missing macro issue
Comment 5 Dan Williams 2011-02-22 00:02:18 UTC
We used to use gnome-autogen.sh.  But gnome-autogen.sh requires having gnome-common installed, and the NetworkManager core daemon does not require GNOME and should not require GNOME stuff (only glib) to build.  Thus we cannot use gnome-autogen.sh.

But it currently works for me in jhbuild.  What versions of the various tools do you have?  Mine are:

automake-1.11.1-5.fc14.noarch
autoconf-2.68-2.fc15.noarch
intltool-0.41.1-2.fc15.noarch
libtool-2.4-4.fc15.x86_64

it could be that some older versions of these tools need workarounds?

Alternatively, perhaps the "gtkdocize" check in autogen.sh is wrong if you don't have gtkdoc installed?  If you install gtkdoc, do things work?
Comment 6 Tobias Mueller 2011-02-23 12:30:49 UTC
[jhbuild] muelli@bigbox ~/svn/gnome2/NetworkManager $ exit

  [1] Rerun phase build
  [2] Ignore error and continue to install
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "configure"
  [8] Go to phase "clean"
  [9] Go to phase "distclean"
choice: 6
Type "yes" to confirm the action: yes
*** Checking out NetworkManager *** [21/21]
rm -rf /home/muelli/svn/gnome2/NetworkManager
git clone git://anongit.freedesktop.org/git/NetworkManager/NetworkManager.git NetworkManager
Cloning into NetworkManager...
remote: Counting objects: 46961, done.
remote: Compressing objects: 100% (14098/14098), done.
remote: Total 46961 (delta 38077), reused 40060 (delta 32767)
Receiving objects: 100% (46961/46961), 12.15 MiB | 2.49 MiB/s, done.
Resolving deltas: 100% (38077/38077), done.
git pull --rebase
Current branch master is up to date.
*** Configuring NetworkManager *** [21/21]
./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64' --with-udev-dir=/opt/gnome2/lib64/udev --with-systemdsystemunitdir=no --with-crypto=gnutls --disable-wimax --disable-static --enable-maintainer-mode --disable-scrollkeeper --disable-gtk-doc --disable-docs 
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
/opt/gnome2/share/aclocal/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:458: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:458: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:21: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:5522: error: possibly undefined macro: AM_NLS
autoreconf: /usr/bin/autoconf failed with exit status: 1
*** Error during phase configure of NetworkManager: ########## Error running ./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64' --with-udev-dir=/opt/gnome2/lib64/udev --with-systemdsystemunitdir=no --with-crypto=gnutls --disable-wimax --disable-static --enable-maintainer-mode --disable-scrollkeeper --disable-gtk-doc --disable-docs  *** [21/21]

  [1] Rerun phase configure
  [2] Ignore error and continue to build
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice: 4
exit shell to continue with build
[jhbuild] muelli@bigbox ~/svn/gnome2/NetworkManager $ autoconf --version; make --version; intltoolize --version; libtool --version;  automake --version
autoconf (GNU Autoconf) 2.66
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David J. MacKenzie and Akim Demaille.
GNU Make 3.82
Built for x86_64-redhat-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
intltoolize (GNU intltool) 0.41.1
libtool (GNU libtool) 2.2.10
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2010 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.
automake (GNU automake) 1.10.3
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.

[jhbuild] muelli@bigbox ~/svn/gnome2/NetworkManager $ gtkdocize --version
gtkdocize (gtk-doc) 1.16.1
[jhbuild] muelli@bigbox ~/svn/gnome2/NetworkManager $ 



Note that I jhbuild bootstrapped. Hence I expected these versions to work.
Otherwise, I have a normal F14 setup.

It also fails after removing the gtkdocize call from autogen:
*** Configuring NetworkManager *** [21/21]
./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64' --with-udev-dir=/opt/gnome2/lib64/udev --with-systemdsystemunitdir=no --with-crypto=gnutls --disable-wimax --disable-static --enable-maintainer-mode --disable-scrollkeeper --disable-gtk-doc --disable-docs 
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
/opt/gnome2/share/aclocal/intltool.m4:27: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:458: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:458: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:458: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:65: warning: AM_NLS is m4_require'd but not m4_defun'd
aclocal.m4:458: IT_PROG_INTLTOOL is expanded from...
configure.ac:65: the top level
configure.ac:19: installing `./compile'
configure.ac:4: installing `./install-sh'
configure.ac:4: installing `./missing'
callouts/Makefile.am:72: `%'-style pattern rules are a GNU make extension
callouts/Makefile.am: installing `./depcomp'
docs/api/Makefile.am:27: wildcard $(top_srcdir: non-POSIX variable name
docs/api/Makefile.am:27: (probably a GNU make extension)
libnm-glib/Makefile.am:57: Libtool library used but `LIBTOOL' is undefined
libnm-glib/Makefile.am:57:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libnm-glib/Makefile.am:57:   to `configure.ac' and run `aclocal' and `autoconf' again.
libnm-glib/Makefile.am:57:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
libnm-glib/Makefile.am:57:   its definition is in aclocal's search path.
libnm-util/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined
libnm-util/Makefile.am:5:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
libnm-util/Makefile.am:5:   to `configure.ac' and run `aclocal' and `autoconf' again.
libnm-util/Makefile.am:5:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
libnm-util/Makefile.am:5:   its definition is in aclocal's search path.
marshallers/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
marshallers/Makefile.am:1:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
marshallers/Makefile.am:1:   to `configure.ac' and run `aclocal' and `autoconf' again.
marshallers/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
marshallers/Makefile.am:1:   its definition is in aclocal's search path.
src/Makefile.am:45: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:45:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:45:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:45:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/Makefile.am:45:   its definition is in aclocal's search path.
src/backends/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/backends/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/backends/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/backends/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/backends/Makefile.am:8:   its definition is in aclocal's search path.
src/bluez-manager/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/bluez-manager/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/bluez-manager/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/bluez-manager/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/bluez-manager/Makefile.am:10:   its definition is in aclocal's search path.
src/dhcp-manager/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
src/dhcp-manager/Makefile.am:11:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/dhcp-manager/Makefile.am:11:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/dhcp-manager/Makefile.am:11:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/dhcp-manager/Makefile.am:11:   its definition is in aclocal's search path.
src/dns-manager/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/dns-manager/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/dns-manager/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/dns-manager/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/dns-manager/Makefile.am:7:   its definition is in aclocal's search path.
src/dnsmasq-manager/Makefile.am:7: Libtool library used but `LIBTOOL' is undefined
src/dnsmasq-manager/Makefile.am:7:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/dnsmasq-manager/Makefile.am:7:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/dnsmasq-manager/Makefile.am:7:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/dnsmasq-manager/Makefile.am:7:   its definition is in aclocal's search path.
src/ip6-manager/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/ip6-manager/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/ip6-manager/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/ip6-manager/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/ip6-manager/Makefile.am:9:   its definition is in aclocal's search path.
src/logging/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined
src/logging/Makefile.am:1:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/logging/Makefile.am:1:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/logging/Makefile.am:1:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/logging/Makefile.am:1:   its definition is in aclocal's search path.
src/modem-manager/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/modem-manager/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/modem-manager/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/modem-manager/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/modem-manager/Makefile.am:8:   its definition is in aclocal's search path.
src/ppp-manager/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/ppp-manager/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/ppp-manager/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/ppp-manager/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/ppp-manager/Makefile.am:9:   its definition is in aclocal's search path.
src/settings/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/settings/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/settings/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/settings/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/settings/Makefile.am:10:   its definition is in aclocal's search path.
src/settings/plugins/ifcfg-rh/Makefile.am:11: Libtool library used but `LIBTOOL' is undefined
src/settings/plugins/ifcfg-rh/Makefile.am:11:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/settings/plugins/ifcfg-rh/Makefile.am:11:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/settings/plugins/ifcfg-rh/Makefile.am:11:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/settings/plugins/ifcfg-rh/Makefile.am:11:   its definition is in aclocal's search path.
src/settings/plugins/ifcfg-suse/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/settings/plugins/ifcfg-suse/Makefile.am:2:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/settings/plugins/ifcfg-suse/Makefile.am:2:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/settings/plugins/ifcfg-suse/Makefile.am:2:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/settings/plugins/ifcfg-suse/Makefile.am:2:   its definition is in aclocal's search path.
src/settings/plugins/ifnet/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/settings/plugins/ifnet/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/settings/plugins/ifnet/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/settings/plugins/ifnet/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/settings/plugins/ifnet/Makefile.am:10:   its definition is in aclocal's search path.
src/settings/plugins/ifupdown/Makefile.am:9: Libtool library used but `LIBTOOL' is undefined
src/settings/plugins/ifupdown/Makefile.am:9:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/settings/plugins/ifupdown/Makefile.am:9:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/settings/plugins/ifupdown/Makefile.am:9:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/settings/plugins/ifupdown/Makefile.am:9:   its definition is in aclocal's search path.
src/settings/plugins/keyfile/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/settings/plugins/keyfile/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/settings/plugins/keyfile/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/settings/plugins/keyfile/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/settings/plugins/keyfile/Makefile.am:8:   its definition is in aclocal's search path.
src/supplicant-manager/Makefile.am:10: Libtool library used but `LIBTOOL' is undefined
src/supplicant-manager/Makefile.am:10:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/supplicant-manager/Makefile.am:10:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/supplicant-manager/Makefile.am:10:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/supplicant-manager/Makefile.am:10:   its definition is in aclocal's search path.
src/vpn-manager/Makefile.am:12: Libtool library used but `LIBTOOL' is undefined
src/vpn-manager/Makefile.am:12:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/vpn-manager/Makefile.am:12:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/vpn-manager/Makefile.am:12:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/vpn-manager/Makefile.am:12:   its definition is in aclocal's search path.
src/wimax/Makefile.am:8: Libtool library used but `LIBTOOL' is undefined
src/wimax/Makefile.am:8:   The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/wimax/Makefile.am:8:   to `configure.ac' and run `aclocal' and `autoconf' again.
src/wimax/Makefile.am:8:   If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/wimax/Makefile.am:8:   its definition is in aclocal's search path.
Makefile.am: installing `./INSTALL'
autoreconf: automake failed with exit status: 1
*** Error during phase configure of NetworkManager: ########## Error running ./autogen.sh --prefix /opt/gnome2 --libdir '/opt/gnome2/lib64' --with-udev-dir=/opt/gnome2/lib64/udev --with-systemdsystemunitdir=no --with-crypto=gnutls --disable-wimax --disable-static --enable-maintainer-mode --disable-scrollkeeper --disable-gtk-doc --disable-docs  *** [21/21]

  [1] Rerun phase configure
  [2] Ignore error and continue to force_checkout
  [3] Give up on module
  [4] Start shell
  [5] Reload configuration
  [6] Go to phase "wipe directory and start over"
  [7] Go to phase "clean"
  [8] Go to phase "distclean"
choice:
Comment 7 Dan Williams 2011-02-23 16:54:22 UTC
Can you give it another shot now?  I've added the makefile bits to preserve aclocal flags.  Please make sure to wipe the dir and check  out again.  Thanks!
Comment 8 Tobias Mueller 2011-02-23 17:13:51 UTC
Configure works fine now! \o/
Comment 9 Sebastian 2011-02-23 20:13:43 UTC
I wiped the NetworkManager dir and had jhbuild checkout the latest git repo. The configure bug seems to be fixed now.
 
Thanks