Project

General

Profile

Actions

Bug #3579

closed

RHEL5のautoconf-2.59だとruby-1.8.7-p299でautoconfが失敗する

Added by kosaki (Motohiro KOSAKI) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
1.8.7-p299
[ruby-dev:41856]

Description

=begin
http://pastebin.com/h4g8vDZb

=================================================================
[smbd@dti-vps-srv19 ruby-1.8.7-p299]$ rpm -q autoconf
autoconf-2.59-12
[smbd@dti-vps-srv19 ruby-1.8.7-p299]$ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 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.
[smbd@dti-vps-srv19 ruby-1.8.7-p299]$ autoconf
configure.in:556: error: possibly undefined macro: AS_CASE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.in:556: error: possibly undefined macro: m4_bmatch
configure.in:556: error: possibly undefined macro: AS_TR_SH
configure.in:557: error: possibly undefined macro: m4_if

原因は
・RHEL5のautoconfは2.59
・AS_CASEはautoconf 2.60以降でサポート
・1.8.7-p299のconfigure.inは AC_PREREQ(2.58) と宣言されている

というあたりかと。トリガーとなったコミットは以下

=================================================================
commit 98e7a2abca70fd044d5db7e1404c218e74abbd33
Author: shyouhei
Date: Tue Jun 8 08:42:55 2010 +0000

 merge revision(s) 27721:27725,27738:27740:
     * pack.c: backport integer pack/unpack from 1.9 for [ruby-core:21937].
     * configure.in: backport RUBY_DEFINT and fixed size integer checks.
     * ruby.h: include stdint.h if available.
     * bignum.c (rb_big_pack): defined..
       (rb_big_unpack): defined.
     * intern.h (rb_big_pack): declared.
       (rb_big_unpack): declared.
     * pack.c (pack_pack): call rb_quad_pack to preserve RangeError.


 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@28220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

diff --git a/ChangeLog b/ChangeLog
index eb81de2..66123e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+Tue Jun 8 17:32:37 2010 Tanaka Akira
+

  •   * pack.c (pack_pack): call rb_quad_pack to preserve RangeError.
    

+Tue Jun 8 17:32:37 2010 Tanaka Akira
+

  •   * pack.c: backport integer pack/unpack from 1.9 for [ruby-core:21937].
    
  •   * configure.in: backport RUBY_DEFINT and fixed size integer checks.
    
  •   * ruby.h: include stdint.h if available.
    
  •   * bignum.c (rb_big_pack): defined..
    
  •     (rb_big_unpack): defined.
    
  •   * intern.h (rb_big_pack): declared.
    
  •     (rb_big_unpack): declared.
    

=================================================================

卜部さん、

1.AC_PREREQ(2.60) に変える
2.問題のコミットをrevert
3.AS_CASEの部分を1.8.7メンテナがモリモリ書き直す

の3択から選ぶとしたらどれがよいですか?
何を聞いているかというとRubyとかRoRでのRHEL5(とCentOS5)の使用率が分からないので一番簡単な
1を選んでしまっていいのか確信が持てない。という事なんですが。
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0