[#25430] 1.8 warn nonblocking IO#read and add IO#readpartial — Tanaka Akira <akr@...17n.org>

1.8 に以下の変更を行いたいんですが、どうでしょうか?

29 messages 2005/01/08
[#25445] Re: 1.8 warn nonblocking IO#read and add IO#readpartial — Tanaka Akira <akr@...17n.org> 2005/01/09

In article <20050109063005.3048a4ba.tommy@tmtm.org>,

[#25479] some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>

山本です。

44 messages 2005/01/15
[#25488] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/22

永井@知能.九工大です.

[#25489] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/22

山本です。

[#25490] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/22

永井@知能.九工大です.

[#25517] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/25

山本です。

[#25519] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/25

永井@知能.九工大です.

[#25521] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/25

山本です。

[#25523] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/25

永井@知能.九工大です.

[#25530] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/25

山本です。

[#25537] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/26

永井@知能.九工大です.

[#25545] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/26

永井@知能.九工大です.

[#25546] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/26

山本です。

[#25547] Re: some problems on ext/tk/sample/**/*.rb — "U.Nakamura" <usa@...> 2005/01/26

こんにちは、なかむら(う)です。

[#25548] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/26

山本です。

[#25550] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/26

永井@知能.九工大です.

[#25553] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/26

山本です。

[#25556] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/26

永井@知能.九工大です.

[#25567] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/27

永井@知能.九工大です.

[#25569] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/01/27

山本です。

[#25578] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/28

永井@知能.九工大です.

[#25585] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/28

永井@知能.九工大です.

[#25605] Re: some problems on ext/tk/sample/**/*.rb — Hidetoshi NAGAI <nagai@...> 2005/01/31

永井@知能.九工大です.

[#25609] Re: some problems on ext/tk/sample/**/*.rb — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/02/01

山本です。

[#25500] priority between commandline option and RUBYOPT env variable — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

13 messages 2005/01/25

[#25522] merge tcltklib and tk — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

32 messages 2005/01/25
[#25552] Re: merge tcltklib and tk — nobu@... 2005/01/26

なかだです。

[#25555] Re: merge tcltklib and tk — Hidetoshi NAGAI <nagai@...> 2005/01/26

永井@知能.九工大です.

[#25557] Re: merge tcltklib and tk — nobu@... 2005/01/26

なかだです。

[#25561] Re: merge tcltklib and tk — Hidetoshi NAGAI <nagai@...> 2005/01/27

永井@知能.九工大です.

[#25566] Re: merge tcltklib and tk — Hidetoshi NAGAI <nagai@...> 2005/01/27

永井@知能.九工大です.

[#25590] Can I copy doc/irb/irb.rd.ja to the reference Wiki? — sheepman <sheepman@...>

こんばんは、sheepman です。

16 messages 2005/01/29
[#25591] Re: Can I copy doc/irb/irb.rd.ja to the reference Wiki? — keiju@... (石塚圭樹) 2005/01/29

けいじゅ@いしつかです.

[#25592] irb history saving feature is not in ruby 1.8 — sheepman <sheepman@...> 2005/01/30

こんにちは、sheepman です。

[#25593] Re: irb history saving feature is not in ruby 1.8 — keiju@... (石塚圭樹) 2005/01/30

けいじゅ@いしつかです.

[#25594] Re: irb history saving feature is not in ruby 1.8 — sheepman <sheepman@...> 2005/01/30

こんにちは、sheepman です。

[#25595] Re: irb history saving feature is not in ruby 1.8 — keiju@... (石塚圭樹) 2005/01/30

けいじゅ@いしつかです.

[ruby-dev:25586] Re: path for RUBY

From: Mamoru KOMACHI <usata@...>
Date: 2005-01-28 09:38:02 UTC
List: ruby-dev #25586
小町と言います。常に最新版を使っているわけではないので報告遅れてすみま
せんが、

At Sat, 14 Feb 2004 15:51:45 +0900,
GOTOU Yuuzou wrote:

> mkmf.rbでMakefileを作ると、$(RUBY)にディレクトリ名が含まれな
> いので、PATHが通っていないところにrubyがあるとmake installに
> 失敗してしまいます。
> 
>   /somewhere/ruby extconf.rb --ruby=/somewhere/ruby
> 
> とすれば回避できるのですが、mkmf.rbを
> 
> --- lib/mkmf.rb 13 Feb 2004 16:03:13 -0000	1.172
> +++ lib/mkmf.rb 14 Feb 2004 06:37:30 -0000
> @@ -1050,3 +1050,3 @@ Config::CONFIG["topdir"] = CONFIG["topdi
>  $configure_args["--topdir"] ||= $curdir
> -$ruby = arg_config("--ruby", CONFIG["ruby_install_name"])
> +$ruby = arg_config("--ruby", File.join(CONFIG["bindir"], CONFIG["ruby_install_name"]))
> 
> とするのはまずいことがあるでしょうか。

パッケージを作るときなど、DESTDIR が指定されていると、bindir に
DESTDIR もついてくるので、たとえば

rico% make DESTDIR=/var/tmp/portage/ruby-serialport-0.6/image/ install
make: /var/tmp/portage/ruby-serialport-0.6/image//usr/bin/ruby19: Command not found
make: *** [/var/tmp/portage/ruby-serialport-0.6/image//usr/lib/ruby/site_ruby/1.9/i686-linux] Error 127

となって失敗してしまうので、ちょっとまずいです。

また、mkmf.rb の 1.169 の変更($topdir に $hdrdir をただ入れるのではな
く、$hdrdir に config.h が見つからなかった場合は compile_dir も探し、
それでも見つからなかった場合は abort する)でどうもヘッダをうまく見つけ
てくれなくなっていたので、パッチを添付します。

環境は、

rico% /usr/bin/ruby19 -v
ruby 1.9.0 (2004-02-27) [i686-linux]

です。よろしくお願いします。

--
Mamoru KOMACHI <usata@sodan.ecc.u-tokyo.ac.jp>


Attachments (1)

mkmf.rb.diff (394 Bytes, text/x-diff)
--- mkmf.rb.orig	2004-02-28 15:00:48.000000000 +0900
+++ mkmf.rb	2004-02-28 22:48:25.018612488 +0900
@@ -84,7 +84,7 @@
 else
   abort "can't find header files for ruby."
 end
-if File.exist?($hdrdir + "/config.h")
+if File.exist?(Config.expand($hdrdir) + "/config.h")
   $topdir = $hdrdir
 elsif File.exist?((compile_dir = Config::CONFIG['compile_dir']) + "/config.h")
   $topdir = compile_dir

In This Thread