GConf-dbus configure failure
Submitted by yuhang111 on Fri, 2006-08-04 08:06.
Sir:
when I run autogen, it fail. There cannot find config.h.in file.
How can I pass to build gconf? can you help me?
Thanks!

The error
debian:/home/gaoqiang/gconf-dbus# aclocal -I m4
aclocal: configure.in: 0: macro `AM_LC_MESSAGES' not found in library
debian:/home/gaoqiang/gconf-dbus# autoconf
configure.in:5: error: possibly undefined macro: AM_CONFIG_HEADER
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:7: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.in:9: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.in:14: error: possibly undefined macro: AM_PROG_CC_STDC
configure.in:17: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.in:126: error: possibly undefined macro: AM_CONDITIONAL
configure.in:194: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
debian:/home/gaoqiang/gconf-dbus# ./autogen.sh
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 .
Creating ./aclocal.m4 ...
Running gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.
Making ./aclocal.m4 writable ...
Running libtoolize...
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Running gtkdocize...
Running aclocal ...
aclocal: configure.in: 0: macro `AM_LC_MESSAGES' not found in library
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
autoheader: error: AC_CONFIG_HEADERS not found in configure.in
Running automake --gnu ...
configure.in: 5: required file `./config.h.in' not found
gconf/Makefile.am:130: variable `INTLLIBS' not defined
gconf/Makefile.am:130: variable `GCONF_IPC_LIBS' not defined
gconf/Makefile.am:91: variable `INTLLIBS' not defined
gconf/Makefile.am:91: variable `GCONF_IPC_LIBS' not defined
gconf/Makefile.am:82: variable `INTLLIBS' not defined
gconf/Makefile.am:82: variable `GCONF_IPC_LIBS' not defined
gconf/Makefile.am:101: variable `INTLLIBS' not defined
gconf/Makefile.am:101: variable `GCONF_IPC_LIBS' not defined
doc/gconf/Makefile.am:80: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
doc/gconf/Makefile.am:161: ENABLE_GTK_DOC does not appear in AM_CONDITIONAL
examples/Makefile.am:15: variable `INTLLIBS' not defined
examples/Makefile.am:15: variable `INTLLIBS' not defined
examples/Makefile.am:15: variable `INTLLIBS' not defined
examples/Makefile.am:15: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
tests/Makefile.am:10: variable `INTLLIBS' not defined
Running autoconf ...
Running ./configure --enable-maintainer-mode --enable-compile-warnings ...
./configure: line 1316: syntax error near unexpected token `config.h'
./configure: line 1316: `AM_CONFIG_HEADER(config.h)'
Hi, From what I can see, you
Hi,
From what I can see, you are missing a lot of developement packages. If you are using debian or an debian based distro, you can do:
apt-get install build-essential
for get most of them. I'm not sure it gets everything you need, you might also need to install more packages.