Summary:ASTERISK-09468: ./configure error
Reporter:Mats Karlsson (matsk)Labels:
Date Opened:2007-05-18 08:27:11Date Closed:2011-06-07 14:07:52
Versions:Frequency of
Environment:Attachments:( 0) configure.txt
Description:After updating to latest svn of asterisk trunk does ./configure fail with :

checking for a sed that does not truncate output... ./configure: line 3799: syntax error near unexpected token `sed,'
./configure: line 3799: `     _AC_PATH_PROG_FEATURE_CHECK(sed, sed gsed,'

See attached configure.txt for complete output.

****** STEPS TO REPRODUCE ******

Install stock CentOS 5.0 uptade to latest version.
Comments:By: Mats Karlsson (matsk) 2007-05-18 08:28:07

What category should a "build" failure be categorized under ?

By: Mats Karlsson (matsk) 2007-05-18 08:46:58

Last svn successfully compiled was 64611.

By: Mats Karlsson (matsk) 2007-05-21 04:39:27

Commented out the following lines (3798 - 3801) in the configure script:

#     $as_unset ac_script || ac_script=
#       _AC_FEATURE_CHECK_LENGTH([ac_path_SED], [ac_cv_path_SED],
#               ["$ac_path_SED" -f conftest.sed]))

and then is asterisk successfully compiled.

By: Russell Bryant (russell) 2007-05-22 11:09:12

The part of the configure script that you reference is not in the current configure script in trunk, and never should have been.  You may have run a command like "autoconf" that broke it.  If you get a clean copy of trunk, this should not be a problem.