Autotools problems

Luchezar Petkov luchezar.petkov at gmail.com
Mon Jun 19 17:09:00 UTC 2006


From: Luchezar Petkov <luchezar.petkov at gmail.com>
To: FreeBSD-Questions <freebsd-questions at freebsd.org>
Cc:
Bcc:
Subject: Autotools problems.
Reply-To:

Hi, list.
I'm trying to install Enlightenment DR17 from CVS, but I have some problems.
I've tryed with the Configgen utility (devel/configgen) but I still
have problems. The strange is, that some of the libraries are
compilling fine, and some aren't.
And no, the code is NOT broken. Be sure. Here is some output.
----
EVAS (using Configgen):
----
 ~/src/e/e17/libs/evas ] configgen.sh
 ===> Running aclocal...
 /usr/local/gnu-autotools/share/aclocal/audiofile.m4:12: warning:
underquoted definition of AM_PATH_AUDIOFILE
   run info '(automake)Extending aclocal'
     or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
     /usr/local/gnu-autotools/share/aclocal/ao.m4:9: warning:
underquoted definition of XIPH_PATH_AO
     /usr/local/share/aclocal/speex.m4:10: warning: underquoted
definition of XIPH_PATH_SPEEX
     /usr/local/share/aclocal/linc.m4:1: warning: underquoted
definition of AM_PATH_LINC
     /usr/local/share/aclocal/libmikmod.m4:11: warning: underquoted
definition of AM_PATH_LIBMIKMOD
     /usr/local/share/aclocal/libfame.m4:6: warning: underquoted
definition of AM_PATH_LIBFAME
     /usr/local/share/aclocal/glib.m4:8: warning: underquoted
definition of AM_PATH_GLIB
     /usr/local/share/aclocal/audiofile.m4:12: warning: underquoted
definition of AM_PATH_AUDIOFILE
/usr/local/share/aclocal/ao.m4:9: warning: underquoted definition of
XIPH_PATH_AO
/usr/local/share/aclocal/aalib.m4:12: warning: underquoted definition
of AM_PATH_AALIB
/usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition
of XMMS_TEST_VERSION
/usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition
of AM_PATH_XMMS
/usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
===> Running autoheader...
===> Running libtoolize...
===> Running automake...
===> Running autoconf...
configure.in:118: error: possibly undefined macro: AC_PATH_GENERIC
      If this token and others are legitimate, please use m4_pattern_allow.
            See the Autoconf documentation.
    configure.in:120: error: possibly undefined macro: AC_MSG_ERROR
===> Configure script created successfully

~/src/e/e17/libs/evas ] ./configure
[... normal ./configure-ing ...]
[...and.. BANG!]
checking for working alloca.h... no
checking for alloca... yes
./configure.lineno: 22121: Syntax error: word unexpected (expecting ")")
-------------------------------------
EVAS (Using ./autogen.sh)
It's fine! But... why isn't it working with Configgen?
It worked as a charm a month ago!
-----------------
ETK. Using Configgen.
--------
~/src/e/e17/proto/etk ] configgen.sh
===> Running aclocal...
/usr/local/gnu-autotools/share/aclocal/audiofile.m4:12: warning:
underquoted definition of AM_PATH_AUDIOFILE
  run info '(automake)Extending aclocal'
    or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
    /usr/local/gnu-autotools/share/aclocal/ao.m4:9: warning:
underquoted definition of XIPH_PATH_AO
    /usr/local/share/aclocal/speex.m4:10: warning: underquoted
definition of XIPH_PATH_SPEEX
    /usr/local/share/aclocal/linc.m4:1: warning: underquoted
definition of AM_PATH_LINC
    /usr/local/share/aclocal/libmikmod.m4:11: warning: underquoted
definition of AM_PATH_LIBMIKMOD
    /usr/local/share/aclocal/libfame.m4:6: warning: underquoted
definition of AM_PATH_LIBFAME
    /usr/local/share/aclocal/glib.m4:8: warning: underquoted
definition of AM_PATH_GLIB
    /usr/local/share/aclocal/audiofile.m4:12: warning: underquoted
definition of AM_PATH_AUDIOFILE
    /usr/local/share/aclocal/ao.m4:9: warning: underquoted definition
of XIPH_PATH_AO
/usr/local/share/aclocal/aalib.m4:12: warning: underquoted definition
of AM_PATH_AALIB
/usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition
of XMMS_TEST_VERSION
/usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition
of AM_PATH_XMMS
/usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of
AM_PATH_GTK
===> Running autoheader...
===> Running libtoolize...
===> Running automake...
Makefile.am:3: `intl' should not be in SUBDIRS when
AM_GNU_GETTEXT([external]) is used
===> Running autoconf...
configure.in:114: error: possibly undefined macro: AC_PATH_GENERIC
      If this token and others are legitimate, please use m4_pattern_allow.
       See the Autoconf documentation.
configure.in:128: error: possibly undefined macro: AC_MSG_ERROR
===> Configure script created successfully

~/src/e/e17/proto/etk ] ./configure
[normal ./configure-ing]
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
function: not found
./configure.lineno: arithmetic expression: syntax error: "  * 100  "
--
WHAT THE HELL?!
------------
ETK. Using ./autogen.sh
------------
 ~/src/e/e17/proto/etk ] ./autogen.sh
 Running aclocal...
 /usr/local/gnu-autotools/share/aclocal/audiofile.m4:12: warning:
underquoted definition of AM_PATH_AUDIOFILE
   run info '(automake)Extending aclocal'
     or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
     /usr/local/gnu-autotools/share/aclocal/ao.m4:9: warning:
underquoted definition of XIPH_PATH_AO
     Running autoheader...
     Running autoconf...
     Running libtoolize...
     Running automake...
     Makefile.am:3: `intl' should not be in SUBDIRS when
AM_GNU_GETTEXT([external]) is used
     Generating gettext etk.pot template

./configure :: the same thing (function: not found
./configure.lineno: arithmetic expression: syntax error: "  * 100  ")

Please, help.

---
Luchezar P. Petkov


More information about the freebsd-questions mailing list