Project

General

Profile

Actions

Bug #4999

closed

configure.in issues are breaking the build under MinGW

Added by luislavena (Luis Lavena) over 12 years ago. Updated over 12 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
Backport:
[ruby-core:37888]

Description

At r32461, configure.in is generating a warning during autoconf:


sh -c "autoconf"
): you should use literals: AC_LIBOBJ(\
/mingw/src/autoconf/26/autoconf-2.67/lib/autoconf/general.m4:2929: AC_LIBOBJ is expanded from...
/mingw/src/autoconf/26/autoconf-2.67/lib/m4sugar/m4sh.m4:598: AS_IF is expanded from...
/mingw/src/autoconf/26/autoconf-2.67/lib/autoconf/functions.m4:60: AC_CHECK_FUNC is expanded from...
/mingw/src/autoconf/26/autoconf-2.67/lib/autoconf/functions.m4:133: AC_REPLACE_FUNCS is expanded from...
configure.in:1354: the top level

Which results in the following failure during configure:


checking for strerror... yes
../../../../ruby/configure: command substitution: line 13981: unexpected EOF while looking for matching `"'
../../../../ruby/configure: command substitution: line 13982: syntax error: unexpected end of file
checking for "
if eval test "x$" = xyes; then :
  printf %s\n #define... ../../../../ruby/configure: eval: line 2204: unexpected EOF while looking for matching `"'
../../../../ruby/configure: eval: line 2205: syntax error: unexpected end of file
../../../../ruby/configure: command substitution: line 13987: unexpected EOF while looking for matching `"'
../../../../ruby/configure: command substitution: line 13988: syntax error: unexpected end of file
../../../../ruby/configure: line 13987: $as_tr_cpp`: command not found
../../../../ruby/configure: eval: line 2251: unexpected EOF while looking for matching ``'
../../../../ruby/configure: eval: line 2252: syntax error: unexpected end of file
../../../../ruby/configure: eval: line 2256: unexpected EOF while looking for matching ``'
../../../../ruby/configure: eval: line 2257: syntax error: unexpected end of file
yes
checking for isnan... (cached) yes
checking for finite... (cached) yes
checking for isinf... (cached) yes
checking for hypot... yes
checking for acosh... yes
checking for erf... yes
checking for tgamma... yes
checking for lgamma_r... no
checking for cbrt... yes
../../../../ruby/configure: command substitution: line 14178: unexpected EOF while looking for matching `"'
../../../../ruby/configure: command substitution: line 14179: syntax error: unexpected end of file
../../../../ruby/configure: line 14262: syntax error near unexpected token `('
../../../../ruby/configure: line 14262: `  $as_echo_n "(cached) " >&6'

Updated by shyouhei (Shyouhei Urabe) over 12 years ago

Hmm, the autoconf I used to ship the 1.8.7 was autoconf 2.65. Is it perhaps not a MinGW specific issue but an autoconf 2.67 problem?

Updated by luislavena (Luis Lavena) over 12 years ago

  • Status changed from Open to Closed

Shyouhei Urabe wrote:

Hmm, the autoconf I used to ship the 1.8.7 was autoconf 2.65. Is it perhaps not a MinGW specific issue but an autoconf 2.67 problem?

Hmn, I've entered 1.8.7-p334 in ruby -v field because is the base ruby I use to build trunk, but this worked perfectly a few days ago (last time I build trunk)

I've been using autoconf 2.67 since last year, which means something that was committed in the past days on trunk is affecting it.

I just reset my working copy, erased any possible temporary directories and tried again and this time neither autoconf raised warnings and configure completed successfully.

Sorry for the noise.

Actions

Also available in: Atom PDF

Like0
Like0Like0