[[OS/Windows/MinGW]]

*ruby インストール (MinGW) [#b4a9c017]

**事前準備 [#w89599e3]
必要そうなライブラリを mingw-get でインストールする
以下のものはソースからインストールする
yaml
openssl
fbopenssl
curl

**yaml [#va79cafe]
-ダウンロード先
http://yaml.org/
-コンパイル・インストール方法
 ./configure --enable-static --disable-shared CFLAGS=-DYAML_DECLARE_STATIC
 make
 make install

**openssl [#gf7c8d9c]
-ダウンロード先
http://www.openssl.org/
1.xx を入れる
-コンパイル・インストール方法
 sh ./config no-shared
 make
 make test
 make install_sw

**fbopenssl [#z34d0949]
-ダウンロード先
http://sourceforge.net/projects/modgssapache/files/fbopenssl/
にあるけど, openssl 1.xx だと多分エラーになると思う.
⇒ 少し修正したものを添付する.
&ref(fbopenssl-0.0.4-mingw.tar.gz);
-コンパイル・インストール方法
 make
 pushd test/makespnego
 make
 ./test.pl
 popd
 pushd test/parsespnego
 make
 ./test.pl
 popd

**curl [#h9175942]
-ダウンロード先
-コンパイル・インストール方法
 ./configure --disable-shared --enable-FEATURE=yes --with-PACKAGE=yes --with-zlib=/usr/lib --with-ssl=/usr/local/ssl --with-gssapi --with-spnego=/usr/local/lib --enable-ipv6 
↓以下のようなオプションでコンパイルするよ!って表示されます.
 curl version:     7.33.0
 Host setup:       i686-pc-mingw32
 Install prefix:   /usr/local
 Compiler:         gcc
 SSL support:      enabled (OpenSSL)
 SSH support:      no      (--with-libssh2)
 zlib support:     enabled
 GSSAPI support:   no      (--with-gssapi)
 SPNEGO support:   enabled
 TLS-SRP support:  enabled
 resolver:         default (--enable-ares / --enable-threaded-resolver)
 ipv6 support:     enabled
 IDN support:      no      (--with-{libidn,winidn})
 Build libcurl:    Shared=no, Static=yes
 Built-in manual:  no      (--enable-manual)
 --libcurl option: enabled (--disable-libcurl-option)
 Verbose errors:   enabled (--disable-verbose)
 SSPI support:     no      (--enable-sspi)
 ca cert bundle:   no
 ca cert path:     no
 LDAP support:     enabled (winldap)
 LDAPS support:    enabled
 RTSP support:     enabled
 RTMP support:     no      (--with-librtmp)
 metalink support: no      (--with-libmetalink)
 HTTP2 support:    disabled (--with-nghttp2)
 Protocols:        DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS P
OP3 POP3S RTSP SMTP SMTPS TELNET TFTP

 make
 make install


トップ   一覧 検索 最終更新   ヘルプ   最終更新のRSS