Discussion:
[Thinkfinger-devel] Revision 25: ./autogen.sh doesn't find config.h.in
Luca Capello
2007-01-23 21:45:28 UTC
Permalink
Hello,

revision 25 adds the following line to configure.in

28: AM_CONFIG_HEADER(config.h)

The problem is that config.h.in isn't present in SVN, thus resulting
in the following errors:
=====
***@gismo:~/thinkfinger$ svn update
At revision 31.

***@gismo:~/thinkfinger$ ./autogen.sh
You should add the contents of `/usr/share/aclocal/libtool.m4' to \
`aclocal.m4'.
configure.in:29: installing `./missing'
configure.in:29: installing `./install-sh'
libthinkfinger/Makefile.am: installing `./depcomp'
pam/Makefile.am:6: compiling `pam_thinkfinger.c' with per-target \
flags requires `AM_PROG_CC_C_O' in `configure.in'
configure.in:28: required file `config.h.in' not found

***@gismo:~/thinkfinger$ configure
[...]
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in

***@gismo:~/thinkfinger$
=====

Thx, bye,
Gismo / Luca
Timo Hoenig
2007-01-23 22:52:45 UTC
Permalink
Hi,
Post by Luca Capello
revision 25 adds the following line to configure.in
You should have been waiting for revision 35 ;-)
Post by Luca Capello
28: AM_CONFIG_HEADER(config.h)
The problem is that config.h.in isn't present in SVN, thus resulting
<snip>

config.h.in is being generated. It must not be in SVN.

The invocation of autoheader in autogen.sh was just a little late.

Thanks,

Timo
Luca Capello
2007-01-23 23:17:14 UTC
Permalink
Hi Timo!
Post by Timo Hoenig
Post by Luca Capello
revision 25 adds the following line to configure.in
You should have been waiting for revision 35 ;-)
Sure?
=====
***@gismo:~/thinkfinger$ svn update
U tf-tool/tf-tool.c
U INSTALL
U autogen.sh
U pam/pam_thinkfinger.c
Updated to revision 35.

***@gismo:~/thinkfinger$ ./autogen.sh
You should add the contents of `/usr/share/aclocal/libtool.m4' to \
`aclocal.m4'.
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
configure.in:29: installing `./missing'
configure.in:29: installing `./install-sh'
libthinkfinger/Makefile.am: installing `./depcomp'
pam/Makefile.am:6: compiling `pam_thinkfinger.c' with per-target \
flags requires `AM_PROG_CC_C_O' in `configure.in'
configure.in:28: required file `config.h.in' not found

***@gismo:~/thinkfinger$
=====

My tools:

- libtool 1.5.22
- aclocal|automake 1.10
- autoconf 2.61
Post by Timo Hoenig
Post by Luca Capello
28: AM_CONFIG_HEADER(config.h)
The problem is that config.h.in isn't present in SVN, thus resulting
<snip>
config.h.in is being generated. It must not be in SVN.
Thank you for the info.

BTW, I'm now also on #***@irc.freenode.net, in case of.

Thx, bye,
Gismo / Luca
Timo Hoenig
2007-01-23 23:37:34 UTC
Permalink
Hey Luca,
Post by Luca Capello
Post by Timo Hoenig
Post by Luca Capello
revision 25 adds the following line to configure.in
You should have been waiting for revision 35 ;-)
Sure?
At least r35 fixed the previous error.
Post by Luca Capello
=====
U tf-tool/tf-tool.c
U INSTALL
U autogen.sh
U pam/pam_thinkfinger.c
Updated to revision 35.
You should add the contents of `/usr/share/aclocal/libtool.m4' to \
`aclocal.m4'.
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
configure.in:29: installing `./missing'
configure.in:29: installing `./install-sh'
libthinkfinger/Makefile.am: installing `./depcomp'
pam/Makefile.am:6: compiling `pam_thinkfinger.c' with per-target \
flags requires `AM_PROG_CC_C_O' in `configure.in'
configure.in:28: required file `config.h.in' not found
This is something different, should be fixed with r36 ;-)

Timo

Loading...