[OE-core] autoconf broken? (was [oe] gtk+-native configure fails)

Andreas Müller schnitzeltony at googlemail.com
Thu Jul 26 11:24:46 UTC 2012


On Wed, Jul 25, 2012 at 5:43 PM, Henning Heinold
<heinold at inf.fu-berlin.de> wrote:
> On Wed, Jul 25, 2012 at 01:47:03PM +0200, Andreas Müller wrote:
>> Ciao,
>>
>> with the latest sources gtk+-nataive (and maybe also gtk+ - but I
>> don't get that far) configure fails with
>>
>> | configure.in:1587: warning: PKG_PROG_PKG_CONFIG is m4_require'd but
>> not m4_defun'd
>> | aclocal.m4:1818: GTK_DOC_CHECK is expanded from...
>> | configure.in:1587: the top level
>> | configure.in:151: error: possibly undefined macro: dnl
>
> uhm,
>
> 'dnl' besides ';' was the comment sqeuenz. So this is odd and maybee changed in newer
> autotools versions.
>
>> |       If this token and others are legitimate, please use m4_pattern_allow.
>> |       See the Autoconf documentation.
>> | autoreconf: /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
>> failed with exit status: 1
>> | ERROR: autoreconf execution failed.
>> | ERROR: Function failed: do_configure (see
>> /home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/gtk+-native-2.24.8-r5/temp/log.do_configure.22156
>> for further information)
>>
>> Supporting hints welcome :-)
>>
>> Andreas
>
> Bye Henning
>

I think it is not gtk+-native specific but some autoconf trouble. I
tried a build from scratch and get:

| configure.ac:171: warning: macro 'AM_PATH_GLIB_2_0' not found in library
| configure.ac:195: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
| autoreconf: running:
/home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
--include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/m4/
--include=/home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
--include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/aclocal-copy/
--force --warnings=cross
| configure.ac:171: error: possibly undefined macro: AM_PATH_GLIB_2_0
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.
| configure.ac:195: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
| autoreconf: /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
failed with exit status: 1
| ERROR: autoreconf execution failed.
| ERROR: Function failed: do_configure (see
/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/temp/log.do_configure.24422
for further information)
NOTE: package atk-native-2.2.0-r3: task do_configure: Failed

| configure.ac:171: warning: macro 'AM_PATH_GLIB_2_0' not found in library
| configure.ac:195: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
| autoreconf: running:
/home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
--include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/m4/
--include=/home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/share/aclocal-1.12
--include=/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/atk-2.2.0/aclocal-copy/
--force --warnings=cross
| configure.ac:171: error: possibly undefined macro: AM_PATH_GLIB_2_0
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.
| configure.ac:195: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
| autoreconf: /home/andreas/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/autoconf
failed with exit status: 1
| ERROR: autoreconf execution failed.
| ERROR: Function failed: do_configure (see
/home/andreas/tmp/oe-core-eglibc/work/x86_64-linux/atk-native-2.2.0-r3/temp/log.do_configure.24422
for further information)
NOTE: package atk-native-2.2.0-r3: task do_configure: Failed

Suggestions?

Andreas




More information about the Openembedded-core mailing list