サイログ。

~雑多な記事置き場~

Ruby1.9 上のopensslライブラリがビルドできない。

現在、VisualStudio2008でRuby1.9.1 preview1をビルドしようと奮戦中。

ところが、何故か、opensslをビルドしようとするとx509あたりでエラーが出る。
ここらへんは詳しくないのでお手上げ!

参考にしている日記は↓を参照
http://d.hatena.ne.jp/OkadaHiroshi/20080817/p1

        cl -nologo -I. -Ic:/ruby-dev/ruby19/include/ruby-1.9.1/i386-mswin32_90 -
Ic:/ruby-dev/ruby19/include/ruby-1.9.1/ruby/backward -Ic:/ruby-dev/ruby19/includ
e/ruby-1.9.1 -I. -MD -Zi -DWIN32_LEAN_AND_MEAN -O2b2xty-  -Zm200 -DRUBY_EXTCONF_
H=\"extconf.h\" -Ic:/ruby-dev/ruby19/include -D_CRT_SECURE_NO_DEPRECATE -D_CRT_N
ONSTDC_NO_DEPRECATE -Foossl_x509attr.obj -c -Tcossl_x509attr.c
ossl_x509attr.c
ossl_x509attr.c(190) : error C2039: 'set' : 'x509_attributes_st' のメンバではあ
りません。
        c:\ruby-dev\ruby19\include\openssl/x509.h(214) : 'x509_attributes_st' の
宣言を確認してください。
ossl_x509attr.c(193) : error C2039: 'set' : 'x509_attributes_st' のメンバではあ
りません。
        c:\ruby-dev\ruby19\include\openssl/x509.h(214) : 'x509_attributes_st' の
宣言を確認してください。
ossl_x509attr.c(213) : error C2039: 'set' : 'x509_attributes_st' のメンバではあ
りません。
        c:\ruby-dev\ruby19\include\openssl/x509.h(214) : 'x509_attributes_st' の
宣言を確認してください。
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\
VC\BIN\cl.EXE"' : リターン コード '0x2'
Stop.