chaos / genders

Genders is a static cluster configuration database used for cluster configuration management. It is used by a variety of tools and scripts for management of large clusters.
GNU General Public License v2.0
35 stars 12 forks source link

can't run autoconf --force #32

Closed Alessandro-Barbieri closed 5 years ago

Alessandro-Barbieri commented 5 years ago

In version 1-26-1

***** autoconf *****
***** PWD: /var/tmp/portage/sys-cluster/genders-1.26.1/work/genders-genders-1-26-1
***** autoconf --force

configure.ac:11: error: possibly undefined macro: AC_META
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:89: error: possibly undefined macro: AC_DEBUG
configure.ac:155: error: possibly undefined macro: AC_GENDERS_FILE
configure.ac:160: error: possibly undefined macro: AC_EXTENSION_DESTDIR
configure.ac:165: error: possibly undefined macro: AC_PERL_EXTENSIONS
configure.ac:177: error: possibly undefined macro: AC_PERL_SITE_ARCH
configure.ac:178: error: possibly undefined macro: AC_PERL_VENDOR_ARCH
configure.ac:194: error: possibly undefined macro: AC_PYTHON_EXTENSIONS
configure.ac:200: error: possibly undefined macro: AC_CPLUSPLUS_EXTENSIONS
configure.ac:206: error: possibly undefined macro: AC_JAVA_EXTENSIONS
chu11 commented 5 years ago

are you running autogen.sh? or doing this by hand?

Alessandro-Barbieri commented 5 years ago

I'm doing it manually

chu11 commented 5 years ago

I'm assuming you didn't do some necessary prerequisite steps like aclocal -I config, which is in the autogen.sh script. Try running that.

Alessandro-Barbieri commented 5 years ago

I have run (not actually me but the gentoo build system)

libtoolize --install --copy --force --automake
aclocal
autoconf --force

Running autogen.sh will work but with warnings about the same macros

chu11 commented 5 years ago

I believe the issue is aclocal needs the -I config line, otherwise it can't find certain macros.

I assume things are working now, so closing this issue.