hi all: i'm try in myself centos6.2 server compiling guile. I've put the autoconf automake m4 libtool,update to last version And to attempt to change a few versions,still unchange same error.
[root@CentOS62 guile]# git clone git://git.sv.gnu.org/guile.git [root@CentOS62 guile]# git pull [root@CentOS62 guile]# cd guile [root@CentOS62 guile]# ./autogen.sh autoconf (GNU Autoconf) 2.69 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. automake (GNU automake) 1.13.4 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv2+: GNU GPL version 2 or later < http://gnu.org/licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Tom Tromey <tro...@redhat.com> and Alexandre Duret-Lutz <a...@gnu.org>. libtool (GNU libtool) 2.4.2 Written by Gordon Matzigkeit <g...@gnu.ai.mit.edu>, 1996 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. m4 (GNU M4) 1.4.17 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html >. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Rene' Seindal. flex 2.5.35 autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 /usr/local/share/aclocal/winsz.m4:5: warning: underquoted definition of AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL /usr/local/share/aclocal/winsz.m4:5: run info Automake 'Extending aclocal' /usr/local/share/aclocal/winsz.m4:5: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'. libtoolize: copying file `build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: copying file `m4/libtool.m4' libtoolize: copying file `m4/ltoptions.m4' libtoolize: copying file `m4/ltsugar.m4' libtoolize: copying file `m4/ltversion.m4' libtoolize: copying file `m4/lt~obsolete.m4' /usr/local/share/aclocal/winsz.m4:5: warning: underquoted definition of AM_HEADER_TIOCGWINSZ_NEEDS_SYS_IOCTL /usr/local/share/aclocal/winsz.m4:5: run info Automake 'Extending aclocal' /usr/local/share/aclocal/winsz.m4:5: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: running: /usr/local/bin/autoconf --force autoreconf: running: /usr/local/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing am/snarf:5: warning: AM_V_SNARF_$(V: non-POSIX recursive variable expansion guile-readline/Makefile.am:23: 'am/snarf' included from here am/snarf:6: warning: AM_V_SNARF_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion guile-readline/Makefile.am:23: 'am/snarf' included from here am/guilec:23: warning: AM_V_GUILEC_$(V: non-POSIX recursive variable expansion guile-readline/Makefile.am:24: 'am/guilec' included from here am/guilec:24: warning: AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion guile-readline/Makefile.am:24: 'am/guilec' included from here am/snarf:5: warning: AM_V_SNARF_$(V: non-POSIX recursive variable expansion libguile/Makefile.am:23: 'am/snarf' included from here am/snarf:6: warning: AM_V_SNARF_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion libguile/Makefile.am:23: 'am/snarf' included from here am/guilec:23: warning: AM_V_GUILEC_$(V: non-POSIX recursive variable expansion module/Makefile.am:22: 'am/guilec' included from here am/guilec:24: warning: AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion module/Makefile.am:22: 'am/guilec' included from here module/Makefile.am:38: warning: ':='-style assignments are not portable am/snarf:5: warning: AM_V_SNARF_$(V: non-POSIX recursive variable expansion test-suite/standalone/Makefile.am:23: 'am/snarf' included from here am/snarf:6: warning: AM_V_SNARF_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion test-suite/standalone/Makefile.am:23: 'am/snarf' included from here autoreconf: Leaving directory `.' Now run configure and make. error code : checking for gethostname... yes checking whether sethostname is declared... (cached) yes checking whether hstrerror is declared... no checking whether cuserid is declared... yes checking for library containing crypt... -lcrypt checking for i... _Complex_I checking whether csqrt is usable... yes checking for libgmp... yes checking how to link with libgmp... -lgmp checking whether mpz_inits is declared... no checking whether libunistring was built with iconv support... yes ./configure: line 47629: syntax error near unexpected token `LIBFFI,' ./configure: line 47629: `PKG_CHECK_MODULES(LIBFFI, libffi)' -- ---------- 个人 http://www.boolsir.com GMAIL : bb.q...@gmail.com Q Q : 289871025