[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf 2.56

From: Eric Blake
Subject: Re: autoconf 2.56
Date: Sat, 01 Mar 2008 05:21:03 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080213 Thunderbird/ Mnenhy/

Hash: SHA1

According to Steven Zimmer on 2/29/2008 4:11 PM:

Hello Steven,

| I'm having some problems with Autoconf. I'm not sure if it's syntax
| related or i'm missing some packages. I'm attempting to build gEdit on
| Windows and i've hit a bit of a road block here is there that is
| happening:

I think you are hitting a combination of problems...

| Running /usr/local/bin/aclocal-1.10...
| acinclude.m4:65: the serial number must appear before any macro definition
| acinclude.m4:90: the serial number must appear before any macro definition

These are just warnings, but the fix is to reorder the '#serial' lines in
acinclude.m4 to appear before any AC_DEFUN.

| m4/python.m4:4: warning: underquoted definition of AM_CHECK_PYMOD
| m4/python.m4:4:   run info '(automake)Extending aclocal'
| m4/python.m4:4:   or see

This is a bug in the package that provided AM_CHECK_PYMOD.  I'm not sure
which package that is (the AM_* namespace was meant to imply automake, but
many third-party packages pollute automake's namespace).  But it can
likewise be fixed by following the advice in the manual; basically, find
which file does "AC_DEFUN(AM_CHECK_PYMOD,..." and change it to

| Running /usr/local/bin/autoconf-2.61...
| warning: AM_PATH_PYTHON is m4_require'd but not m4_defun'd
| m4/python.m4:42: AM_CHECK_PYTHON_HEADERS is expanded from...
| the top level

That could either be fallout from the broken AM_CHECK_PYMOD macro
definition, or because you are missing a development package that provides
the AM_CHECK_PYTHON_HEADERS (again, someone stepped on the automake

| error: possibly undefined macro: AM_INIT_AUTOMAKE
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.

This one sounds like you don't have auotmake installed properly.

| error: possibly undefined macro: AM_MAINTAINER_MODE
| error: possibly undefined macro: AC_DISABLE_STATIC

And this one sounds like you don't have libtool installed properly
(another case of namespace pollution, but at least newer versions of
libtool have renamed it to the LT_ namespace).

| here is the the first 100 lines of the file:
| AC_PREREQ(2.59)

Your subject line is misleading then.  Your file won't work without at
least autoconf 2.59 (not 2.56)...

| AC_DEFINE(GEDIT_MAJOR_VERSION, gedit_major_version, [Gedit major version])

Please report this underquotation bug to the gedit package - that should be:


- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


reply via email to

[Prev in Thread] Current Thread [Next in Thread]