[#25976] tnono dumps core — nobu@...

なかだです。

16 messages 2005/04/02
[#25977] Re: tnono dumps core — Masaki Suketa <masaki.suketa@...> 2005/04/03

助田です。

[#25998] ruby 1.8.3 preview予定 — Yukihiro Matsumoto <matz@...>

まつもと ゆきひろです

45 messages 2005/04/07
[#26011] bcc32、win32 での install-doc の動作 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/04/10

山本です。

[#26012] Re: bcc32、win32 での install-doc の動作 — nobu@... 2005/04/10

なかだです。

[#26013] Re: bcc32、win32 での install-doc の動作 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/04/11

山本です。

[#26014] Re: bcc32、win32 での install-doc の動作 — "U.Nakamura" <usa@...> 2005/04/11

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

[#26034] Re: bcc32、win32 での install-doc の動作 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/04/12

山本です。

[#26035] Re: bcc32、win32 での install-doc の動作 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/04/12

山本です。

[#26036] Re: bcc32、win32 での install-doc の動作 — "U.Nakamura" <usa@...> 2005/04/12

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

[#26040] Re: bcc32、win32 での install-doc の動作 — nobu@... 2005/04/13

なかだです。

[#26041] Re: bcc32、win32 での install-doc の動作 — "U.Nakamura" <usa@...> 2005/04/13

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

[#26042] Re: bcc32、win32 での install-doc の動作 — nobu@... 2005/04/13

なかだです。

[#26043] Re: bcc32、win32 での install-doc の動作 — "U.Nakamura" <usa@...> 2005/04/13

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

[#26045] Re: bcc32、win32 での install-doc の動作 — nobu@... 2005/04/13

なかだです。

[#26049] Re: bcc32、win32 での install-doc の動作 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/04/14

山本です。

[#26051] Re: bcc32、win32 での install-doc の動作 — nobu@... 2005/04/14

なかだです。

[#26059] Re: bcc32、win32 での install-doc の動作 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/04/14

山本です。

[#26060] Re: bcc32、win32 での install-doc の動作 — nobu@... 2005/04/15

なかだです。

[#26100] FileUtils.rm_rf security problem — Tanaka Akira <akr@...17n.org>

ふと、CVE で perl 関係のを見ていたら、File::Path の rmtree に関するも

21 messages 2005/04/26
[#26102] Re: FileUtils.rm_rf security problem — Tanaka Akira <akr@...17n.org> 2005/04/26

[#26190] Re: FileUtils.rm_rf security problem — Minero Aoki <aamine@...> 2005/05/20

青木です。

[#26191] Re: FileUtils.rm_rf security problem — Tanaka Akira <akr@...17n.org> 2005/05/20

In article <20050520171837N.aamine@loveruby.net>,

[#26192] Re: FileUtils.rm_rf security problem — Minero Aoki <aamine@...> 2005/05/20

青木です。

[#26197] Re: FileUtils.rm_rf security problem — Minero Aoki <aamine@...> 2005/05/21

青木です。

[ruby-dev:26040] Re: bcc32、win32 での install-doc の動作

From: nobu@...
Date: 2005-04-13 04:36:59 UTC
List: ruby-dev #26040
なかだです。

At Wed, 13 Apr 2005 00:15:11 +0900,
U.Nakamura wrote in [ruby-dev:26036]:
> | >ruby1.9 でも、
> | >
> | >..\ruby\bcc32\configure.bat --prefix=e:/temp
> | >
> | >というように prefix にドライブ文字を含め、
> | >
> | >make DESTDIR=e:/hoge install

「prefixにはドライブレター禁止」ということでどうでしょうか。ど
うせWindowsでは意味ないんだし。

> | *.so もインストールできましたが、rdoc はまだインストールできませんでした。
> | 
> | Generating RDoc documentation
> |         .\ruby.exe "../ruby/runruby.rb" --extout=".ext" -- "../ruby//bin/rdoc" -
> | -all --ri --op "e:/hogee:/temp/share/ri/1.9/system" "../ruby/"
> | 
> | こちらをどうすればいいかは、よくわかりません。スクリプトでパスを連結してるんじゃなく、
> | RIDATADIR として makefile で与えられているので・・・
> 
> こっちはどうしましょうかねえ。
> Makefile.subでDATADIRが現れるのはここだけかあ...
> 
> とりあえず、RIDATADIRの定義からDESTDIRを省くのが必須として、

いや、省いちゃうとまずいでしょう。


Index: bcc32/README.bcc32
===================================================================
RCS file: /cvs/ruby/src/ruby/bcc32/README.bcc32,v
retrieving revision 1.4
diff -U2 -p -r1.4 README.bcc32
--- bcc32/README.bcc32	12 Nov 2004 08:33:17 -0000	1.4
+++ bcc32/README.bcc32	13 Apr 2005 04:31:02 -0000
@@ -29,4 +29,7 @@
     For example, run `((%configure --prefix=<install_directory>%))'
     Default of the install directory is /usr .
+
+    Never prepend drive letter to this prefix.  If you want to install
+    into another drive, use DESTDIR at install instead of prefix.
      
 (2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
Index: bcc32/Makefile.sub
===================================================================
RCS file: /cvs/ruby/src/ruby/bcc32/Makefile.sub,v
retrieving revision 1.71
diff -U2 -p -r1.71 Makefile.sub
--- bcc32/Makefile.sub	3 Mar 2005 09:44:32 -0000	1.71
+++ bcc32/Makefile.sub	13 Apr 2005 04:28:34 -0000
@@ -429,5 +429,5 @@ $(RUBY_INSTALL_NAME).rc $(RUBYW_INSTALL_
 post-install-ext::
 	$(MINIRUBY) -I$(srcdir)lib -rrbconfig -rfileutils \
-		-e 'FileUtils.rm_f(Dir[File.join(Config::CONFIG["archdir"],"**","*.tds")])'
+		-e 'FileUtils.rm_f(Dir[File.join(ARGV+[Config::CONFIG["archdir"],"**","*.tds"])])' "$(DESTDIR)"
 
 clean-local::
Index: win32/README.win32
===================================================================
RCS file: /cvs/ruby/src/ruby/win32/README.win32,v
retrieving revision 1.5
diff -U2 -p -r1.5 README.win32
--- win32/README.win32	12 Nov 2004 08:33:17 -0000	1.5
+++ win32/README.win32	13 Apr 2005 04:31:26 -0000
@@ -29,4 +29,7 @@
     Default of the install directory is /usr .
 
+    Never prepend drive letter to this prefix.  If you want to install
+    into another drive, use DESTDIR at install instead of prefix.
+
 (2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
     if you want to change the name of the executable files. 
Index: wince/README.wince
===================================================================
RCS file: /cvs/ruby/src/ruby/wince/README.wince,v
retrieving revision 1.3
diff -U2 -p -r1.3 README.wince
--- wince/README.wince	23 Mar 2004 05:32:01 -0000	1.3
+++ wince/README.wince	13 Apr 2005 04:31:46 -0000
@@ -28,4 +28,7 @@
     Default of the install directory is /usr .
 
+    Never prepend drive letter to this prefix.  If you want to install
+    into another drive, use DESTDIR at install instead of prefix.
+
 (2) Change ((|RUBY_INSTALL_NAME|)) and ((|RUBY_SO_NAME|)) in (({Makefile}))
     if you want to change the name of the executable files. 


-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread