bug-bison
[Top][All Lists]
Advanced

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

Re: configure missing files


From: Akim Demaille
Subject: Re: configure missing files
Date: Wed, 27 Jan 2010 14:22:12 +0100

Le 22 janv. 2010 à 07:40, Joel E. Denny a écrit :

> On Fri, 22 Jan 2010, tys lefering wrote:
> 
>> after getting version from git from today and doing bootstrap/configure
>> and update to newest automake from git 'automake (GNU automake) 1.11a'
>> getting at several stages errors in configure:
> 
>> attached the bootstrap stdout/stderr logs.
> 
>> configure.ac:121: warning: gl_AC_HEADER_INTTYPES_H is m4_require'd but not 
>> m4_defun'd
>> m4/printf.m4:11: gl_PRINTF_SIZES_C99 is expanded from...
>> m4/fprintf-posix.m4:7: gl_FUNC_FPRINTF_POSIX is expanded from...
>> m4/gnulib-comp.m4:37: gl_INIT is expanded from...
>> configure.ac:121: the top level
>> m4/intmax_t.m4:36: gt_AC_TYPE_INTMAX_T is expanded from...
>> m4/vasnprintf.m4:41: gl_PREREQ_PRINTF_PARSE is expanded from...
>> m4/vasnprintf.m4:15: gl_REPLACE_VASNPRINTF is expanded from...
>> configure.ac:121: warning: AM_LANGINFO_CODESET is m4_require'd but not 
>> m4_defun'd
> 
> It looks like your automake installation isn't finding the system aclocal 
> directory.  For example, I had to create this sym link:
> 
>  /home/jdenny/installs/automake/1.11.1/share/aclocal -> /usr/share/aclocal

For some other project, I have written the following note, which may apply to 
your problem:

** Autoconf 2.63 or later
** Automake 1.10.2 or later
Note that if you have to install automake by hand (as opposed by "with
your distro's system), you have to tell its aclocal that it should
also look at the files from the system's aclocal.  If
/usr/local/bin/aclocal is the one you just installed, and
/usr/bin/aclocal is the system's one, them run something like this:

  dirlist=$(/usr/local/bin/aclocal --print-ac-dir)/dirlist
  sudo mkdir -p $(dirname $dirlist)
  sudo /usr/bin/aclocal --print-ac-dir >>$dirlist

package: autoconf automake

[...]

** AM_LANGINFO_CODESET

If at bootstrap you have something like:

  configure:12176: error: possibly undefined macro: AM_LANGINFO_CODESET
   If this token and others are legitimate, please use m4_pattern_allow.
   See the Autoconf documentation.
  configure:12246: error: possibly undefined macro: gl_GLIBC21

it probably means your Automake installation is incomplete.  See the
Automake item in the bootstrap section above.





reply via email to

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