[#36899] シグナルのtrapについて — sakazuki <QZS01353@...>
こんにちは。sakazukiです。
7 messages
2003/01/07
[#36912] Numeric#bankers_round — Take_tk <ggb03124@...>
たけ(tk)です
5 messages
2003/01/08
[#36924] vruby030101が何か変 — Mitsuo Igarashi <mitsu5@...>
VisualuRuby を使わしていただこうと、インストールしました。
8 messages
2003/01/10
[#36926] Re: vruby030101が何か変
— NISHIKAWA <nyasu@...3web.ne.jp>
2003/01/11
こんにちは。nyasu@3web です。
[#36940] include した定数に対する defined? — ABE Shigeru <shiger-a@...>
阿部です。立て続けで、すみません。
6 messages
2003/01/16
[#36945] Arrayの判定 — Nonta <nonta@...>
はじめまして。野田と申します。
7 messages
2003/01/17
[#36955] JIS符号化ライブラリ — Satoshi Osabe <s-osabe@...>
長部と申します。
6 messages
2003/01/18
[#36957] Unicode 対応の nkf は? — Take_tk <ggb03124@...>
たけ(tk)です
6 messages
2003/01/18
[#36971] ERB2 bug? — MoonWolf <moonwolf@...>
MoonWolfです。
7 messages
2003/01/19
[#37001] CGIで画像のサイズ変更をしたい。 — FUJIOKA Takeyuki <fuji@...>
藤岡と申します。
6 messages
2003/01/27
[#37005] ruby-1.8.0 mingw build 失敗 — Mitsuo Igarashi <mitsu5@...>
ruby-1.8.0 を gcc -mno-cygwin でビルドしようとしましたが
7 messages
2003/01/27
[#37008] win2000server+rbcw164jでCGIエラー — Misawa Shinobu <misawa@...>
はじめまして。ミサワといいます。
7 messages
2003/01/27
[#37021] [RAA] RAA/2.3 — "U.Nakamura" <usa@...>
みなさんこんにちは。
20 messages
2003/01/30
[#37026] Re: [RAA] RAA/2.3
— MoonWolf <moonwolf@...>
2003/01/30
MoonWolfです。
[ruby-list:37012] Re: ruby-1.8.0 mingwbuild失敗
From:
Mitsuo Igarashi <mitsu5@...>
Date:
2003-01-28 11:38:29 UTC
List:
ruby-list #37012
わたなべ さん
お手数をおかけします。
> > これを行ってみました。ところが、configure で
> > checking build system type... i686-pc-cygwin
> > checking host system type... i686-pc-cygwin
> > checking target system type... i686-pc-cygwin
> > checking for gcc... gcc -mno-cygwin
> > となり、
>
> この後で、もうちょっと進むと
> checking for mingw32 environment... yes
> と出てませんか?
出てきました。なるほど、targetに はもう mingw という語ではな
いのですね。それで cygwin\usr\i686-pc-mingw32
このようなdirectoryがあるのですか。ここに /include/mingw/
のaliasが出来ているのですか。
> > gcc -mno-cygwin -D__NO_ISOCEXT -O2 -I. -I.. -DLIBRUBY_SO=\"msvcrt-ruby18.dll\" -c ../dir.c
>
> -D__NO_ISOCEXTが出てくるということはひょっとして1.8.0 preview1
> ですか?mingw32的にははっきり言ってこのpreviewは使い物になり
> ません。CVSの最新を試してください。もしくはそのtarballを。
>
> ftp://ftp.ruby-lang.org/pub/ruby/snapshot.tar.gz
preview でした。snapshot に変更しました。
> > gcc -mno-cygwin -D__NO_ISOCEXT -O2 -I. -I.. -DLIBRUBY_SO=\"msvcrt-ruby18.dll\" -c ../dir.c
> > In file included from /usr/include/unistd.h:6,
>
> -mno-cygwinを指定しているのもかかわらず、cygwinの
> /usr/include/unistd.hを見つけてしまっているのは、gccのイ
> ンストールが失敗している可能性があります。もしくは
> mingw-runtimeをインストールしてないとか。
> #本来なら/usr/include/mingw/unistd.hが見つからないとまずい。
mingw-runtime は入っていましたので、".bashrc"の
export C_INCLUDE_PATH=/usr/include/mingw:/usr/include
のところの
mingw の順番が後ろであったのを前に持って来ましたらここは
綺麗にパスしました。
ところが、ext に入ってたちまち以下のようになりました。
compiling win32ole
compiling tk
make[1]: 入ります ディレクトリ `/rubysnapshot/mingw/ext/tk'
gcc -mno-cygwin -DIMPORT -O2 -I. -IF:/cygwin/rubysnapshot/mingw -IF:/cygwin/rubysnapshot -IF:/cygwin/rubysnapshot/ext/tk -c /rubysnapshot/ext/tk/tkutil.c
In file included from F:/cygwin/rubysnapshot/defines.h:120,
from F:/cygwin/rubysnapshot/ruby.h:22,
from /rubysnapshot/ext/tk/tkutil.c:11:
F:/cygwin/rubysnapshot/win32/win32.h:32:21: windows.h: No such file or directory
F:/cygwin/rubysnapshot/win32/win32.h:33:21: winsock.h: No such file or directory
In file included from F:/cygwin/rubysnapshot/defines.h:120,
from F:/cygwin/rubysnapshot/ruby.h:22,
from /rubysnapshot/ext/tk/tkutil.c:11:
F:/cygwin/rubysnapshot/win32/win32.h:143: warning: `struct sockaddr' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:143: warning: its scope is only this definition or declaration, which is probably not what you want
F:/cygwin/rubysnapshot/win32/win32.h:144: warning: `struct sockaddr' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:145: warning: `struct sockaddr' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:146: parse error before "fd_set"
F:/cygwin/rubysnapshot/win32/win32.h:147: parse error before "fd_set"
F:/cygwin/rubysnapshot/win32/win32.h:148: parse error before "fd_set"
F:/cygwin/rubysnapshot/win32/win32.h:149: parse error before "fd_set"
F:/cygwin/rubysnapshot/win32/win32.h:150: warning: `struct sockaddr' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:151: warning: `struct sockaddr' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:153: parse error before "u_long"
F:/cygwin/rubysnapshot/win32/win32.h:156: warning: `struct sockaddr' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:158: warning: `struct sockaddr' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:162: parse error before "rb_w32_get_osfhandle"
F:/cygwin/rubysnapshot/win32/win32.h:162: warning: data definition has no type or storage class
F:/cygwin/rubysnapshot/win32/win32.h:177: warning: `struct timeval' declared inside parameter list
F:/cygwin/rubysnapshot/win32/win32.h:453: parse error before "GetCurrentThreadHandle"
F:/cygwin/rubysnapshot/win32/win32.h:453: warning: data definition has no type or storage class
F:/cygwin/rubysnapshot/win32/win32.h:471: parse error before '*' token
F:/cygwin/rubysnapshot/win32/win32.h:471: parse error before "self"
F:/cygwin/rubysnapshot/win32/win32.h:471: `DWORD' declared as function returning a function
F:/cygwin/rubysnapshot/win32/win32.h:472: parse error before "func"
F:/cygwin/rubysnapshot/win32/win32.h:472: `rb_w32_asynchronize' declared as function returning a function
make[1]: *** [tkutil.o] エラー 1
make[1]: 出ます ディレクトリ `/rubysnapshot/mingw/ext/tk'
make: *** [all] エラー 1
何か一つ一つお聞きするようで、心苦しく、申し訳ありませんが。
ご指導よろしくお願いいたします。
-------========--------
mitsu5
mitsu5@ruby.famille.ne.jp