[#32727] require "./xxx" の「カレントディレクトリ」の意味 — Take_tk <ggb03124@...>

あるディレクトリαにあるスクリプトAに「require "./xxx"」と書いてあると、

21 messages 2001/12/03
[#32733] Re: require "./xxx" の「カレントディレクトリ」の意味 — matz@... (Yukihiro Matsumoto) 2001/12/03

まつもと ゆきひろです

[#32746] Re: require "./xxx" の「カレントディレクトリ」の意味 — Tanaka Akira <akr@...17n.org> 2001/12/04

In article <1007384829.854960.10474.nullmailer@ev.netlab.jp>,

[#32749] Re: require "./xxx" の「カレントディレクトリ」の意味 — Take_tk <ggb03124@...> 2001/12/04

たけ(tk)です。

[#32772] newdate — tadf@...

ふなばです。

108 messages 2001/12/04
[#32850] Re: newdate — Tanaka Akira <akr@...17n.org> 2001/12/10

In article <20011204234521G.tadf@kt.rim.or.jp>,

[#32855] Re: newdate — tadf@... 2001/12/10

ふなばです。

[#32859] Re: newdate — matz@... (Yukihiro Matsumoto) 2001/12/10

まつもと ゆきひろです

[#32860] Re: newdate — tadf@... 2001/12/10

ふなばです。

[#32889] Re: newdate — Tanaka Akira <akr@...17n.org> 2001/12/12

In article <20011210180612F.tadf@funaba.org>,

[#34281] Re: newdate — tadf@... 2002/03/10

ふなばです。

[#33661] when.exe の Ruby 化 (Re: newdate) — Takashi SUGA <suchowan@...> 2002/01/29

すいません。件名が変だったので、再送します。コメントをくださる方は、

[#32797] dir_config (mkmf.rb) のオプション指定の優先順位 — tamra@...

12 messages 2001/12/05
[#32798] Re: dir_config (mkmf.rb) のオプション指定の優先順位 — nobu.nakada@... 2001/12/06

なかだです。

[#32807] irb 0.8 release — keiju@... (Keiju ISHITSUKA)

けいじゅ@日本ラショナルソフトウェアです.

21 messages 2001/12/07
[#32808] Re: irb 0.8 release — rubikitch <rubikitch@...> 2001/12/07

From: keiju@rational.com (Keiju ISHITSUKA)

[#32935] Ruby256 倍本 " 界道編 " — shukaku@...

23 messages 2001/12/15
[#32963] Re: Ruby256 倍本 " 界道編 " — Shin-ichiro HARA <sinara@...> 2001/12/19

原です。

[#33014] "Walrus" on LinuxJapan — Taku Nakajima <tnakajima@...>

中島@ブレーンです。

13 messages 2001/12/24

[#33050] cgi.rb で cookie の encoding について — Beyond <beyond@...>

74 messages 2001/12/28
[#33054] Re: cgi.rb で cookie の encoding について — "U.Nakamura" <usa@...> 2001/12/28

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

[#33057] Re: cgi.rb で cookie の encoding について — Beyond <beyond@...> 2001/12/28

[#33059] Re: cgi.rb で cookie の encoding について — nobu.nakada@... 2001/12/28

なかだです。

[#33060] Re: cgi.rb で cookie の encoding について — Beyond <beyond@...> 2001/12/28

[#33063] Re: cgi.rb で cookie の encoding について — nobu.nakada@... 2001/12/28

なかだです。

[#33065] Re: cgi.rb で cookie の encoding について — Beyond <beyond@...> 2001/12/28

[#33062] Re: cgi.rb で cookie の encoding について — Wakou Aoyama <wakou@...> 2001/12/28

青山です。

[#33075] Re: cgi.rb で cookie の encoding について — Takahiro Kambe <taca@...> 2001/12/28

In message <20011228054515.726.qmail@localhost>

[#33078] Re: cgi.rb で cookie の encoding について — Beyond <beyond@...> 2001/12/28

[#33083] Re: cgi.rb で cookie の encoding について — Wakou Aoyama <wakou@...> 2001/12/28

青山です。

[#33090] Re: cgi.rb で cookie の encoding について — Beyond <beyond@...> 2001/12/28

[#33105] Re: cgi.rb で cookie の encoding について — Wakou Aoyama <wakou@...> 2001/12/29

青山です。

[#33120] Re: cgi.rb で cookie の encoding について — Tanaka Akira <akr@...17n.org> 2001/12/30

In article <20011229013722.1869.qmail@localhost>,

[#33124] Re: cgi.rb で cookie の encoding について — Wakou Aoyama <wakou@...> 2001/12/30

青山です。

[#33131] Re: cgi.rb で cookie の encoding について — Beyond <beyond@...> 2001/12/31

[ruby-list:32690] Re: ソースの readme をもう少し詳しく

From: "Mitsuo Igarashi" <mitsu5@...>
Date: 2001-12-01 01:58:01 UTC
List: ruby-list #32690
 五十嵐です。

| | わたなべです。
| |
| | 五十嵐さんはうまくいかないとしか書いてないから、
| | 何が問題かわかりません。
| | どういうエラーが起きているかもう少し詳しく書いてください。
| |
| | それと結局のところ、mingw32版、cygwin版のどちらのrubyを作り
| | たいんでしょう?

見当違いの返事を書きまして申し訳有りません。

Cygwin は cygwinversion: 1.3.2-1

minngw32 について。(gcc-2.95.3 を使っております)
 ./configure --enable-shared
これはビルドに失敗。configure log のsummaryは以下のようです。
checking host system type... i586-pc-cygwin
checking target system type... i586-pc-cygwin
checking build system type... i586-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no

make 時のエラーは
gcc -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"cygwin-ruby16.dll\" 
-c array.c
gcc -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"cygwin-ruby16.dll\" 
-c bignum.c
gcc -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"cygwin-ruby16.dll\" 
-c class.c
gcc -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"cygwin-ruby16.dll\" 
-c compar.c
gcc -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"cygwin-ruby16.dll\" 
-c dir.c
dir.c: In function `dir_s_mkdir':
dir.c:475: too many arguments to function `mkdir'
make: *** [dir.o] Error 1

./configure --enable-shared i586-mingw32  とした時、これはビルドに成功。
checking host system type... i586-pc-mingw32
checking target system type... i586-pc-mingw32
checking build system type... i586-pc-mingw32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes

make 時の上記との差は、
gcc -DNT -D__MSVCRT__ -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"mi
ngw32-ruby16.dll\" -c array.c
gcc -DNT -D__MSVCRT__ -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"mi
ngw32-ruby16.dll\" -c bignum.c
gcc -DNT -D__MSVCRT__ -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"mi
ngw32-ruby16.dll\" -c class.c
gcc -DNT -D__MSVCRT__ -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"mi
ngw32-ruby16.dll\" -c compar.c
gcc -DNT -D__MSVCRT__ -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"mi
ngw32-ruby16.dll\" -c dir.c
gcc -DNT -D__MSVCRT__ -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"mi
ngw32-ruby16.dll\" -c dln.c

エラーの時の違いは、flag  の -DNT -D__MSVCRT__  に
あるようでした。

cygwin gcc under Cygwin
./configure --enable-shared
この時の make 時のエラー

gcc -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"cygwin-ruby16.dll\" 
-c io.c
In file included from /usr/include/time.h:32,
                 from /usr/include/sys/reent.h:14,
                 from /usr/include/stdlib.h:19,
                 from ruby.h:25,
                 from io.c:15:
/usr/include/sys/types.h:133: warning: empty declaration
/usr/include/sys/types.h:134: warning: empty declaration
io.c: In function `rb_read_pending':
io.c:179: structure has no member named `_cnt'
io.c: In function `rb_read_check':
io.c:186: structure has no member named `_cnt'
io.c: In function `rb_io_eof':
io.c:388: structure has no member named `_cnt'
io.c:389: structure has no member named `_cnt'
io.c: In function `io_fread':
以下多数のエラー。

cygwin gcc under Cygwin
./configure --enable-shared i386-mingw32
この時の make 時のエラー

cc -DNT -D__MSVCRT__ -g -O2  -I. -I. -I/usr/local/include -DLIBRUBY_SO=\"min
gw32-ruby16.dll\" -c array.c
In file included from win32/win32.h:78,
                 from defines.h:36,
                 from ruby.h:22,
                 from array.c:15:
/usr/include/w32api/winsock.h:78: warning: #warning "fd_set and associated
macros have been defined in sys/types.      This can cause runtime problems
with W32 sockets"
In file included from defines.h:36,
                 from ruby.h:22,
                 from array.c:15:
win32/win32.h:97: direct.h: No such file or directory
make: *** [array.o] Error 1

以上です。
ご指導のほどよろしくお願いいたします。
----------=========---------
Mitsuo Igarashi
mitsu5@ruby.famille.ne.jp

In This Thread