[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:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
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
| http://sources.redhat.com/automake/automake.html#Extending-aclocal
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
"AC_DEFUN([AM_CHECK_PYMOD],..."
| Running /usr/local/bin/autoconf-2.61...
| configure.ac:205: warning: AM_PATH_PYTHON is m4_require'd but not m4_defun'd
| m4/python.m4:42: AM_CHECK_PYTHON_HEADERS is expanded from...
| configure.ac:205: 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
namespace).
| configure.ac:24: 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.
| configure.ac:26: error: possibly undefined macro: AM_MAINTAINER_MODE
| configure.ac:28: 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 configure.ac 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:
AC_DEFINE([GEDIT_MAJOR_VERSION],...)
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHyUov84KuGfSFAYARAhu4AJ9dyOE0xzkGroFrtXGFpUE8HZidDQCgnAit
mcLi6rAwI/Hb7nXqquNeZGs=
=s7dA
-----END PGP SIGNATURE-----
- Re: autoconf 2.56,
Eric Blake <=