ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:50440] [Ruby trunk Bug#14409] インストール手順の改善
       [not found] <redmine.issue-14409.20180127062237@ruby-lang.org>
@ 2018-01-27  6:22 ` reetok3
  2018-01-27  6:41 ` [ruby-dev:50441] " reetok3
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: reetok3 @ 2018-01-27  6:22 UTC (permalink / raw)
  To: ruby-dev

Issue #14409 has been reported by Reetok (Reetok Nino).

----------------------------------------
Bug #14409: インストール手順の改善
https://bugs.ruby-lang.org/issues/14409

* Author: Reetok (Reetok Nino)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
以下の2つのインストール手順の部分を改善した方が良いと思いました。

1. `./configure`の生成に必要なautoconfのバージョンを指定するべき
     - 2.68以降
2. config.hとMakefileの生成に必要なRubyのバージョンを指定するべき
     - 少なくともto_pathが実装されているバージョン

## 環境
```
$ cat /etc/redhat-release
CentOS release 6.8 (Final)
$ uname -a
Linux kogeki 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

```
# ./configureの生成に必要なautoconfのバージョン
README.md(![https://github.com/ruby/ruby/blob/trunk/README.md](https://github.com/ruby/ruby/blob/trunk/README.md))のHow to compile and installの 2つ目の手順にて autoconf を実行したところ、以下のエラーが発生しました。

```

$ autoconf
configure.ac:7: error: Autoconf version 2.67 or higher is required
configure.ac:7: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
```

2.67以上にのみ対応しているということだったので,このサイト(![http://ask.xmodulo.com/upgrade-autoconf-centos.html](http://ask.xmodulo.com/upgrade-autoconf-centos.html))を参考に,2.68を導入したところ,./configureが正常終了しました。
以上より,autoconfのバージョンを指定すべきだと考えます。

## config.hとMakefileの生成に必要なRubyのバージョン
README.md(![https://github.com/ruby/ruby/blob/trunk/README.md](https://github.com/ruby/ruby/blob/trunk/README.md))の`How to compile and install`の3つめの手順にて,以下のエラーが発生しました。

```
$ ./configure
checking for ruby... false
configure: error: cannot run /bin/sh tool/config.sub
```

rubyが必要だったということで,`sudo yum install ruby`でrubyを入れ,再度実行したところNoMethodError'to_path'が発生しました。
to_pathが実装されているRuby(2.4.3)を使用したところ,成功しました。
以上より,config.hとMakefileの生成に必要なrubyのバージョンを指定すべきだと考えます。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:50441] [Ruby trunk Bug#14409] インストール手順の改善
       [not found] <redmine.issue-14409.20180127062237@ruby-lang.org>
  2018-01-27  6:22 ` [ruby-dev:50440] [Ruby trunk Bug#14409] インストール手順の改善 reetok3
@ 2018-01-27  6:41 ` reetok3
  2018-01-27  7:45 ` [ruby-dev:50442] " okkez000
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: reetok3 @ 2018-01-27  6:41 UTC (permalink / raw)
  To: ruby-dev

Issue #14409 has been updated by Reetok (Reetok Nino).


Ruby1.8.7で./configureの実行結果

```ruby
checking for ruby... /usr/bin/ruby
downloading config.guess ... done
tool/downloader.rb:212:in `download': failed to download config.guess (RuntimeError)
NoMethodError: undefined method `to_path' for #<Pathname:tool/config.guess>: https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess
	from tool/downloader.rb:54:in `download'
	from tool/downloader.rb:344
	from tool/downloader.rb:328:in `each'
	from tool/downloader.rb:328
configure: error: cannot run /bin/sh tool/config.sub
```


----------------------------------------
Bug #14409: インストール手順の改善
https://bugs.ruby-lang.org/issues/14409#change-69891

* Author: Reetok (Reetok Nino)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: trunk(2.6.0)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
以下の2つのインストール手順の部分を改善した方が良いと思いました。

1. `./configure`の生成に必要なautoconfのバージョンを指定するべき
     - 2.68以降
2. config.hとMakefileの生成に必要なRubyのバージョンを指定するべき
     - 少なくともto_pathが実装されているバージョン

## 環境
```
$ cat /etc/redhat-release
CentOS release 6.8 (Final)
$ uname -a
Linux kogeki 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

```
# ./configureの生成に必要なautoconfのバージョン
README.md(![https://github.com/ruby/ruby/blob/trunk/README.md](https://github.com/ruby/ruby/blob/trunk/README.md))のHow to compile and installの 2つ目の手順にて autoconf を実行したところ、以下のエラーが発生しました。

```

$ autoconf
configure.ac:7: error: Autoconf version 2.67 or higher is required
configure.ac:7: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
```

2.67以上にのみ対応しているということだったので,このサイト(![http://ask.xmodulo.com/upgrade-autoconf-centos.html](http://ask.xmodulo.com/upgrade-autoconf-centos.html))を参考に,2.68を導入したところ,./configureが正常終了しました。
以上より,autoconfのバージョンを指定すべきだと考えます。

## config.hとMakefileの生成に必要なRubyのバージョン
README.md(![https://github.com/ruby/ruby/blob/trunk/README.md](https://github.com/ruby/ruby/blob/trunk/README.md))の`How to compile and install`の3つめの手順にて,以下のエラーが発生しました。

```
$ ./configure
checking for ruby... false
configure: error: cannot run /bin/sh tool/config.sub
```

rubyが必要だったということで,`sudo yum install ruby`でrubyを入れ,再度実行したところNoMethodError'to_path'が発生しました。
to_pathが実装されているRuby(2.4.3)を使用したところ,成功しました。
以上より,config.hとMakefileの生成に必要なrubyのバージョンを指定すべきだと考えます。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:50442] [Ruby trunk Bug#14409] インストール手順の改善
       [not found] <redmine.issue-14409.20180127062237@ruby-lang.org>
  2018-01-27  6:22 ` [ruby-dev:50440] [Ruby trunk Bug#14409] インストール手順の改善 reetok3
  2018-01-27  6:41 ` [ruby-dev:50441] " reetok3
@ 2018-01-27  7:45 ` okkez000
  2018-01-27 13:55 ` [ruby-dev:50443] " nobu
  2018-02-05 10:29 ` [ruby-dev:50468] [Ruby trunk Bug#14409][Assigned] インストール手順の改善 hsbt
  4 siblings, 0 replies; 5+ messages in thread
From: okkez000 @ 2018-01-27  7:45 UTC (permalink / raw)
  To: ruby-dev

Issue #14409 has been updated by okkez (okkez _).


desription のフォーマットがおかしかったのを修正しました。

----------------------------------------
Bug #14409: インストール手順の改善
https://bugs.ruby-lang.org/issues/14409#change-69893

* Author: Reetok (Reetok Nino)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: trunk(2.6.0)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
以下の2つのインストール手順の部分を改善した方が良いと思いました。

1. `./configure`の生成に必要なautoconfのバージョンを指定するべき
     - 2.68以降
2. config.hとMakefileの生成に必要なRubyのバージョンを指定するべき
     - 少なくともto_pathが実装されているバージョン

## 環境
```
$ cat /etc/redhat-release
CentOS release 6.8 (Final)
$ uname -a
Linux kogeki 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

```
# ./configureの生成に必要なautoconfのバージョン
[README.md](https://github.com/ruby/ruby/blob/trunk/README.md)のHow to compile and installの 2つ目の手順にて autoconf を実行したところ、以下のエラーが発生しました。

```

$ autoconf
configure.ac:7: error: Autoconf version 2.67 or higher is required
configure.ac:7: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
```

2.67以上にのみ対応しているということだったので,[このサイト](http://ask.xmodulo.com/upgrade-autoconf-centos.html)を参考に,2.68を導入したところ,./configureが正常終了しました。
以上より,autoconfのバージョンを指定すべきだと考えます。

## config.hとMakefileの生成に必要なRubyのバージョン
[README.md](https://github.com/ruby/ruby/blob/trunk/README.md)の`How to compile and install`の3つめの手順にて,以下のエラーが発生しました。

```
$ ./configure
checking for ruby... false
configure: error: cannot run /bin/sh tool/config.sub
```

rubyが必要だったということで,`sudo yum install ruby`でrubyを入れ,再度実行したところNoMethodError'to_path'が発生しました。
to_pathが実装されているRuby(2.4.3)を使用したところ,成功しました。
以上より,config.hとMakefileの生成に必要なrubyのバージョンを指定すべきだと考えます。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:50443] [Ruby trunk Bug#14409] インストール手順の改善
       [not found] <redmine.issue-14409.20180127062237@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2018-01-27  7:45 ` [ruby-dev:50442] " okkez000
@ 2018-01-27 13:55 ` nobu
  2018-02-05 10:29 ` [ruby-dev:50468] [Ruby trunk Bug#14409][Assigned] インストール手順の改善 hsbt
  4 siblings, 0 replies; 5+ messages in thread
From: nobu @ 2018-01-27 13:55 UTC (permalink / raw)
  To: ruby-dev

Issue #14409 has been updated by nobu (Nobuyoshi Nakada).


`Pathname#to_path` は1.9.3以降ですね。
また、autoconfやrubyが必要になるのはrepositoryから直接作る場合なので、tarballから作る場合では必要な手順が変わります。
その点も明確にしたほうがいいでしょう。

----------------------------------------
Bug #14409: インストール手順の改善
https://bugs.ruby-lang.org/issues/14409#change-69899

* Author: Reetok (Reetok Nino)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: trunk(2.6.0)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
以下の2つのインストール手順の部分を改善した方が良いと思いました。

1. `./configure`の生成に必要なautoconfのバージョンを指定するべき
     - 2.68以降
2. config.hとMakefileの生成に必要なRubyのバージョンを指定するべき
     - 少なくともto_pathが実装されているバージョン

## 環境
```
$ cat /etc/redhat-release
CentOS release 6.8 (Final)
$ uname -a
Linux kogeki 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

```
# ./configureの生成に必要なautoconfのバージョン
[README.md](https://github.com/ruby/ruby/blob/trunk/README.md)のHow to compile and installの 2つ目の手順にて autoconf を実行したところ、以下のエラーが発生しました。

```

$ autoconf
configure.ac:7: error: Autoconf version 2.67 or higher is required
configure.ac:7: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
```

2.67以上にのみ対応しているということだったので,[このサイト](http://ask.xmodulo.com/upgrade-autoconf-centos.html)を参考に,2.68を導入したところ,./configureが正常終了しました。
以上より,autoconfのバージョンを指定すべきだと考えます。

## config.hとMakefileの生成に必要なRubyのバージョン
[README.md](https://github.com/ruby/ruby/blob/trunk/README.md)の`How to compile and install`の3つめの手順にて,以下のエラーが発生しました。

```
$ ./configure
checking for ruby... false
configure: error: cannot run /bin/sh tool/config.sub
```

rubyが必要だったということで,`sudo yum install ruby`でrubyを入れ,再度実行したところNoMethodError'to_path'が発生しました。
to_pathが実装されているRuby(2.4.3)を使用したところ,成功しました。
以上より,config.hとMakefileの生成に必要なrubyのバージョンを指定すべきだと考えます。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:50468] [Ruby trunk Bug#14409][Assigned] インストール手順の改善
       [not found] <redmine.issue-14409.20180127062237@ruby-lang.org>
                   ` (3 preceding siblings ...)
  2018-01-27 13:55 ` [ruby-dev:50443] " nobu
@ 2018-02-05 10:29 ` hsbt
  4 siblings, 0 replies; 5+ messages in thread
From: hsbt @ 2018-02-05 10:29 UTC (permalink / raw)
  To: ruby-dev

Issue #14409 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned
Assignee set to hsbt (Hiroshi SHIBATA)

bison や gcc などまずは最小限必要なコンポーネントを洗い出した上で要求バージョンを明示して行くと良さそうに思いました。

ひとまず私の方で進めます。

----------------------------------------
Bug #14409: インストール手順の改善
https://bugs.ruby-lang.org/issues/14409#change-70170

* Author: Reetok (Reetok Nino)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Target version: 
* ruby -v: trunk(2.6.0)
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
以下の2つのインストール手順の部分を改善した方が良いと思いました。

1. `./configure`の生成に必要なautoconfのバージョンを指定するべき
     - 2.68以降
2. config.hとMakefileの生成に必要なRubyのバージョンを指定するべき
     - 少なくともto_pathが実装されているバージョン

## 環境
```
$ cat /etc/redhat-release
CentOS release 6.8 (Final)
$ uname -a
Linux kogeki 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

```
# ./configureの生成に必要なautoconfのバージョン
[README.md](https://github.com/ruby/ruby/blob/trunk/README.md)のHow to compile and installの 2つ目の手順にて autoconf を実行したところ、以下のエラーが発生しました。

```

$ autoconf
configure.ac:7: error: Autoconf version 2.67 or higher is required
configure.ac:7: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
```

2.67以上にのみ対応しているということだったので,[このサイト](http://ask.xmodulo.com/upgrade-autoconf-centos.html)を参考に,2.68を導入したところ,./configureが正常終了しました。
以上より,autoconfのバージョンを指定すべきだと考えます。

## config.hとMakefileの生成に必要なRubyのバージョン
[README.md](https://github.com/ruby/ruby/blob/trunk/README.md)の`How to compile and install`の3つめの手順にて,以下のエラーが発生しました。

```
$ ./configure
checking for ruby... false
configure: error: cannot run /bin/sh tool/config.sub
```

rubyが必要だったということで,`sudo yum install ruby`でrubyを入れ,再度実行したところNoMethodError'to_path'が発生しました。
to_pathが実装されているRuby(2.4.3)を使用したところ,成功しました。
以上より,config.hとMakefileの生成に必要なrubyのバージョンを指定すべきだと考えます。



-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-02-05 10:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <redmine.issue-14409.20180127062237@ruby-lang.org>
2018-01-27  6:22 ` [ruby-dev:50440] [Ruby trunk Bug#14409] インストール手順の改善 reetok3
2018-01-27  6:41 ` [ruby-dev:50441] " reetok3
2018-01-27  7:45 ` [ruby-dev:50442] " okkez000
2018-01-27 13:55 ` [ruby-dev:50443] " nobu
2018-02-05 10:29 ` [ruby-dev:50468] [Ruby trunk Bug#14409][Assigned] インストール手順の改善 hsbt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).