Discussion:
[brutus-keyring] compile weirdness
Luis Correia
2009-04-07 08:22:15 UTC
Permalink
Hi,

a very short while ago I was able to compile this module, but not now.

Starting off by getting it all out of SVN:

svn up
./autogen
./configure
make

make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/brutus-keyring'

Is there something wrong?

Luis Correia
Jules Colding
2009-04-07 08:55:50 UTC
Permalink
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but not now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
that by hand. Try doing:

./autogen.sh
make distclean
./autogen.sh
make

and tell me if that works.

Best,
jules
Luis Correia
2009-04-07 09:01:27 UTC
Permalink
Hi,

it seems that there is an error somewhere:

Hint:
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'

---------------------

[***@devel brutus-keyring]$ ./autogen.sh
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.59
checking for automake >= 1.6...
testing automake-1.6... found 1.6.3
checking for libtool >= 1.4.3...
testing libtoolize... found 1.5.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**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.

Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
keyring-test/Makefile.am: installing `./depcomp'


[***@devel brutus-keyring]$ make distclean
make: *** No rule to make target `distclean'. Stop.
[***@devel brutus-keyring]$


-------------------


Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but not now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'.  Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
./autogen.sh
make distclean
./autogen.sh
make
and tell me if that works.
Best,
  jules
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Luis Correia
2009-04-07 09:03:04 UTC
Permalink
btw, if it isn't clear, my goal is make RPM's out of it.

Luis
Post by Luis Correia
Hi,
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
---------------------
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
 testing autoconf2.50... not found.
 testing autoconf... found 2.59
checking for automake >= 1.6...
 testing automake-1.6... found 1.6.3
checking for libtool >= 1.4.3...
 testing libtoolize... found 1.5.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**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.
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
keyring-test/Makefile.am: installing `./depcomp'
make: *** No rule to make target `distclean'.  Stop.
-------------------
Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but not now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'.  Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
./autogen.sh
make distclean
./autogen.sh
make
and tell me if that works.
Best,
  jules
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Jules Colding
2009-04-07 09:15:47 UTC
Permalink
Hi Luis,
Post by Luis Correia
Hi,
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
Yes. It seems that you are using an older version of automake. I just
build RPM on rawhide and that worked just fine. Maybe you should try
changing line 31 in configure.in to AM_CONFIG_HEADER, re-run
autogen.sh and see if that makes your automake happy?

Best,
jules
Post by Luis Correia
---------------------
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.59
checking for automake >= 1.6...
testing automake-1.6... found 1.6.3
checking for libtool >= 1.4.3...
testing libtoolize... found 1.5.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**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.
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
keyring-test/Makefile.am: installing `./depcomp'
make: *** No rule to make target `distclean'. Stop.
-------------------
Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but not now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
./autogen.sh
make distclean
./autogen.sh
make
and tell me if that works.
Best,
jules
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Luis Correia
2009-04-07 10:11:49 UTC
Permalink
Hi,

it doesn't like AM_CONFIG_HEADERS as well.

Automake is version 1.6, I'm unsure if I want/need to upgrade it...

All other brutus related tools build without problems, why this doesn't?

Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi,
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
Yes. It seems that you are using an older version of automake. I just
build RPM on rawhide and that worked just fine. Maybe you should try
changing line 31 in configure.in to AM_CONFIG_HEADER, re-run
autogen.sh and see if that makes your automake happy?
Best,
  jules
Post by Luis Correia
---------------------
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
 testing autoconf2.50... not found.
 testing autoconf... found 2.59
checking for automake >= 1.6...
 testing automake-1.6... found 1.6.3
checking for libtool >= 1.4.3...
 testing libtoolize... found 1.5.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**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.
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
keyring-test/Makefile.am: installing `./depcomp'
make: *** No rule to make target `distclean'.  Stop.
-------------------
Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but not now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'.  Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
./autogen.sh
make distclean
./autogen.sh
make
and tell me if that works.
Best,
  jules
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Jules Colding
2009-04-07 10:19:18 UTC
Permalink
Post by Luis Correia
Hi,
it doesn't like AM_CONFIG_HEADERS as well.
Automake is version 1.6, I'm unsure if I want/need to upgrade it...
All other brutus related tools build without problems, why this doesn't?
Good question. I don't have any old automake 1.6 distros lying around
so I can't play with it.

Best,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi,
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
Yes. It seems that you are using an older version of automake. I just
build RPM on rawhide and that worked just fine. Maybe you should try
changing line 31 in configure.in to AM_CONFIG_HEADER, re-run
autogen.sh and see if that makes your automake happy?
Best,
jules
Post by Luis Correia
---------------------
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.59
checking for automake >= 1.6...
testing automake-1.6... found 1.6.3
checking for libtool >= 1.4.3...
testing libtoolize... found 1.5.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**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.
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
keyring-test/Makefile.am: installing `./depcomp'
make: *** No rule to make target `distclean'. Stop.
-------------------
Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but not now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
./autogen.sh
make distclean
./autogen.sh
make
and tell me if that works.
Best,
jules
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Luis Correia
2009-04-07 15:34:19 UTC
Permalink
Hi again,

even stranger is the fact that I do have a newer automake, but the
autogen script is not catching it...

In fact, raising the requirements for autogen.sh solves my problem :)
For me, the magic value is 1.8, anything less than that fails.

So, if a PATCH comes to mind, it would be like:
-----
Index: autogen.sh
===================================================================
--- autogen.sh (revision 113)
+++ autogen.sh (working copy)
@@ -5,7 +5,7 @@
test -z "$srcdir" && srcdir=.

PKG_NAME="brutus-keyring"
-REQUIRED_AUTOMAKE_VERSION=1.6
+REQUIRED_AUTOMAKE_VERSION=1.8

(test -f $srcdir/configure.in \
&& test -f $srcdir/Makefile.am \
-----

But of course, I'm not the only one around, so don't go and commit it
for everyone, get more feedback :)

Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
it doesn't like AM_CONFIG_HEADERS as well.
Automake is version 1.6, I'm unsure if I want/need to upgrade it...
All other brutus related tools build without problems, why this doesn't?
Good question. I don't have any old automake 1.6 distros lying around
so I can't play with it.
Best,
  jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi,
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
Yes. It seems that you are using an older version of automake. I just
build RPM on rawhide and that worked just fine. Maybe you should try
changing line 31 in configure.in to AM_CONFIG_HEADER, re-run
autogen.sh and see if that makes your automake happy?
Best,
  jules
Post by Luis Correia
---------------------
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
 testing autoconf2.50... not found.
 testing autoconf... found 2.59
checking for automake >= 1.6...
 testing automake-1.6... found 1.6.3
checking for libtool >= 1.4.3...
 testing libtoolize... found 1.5.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**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.
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
keyring-test/Makefile.am: installing `./depcomp'
make: *** No rule to make target `distclean'.  Stop.
-------------------
Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but not now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'.  Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
./autogen.sh
make distclean
./autogen.sh
make
and tell me if that works.
Best,
  jules
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Jules Colding
2009-04-08 09:29:31 UTC
Permalink
Hi Luis,
Post by Luis Correia
-----
Index: autogen.sh
===================================================================
--- autogen.sh (revision 113)
+++ autogen.sh (working copy)
@@ -5,7 +5,7 @@
test -z "$srcdir" && srcdir=.
PKG_NAME="brutus-keyring"
-REQUIRED_AUTOMAKE_VERSION=1.6
+REQUIRED_AUTOMAKE_VERSION=1.8
(test -f $srcdir/configure.in \
&& test -f $srcdir/Makefile.am \
-----
But of course, I'm not the only one around, so don't go and commit it
for everyone, get more feedback :)
The requirement for e-b is 1.8 so it doesn't make sense not to commit
your patch.

Applied.

Thanks,
jules
Post by Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
it doesn't like AM_CONFIG_HEADERS as well.
Automake is version 1.6, I'm unsure if I want/need to upgrade it...
All other brutus related tools build without problems, why this doesn't?
Good question. I don't have any old automake 1.6 distros lying around
so I can't play with it.
Best,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi,
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
Yes. It seems that you are using an older version of automake. I just
build RPM on rawhide and that worked just fine. Maybe you should try
changing line 31 in configure.in to AM_CONFIG_HEADER, re-run
autogen.sh and see if that makes your automake happy?
Best,
jules
Post by Luis Correia
---------------------
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
testing autoconf2.50... not found.
testing autoconf... found 2.59
checking for automake >= 1.6...
testing automake-1.6... found 1.6.3
checking for libtool >= 1.4.3...
testing libtoolize... found 1.5.22
Checking for required M4 macros...
Checking for forbidden M4 macros...
**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.
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
keyring-test/Makefile.am: installing `./depcomp'
make: *** No rule to make target `distclean'. Stop.
-------------------
Luis Correia
Post by Jules Colding
Post by Luis Correia
Hi,
a very short while ago I was able to compile this module, but
not
now.
svn up
./autogen
./configure
make
make distfiles
...
Processing ./configure.in
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4'
to
`aclocal.m4'.
Running aclocal-1.6...
Running autoconf...
Running autoheader...
Running automake-1.6...
configure.in:31: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
make[1]: Entering directory `/opt/brutus-keyring'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/brutus-keyring'
Is there something wrong?
Good question. BTW, autogen.sh runs configure so you don't need to do
./autogen.sh
make distclean
./autogen.sh
make
and tell me if that works.
Best,
jules
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Loading...