-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-ID:
En internet he encontrado la solucion al error pero a mi no me funciona.
Fix for configure failing to find GNU M4 By: Shadyr (shadyr) - 2008-05-29 19:29 If your configure sees M4, but then exits claiming that it could not find GNU m4, here is a fix. Sometime between m4 1.4.8 and 1.4.10, the output of "m4 --version" was changed, so systems with the newer versions of m4 fail the check.
Edit your configure file. should look like this:
ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f1`;
Change it to look like this:
ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f2`;
It should now complete the configure.
¿Alguna idea?
Analiza el código. Lo que hace es llamar a "" para buscar la versión: - ------ cer@nimrodel:~> m4 --version m4 (GNU M4) 1.4.11 Copyright (C) 2008 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. cer@nimrodel:~> - ------ Lo hace así: else ac_m4_vers=`$M4 --version 2>/dev/null | head -1` ; ac_is_gnu_m4=`echo $ac_m4_vers | cut -d' ' -f1`; if test "x$ac_is_gnu_m4" = "xGNU"; then echo "$as_me:$LINENO: result: found $ac_m4_vers at $M4 " >&5 echo "${ECHO_T} found $ac_m4_vers at $M4 " >&6 else { { echo "$as_me:$LINENO: error: GNU M4 is needed " >&5 echo "$as_me: error: GNU M4 is needed " >&2;} { (exit 1); exit 1; }; } fi fi Analiza ahora la salida de cada linea. La primera hace esto: cer@nimrodel:~> m4 --version | head -1 m4 (GNU M4) 1.4.11 El primer token es 'm4', ok, y el cuarto es la versión. Luego la siguiente linea tendra esta salida: cer@nimrodel:~> m4 --version | head -1 | cut -d' ' -f1 m4 y lo compara con "GNU", luego fallará. Si pones f2, la salida es: cer@nimrodel:~> m4 --version | head -1 | cut -d' ' -f2 (GNU luego también fallará, ese parentesis hay que quitarlo también. Joer, que código más tonto, nunca me paré a mirar estas cosas :-( - -- Saludos Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkpWSEkACgkQtTMYHG2NR9UWHwCeLlbUN1w8wissIKfKBNwmoWXN h3wAn0q4aUbfhRg05FjQnh+btVJkuZN1 =WFhF -----END PGP SIGNATURE-----