# \[Bug #3579\] RHEL5$B$N(Bautoconf-2.59$B$@$H(Bruby-1.8.7-p299$B$G(Bautoconf$B$,\<:GT$9$k(B

**URL:** <https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720>\
**Category:** Development\
**Created:** [July 16, 2010, 6:37pm UTC](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720 "2010-07-16T18:37:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Motohiro\_KOSAKI](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Motohiro\_KOSAKI](https://www.ruby-forum.com/u/Motohiro_KOSAKI)\
**Post date:** [July 16, 2010, 6:37pm UTC](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720/1 "2010-07-16T18:37:11Z")

</div>

Bug #3579:  
RHEL5e$B$Ne(Bautoconf-2.59e$B$@$He(Bruby-1.8.7-p299e$B$Ge(Bautoconfe$B$,\<:GT$9$ke(B  
[http://redmine.ruby-lang.org/issues/show/3579](http://redmine.ruby-lang.org/issues/show/3579)

e$B5/I\<\<Te(B: Motohiro KOSAKI  
e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal  
e$BC4Ev\<Te(B: Shyouhei U., e$B%+%F%4%je(B: build, Target version:  
Ruby 1.8.7  
ruby -v: 1.8.7-p299

[http://pastebin.com/h4g8vDZb](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

e$B860x$Oe(B  
e$B!&e(BRHEL5e$B$Ne(Bautoconfe$B$Oe(B2.59  
e$B!&e(BAS\_CASEe$B$Oe(Bautoconf 2.60e$B0J9\_$G%5%]!\<%He(B  
e$B!&e(B1.8.7-p299e$B$Ne(Bconfigure.ine$B$Oe(B AC\_PREREQ(2.58)  
e$B$H@k8@$5$l$F$$$ke(B

e$B$H$$$&$"$?$j$+$H!#%H%j%,!\<$H$J$C$?%3%\_%C%H$O0J2\<e(B

=================================================================  
commit 98e7a2abca70fd044d5db7e1404c218e74abbd33  
Author: shyouhei [shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e](mailto:shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e)  
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 A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
+

- 

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

```

- 

+Tue Jun 8 17:32:37 2010 Tanaka A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
+

- 

```
  * 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.

```

- 

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

e$BKNIt$5$s!"e(B

e$B#1!%e(BAC\_PREREQ(2.60) e$B$KJQ$($ke(B  
e$B#2!%LdBj$N%3%\_%C%H$re(Brevert  
e$B#3!%e(BAS\_CASEe$B$NItJ,$re(B1.8.7e$B%a%s%F%J$,%b%j%b%j=q$-D\>$9e(B

e$B$N#3Br$+$iA\*$V$H$7$?$i$I$l$,$h$$$G$9$+!)e(B  
e$B2?$rJ9$$$F$$$k$+$H$$$&$He(BRubye$B$H$+e(BRoRe$B$G$Ne(BRHEL5e$B!J$He(BCentOS5e$B!K$N;HMQN($,J,$+$i$J$$$N$G0lHV4JC1$Je(B  
e$B#1$rA\*$s$G$7$^$C$F$$$$$N$+3N?.$,;}$F$J$$!#$H$$$&;v$J$s$G$9$,!#e(B

---

<div class="post-metadata">

**Author:** ![Motohiro\_KOSAKI](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Motohiro\_KOSAKI](https://www.ruby-forum.com/u/Motohiro_KOSAKI)\
**Post date:** [July 16, 2010, 6:40pm UTC](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720/2 "2010-07-16T18:40:06Z")

</div>

e$B%A%1%C%He(B #3579 e$B$,99?7$5$l$^$7$?!#e(B (by Motohiro KOSAKI)

e$B%\*%j%8%J%k$NJs9p$O$3$3e(B

[http://twitter.com/smbd/status/18694883260](http://twitter.com/smbd/status/18694883260)

e$B$J$N$G!"=$@5$9$k$H$-$N\<U\<-$Oe(B Mitsuru SHIMAMURA  
e$B$5$s$G$\*4j$$$7$^$9e(B \> e$B=$@5$9$k?Me(B  
e$B!J\<+J,$K$J$j$=$&$J5$$,$9$k$1$I!Ke(B

* * *

[http://redmine.ruby-lang.org/issues/show/3579](http://redmine.ruby-lang.org/issues/show/3579)

---

<div class="post-metadata">

**Author:** ![Motohiro\_KOSAKI](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Motohiro\_KOSAKI](https://www.ruby-forum.com/u/Motohiro_KOSAKI)\
**Post date:** [July 17, 2010, 3:22am UTC](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720/3 "2010-07-17T03:22:14Z")

</div>

e$B$J$+$@$G$9!#e(B

At Sat, 17 Jul 2010 01:36:32 +0900,  
Motohiro KOSAKI wrote in [ruby-dev:41856]:

> e$B#1!%e(BAC\_PREREQ(2.60) e$B$KJQ$($ke(B  
> e$B#2!%LdBj$N%3%\_%C%H$re(Brevert  
> e$B#3!%e(BAS\_CASEe$B$NItJ,$re(B1.8.7e$B%a%s%F%J$,%b%j%b%j=q$-D\>$9e(B
> 
> e$B$N#3Br$+$iA\*$V$H$7$?$i$I$l$,$h$$$G$9$+!)e(B

e$B$=$l$Oe(B1e$B$G$7$g$&!#e(B

> e$B2?$rJ9$$$F$$$k$+$H$$$&$He(BRubye$B$H$+e(BRoRe$B$G$Ne(BRHEL5e$B!J$He(BCentOS5e$B!K$N;HMQN($,J,$+$i$J$$$N$G0lHV4JC1$Je(B  
> e$B#1$rA\*$s$G$7$^$C$F$$$$$N$+3N?.$,;}$F$J$$!#$H$$$&;v$J$s$G$9$,!#e(B

autoconfe$B$r\<B9T$9$kI,MW$,$"$k$N$O!"e(Bsvn(e$B$+e(Bgit)e$B$G:G?7$rDI$$$+$1$k?Me(B  
e$B$@$1$G$9!#$=$&$$$&?M$OEvA3e(Bautoconfe$B$b:G?7$rMQ0U$G$-$k$3$H$rA0Ds$Ke(B  
e$B$7$^$9!#$G$J$1$l$Pe(Bsnapshote$B$Ne(Btarballe$B$r;H$C$F$/$@$5$$!#e(B

---

<div class="post-metadata">

**Author:** ![Motohiro\_KOSAKI](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Motohiro\_KOSAKI](https://www.ruby-forum.com/u/Motohiro_KOSAKI)\
**Post date:** [July 17, 2010, 4:05am UTC](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720/4 "2010-07-17T04:05:33Z")

</div>

2010e$BG/e(B7e$B7ne(B17e$BF|e(B10:21 Nobuyoshi N.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> e$B$=$l$Oe(B1e$B$G$7$g$&!#e(B
> 
> > e$B2?$rJ9$$$F$$$k$+$H$$$&$He(BRubye$B$H$+e(BRoRe$B$G$Ne(BRHEL5e$B!J$He(BCentOS5e$B!K$N;HMQN($,J,$+$i$J$$$N$G0lHV4JC1$Je(B  
> > e$B#1$rA\*$s$G$7$^$C$F$$$$$N$+3N?.$,;}$F$J$$!#$H$$$&;v$J$s$G$9$,!#e(B
> 
> autoconfe$B$r\<B9T$9$kI,MW$,$"$k$N$O!"e(Bsvn(e$B$+e(Bgit)e$B$G:G?7$rDI$$$+$1$k?Me(B  
> e$B$@$1$G$9!#$=$&$$$&?M$OEvA3e(Bautoconfe$B$b:G?7$rMQ0U$G$-$k$3$H$rA0Ds$Ke(B  
> e$B$7$^$9!#$G$J$1$l$Pe(Bsnapshote$B$Ne(Btarballe$B$r;H$C$F$/$@$5$$!#e(B

e$B$J$s$@!#G:$`I,MW$\<$s$\<$s$"$j$^$;$s$G$7$?$M!#e(B  
e$B%Q%C%A%l%Y%k$NESCf$GMW5ae(Bautoconfe$B$,HG$,JQ$o$k$N$b9g0U$G$-$F$$$k$HM}2r$7$^$7$?!#e(B  
e$B$3$A$i$Ge(B ruby\_1\_8 e$B$He(B ruby\_1\_8\_7 e$B$KF~$l$H$-$^$9!#e(B

e$BJQ$J\<ALd$G$_\<j?t$r$_$+$1$7$F$9$$$^$;$s$G$7$?!#e(B

---

<div class="post-metadata">

**Author:** ![Motohiro\_KOSAKI](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/22d042/32.png) [@Motohiro\_KOSAKI](https://www.ruby-forum.com/u/Motohiro_KOSAKI)\
**Post date:** [July 17, 2010, 8:41am UTC](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720/5 "2010-07-17T08:41:46Z")

</div>

> > autoconfe$B$r\<B9T$9$kI,MW$,$"$k$N$O!"e(Bsvn(e$B$+e(Bgit)e$B$G:G?7$rDI$$$+$1$k?Me(B  
> > e$B$@$1$G$9!#$=$&$$$&?M$OEvA3e(Bautoconfe$B$b:G?7$rMQ0U$G$-$k$3$H$rA0Ds$Ke(B  
> > e$B$7$^$9!#$G$J$1$l$Pe(Bsnapshote$B$Ne(Btarballe$B$r;H$C$F$/$@$5$$!#e(B
> 
> e$B$J$s$@!#G:$`I,MW$\<$s$\<$s$"$j$^$;$s$G$7$?$M!#e(B  
> e$B%Q%C%A%l%Y%k$NESCf$GMW5ae(Bautoconfe$B$,HG$,JQ$o$k$N$b9g0U$G$-$F$$$k$HM}2r$7$^$7$?!#e(B  
> e$B$3$A$i$Ge(B ruby\_1\_8 e$B$He(B ruby\_1\_8\_7 e$B$KF~$l$H$-$^$9!#e(B

ruby\_1\_8e$B$O0J2\<$N%Q%C%A$G$9$G$Ke(B2.60e$B$KJQ99$5$l$F$$$k$3$H$,J,$+$C$?$N$G!"e(Bruby\_1\_8\_7e$B$@$1JQ99$7$F$\*$-$^$7$?!#e(B

commit fc086c352e5a46a4ae72aa9857d5a53e180b6db5  
Author: shyouhei [shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e](mailto:shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e)  
Date: Wed Jul 2 09:04:54 2008 +0000

```
    * configure.in (AC_USE_SYSTEM_EXTENSIONS): instead of AC_AIX

    * lib/mkmf.rb (create_tmpsrc): we need to include 

```

COMMON\_HEADERS,  
namely inclusion of ruby.h, because \_GNU\_SOURCE is now defined  
there (if any) and socket.so requires it on Linux systems.

```
git-svn-id:

```

svn+ssh://ci.ruby-lang.org/ruby/branches/ruby\_1\_8@17793  
b2dd03c8-39d4-4d8f-98ff-823fe69b080e

diff --git a/configure.in b/configure.in  
index f56faad…682e5a0 100644  
— a/configure.in  
+++ b/configure.in  
@@ -1,7 +1,7 @@  
dnl Process this file with autoconf to produce a configure script.  
AC\_INIT()

-AC\_PREREQ(2.58)  
+AC\_PREREQ(2.60)
