読者です 読者をやめる 読者になる 読者になる

basyura's blog

あしたになったらほんきだす。

1.9.2 の make で失敗 win32ole が原因?

cygwin ruby

cygwin 環境で rvm を使って ruby 1.9.2 を入れようとしているんだけど、win32ole の make 時にこけて入らない。

  • 手持ちの他2つの cygwin 環境では入った
  • ext/win32ole フォルダを消して make すれば入る

make のログを見てもよく分からない orz

[2010-09-22 16:35:59] make
file.c: In function ‘file_expand_path’:
file.c:3085: 警告: ‘cygwin_conv_to_win32_path’ is deprecated (declared at /usr/include/sys/cygwin.h:34)
file.c: In function ‘ruby_find_basename’:
file.c:3451: 警告: ‘f’ may be used uninitialized in this function
file.c: In function ‘file_expand_path’:
file.c:2844: 警告: ‘b’ may be used uninitialized in this function
process.c: In function ‘p_uid_change_privilege’:
process.c:4117: 警告: 条件式に符合付き型と符合無し型とがあります
process.c:4118: 警告: 条件式に符合付き型と符合無し型とがあります
process.c:4120: 警告: 条件式に符合付き型と符合無し型とがあります
process.c: In function ‘p_gid_change_privilege’:
process.c:4736: 警告: 条件式に符合付き型と符合無し型とがあります
process.c:4737: 警告: 条件式に符合付き型と符合無し型とがあります
process.c:4739: 警告: 条件式に符合付き型と符合無し型とがあります
ruby.c: In function ‘push_include_cygwin’:
ruby.c:258: 警告: ‘cygwin_conv_to_posix_path’ is deprecated (declared at /usr/include/sys/cygwin.h:38)
ruby.c: In function ‘ruby_init_loadpath_safe’:
ruby.c:404: 警告: ‘cygwin_conv_to_posix_path’ is deprecated (declared at /usr/include/sys/cygwin.h:38)
signal.c: In function ‘ruby_signal’:
signal.c:470: 警告: assignment from incompatible pointer type
strftime.c:135: 警告: ‘_tzname’ redeclared without dllimport attribute: previous dllimport ignored
util.c: In function ‘ruby_add_suffix’:
util.c:280: 警告: 符合付きと符合無しとの比較です
util.c:316: 警告: passing argument 2 of ‘ruby_find_basename’ from incompatible pointer type
ossl_hmac.c: In function ‘ossl_hmac_hexdigest’:
ossl_hmac.c:162: 警告: 符合付きと符合無しとの比較です
ossl_hmac.c: In function ‘ossl_hmac_s_hexdigest’:
ossl_hmac.c:225: 警告: 符合付きと符合無しとの比較です
ossl_pkcs7.c: In function ‘ossl_pkcs7_sym2typeid’:
ossl_pkcs7.c:376: 警告: 符合付きと符合無しとの比較です
ossl_pkey_ec.c: In function ‘ossl_ec_group_set_seed’:
ossl_pkey_ec.c:1110: 警告: 符合付きと符合無しとの比較です
ossl_ssl_session.c: In function ‘ossl_ssl_session_to_der’:
ossl_ssl_session.c:208: 警告: 符合付きと符合無しとの比較です
libyaml is missing. Please install libyaml.
_sdbm.c: In function ‘chkpage’:
_sdbm.c:864: 警告: 符合付きと符合無しとの比較です
unixsocket.c: In function ‘unix_recv_io’:
unixsocket.c:342: 警告: 符合付きと符合無しとの比較です
unixsocket.c:357: 警告: 符合付きと符合無しとの比較です
unixsocket.c:362: 警告: 符合付きと符合無しとの比較です
ancdata.c: In function ‘bsock_recvmsg_internal’:
ancdata.c:1600: 警告: 符合付きと符合無しとの比較です
raddrinfo.c: In function ‘init_addrinfo’:
raddrinfo.c:580: 警告: 符合付きと符合無しとの比較です
raddrinfo.c: In function ‘inspect_sockaddr’:
raddrinfo.c:938: 警告: 符合付きと符合無しとの比較です
raddrinfo.c:951: 警告: 符合付きと符合無しとの比較です
raddrinfo.c:964: 警告: 符合付きと符合無しとの比較です
raddrinfo.c:986: 警告: 符合付きと符合無しとの比較です
rubyext.c: In function ‘mktime_do’:
rubyext.c:278: 警告: 符合付きと符合無しとの比較です
win32ole.o: In function `load_conv_function51932':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
win32ole.o: In function `fole_activex_initialize':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:4762: undefined reference to `_IID_IPersistMemory'
win32ole.o: In function `mf_QueryInterface':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:597: undefined reference to `_IID_IUnknown'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:597: undefined reference to `_IID_IMessageFilter'
win32ole.o: In function `QueryInterface':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:699: undefined reference to `_IID_IUnknown'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:699: undefined reference to `_IID_IDispatch'
win32ole.o: In function `EVENTSINK_QueryInterface':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:7571: undefined reference to `_IID_IUnknown'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:7571: undefined reference to `_IID_IDispatch'
win32ole.o: In function `fole_each':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:4014: undefined reference to `_GUID_NULL'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:4031: undefined reference to `_IID_IEnumVARIANT'
win32ole.o: In function `load_conv_function51932':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
win32ole.o: In function `find_default_source':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:8174: undefined reference to `_IID_IProvideClassInfo2'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:8190: undefined reference to `_IID_IProvideClassInfo'
win32ole.o: In function `ev_advise':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:8308: undefined reference to `_IID_IConnectionPointContainer'
win32ole.o: In function `load_conv_function51932':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
win32ole.o: In function `ole_create_dcom':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:2615: undefined reference to `_IID_IDispatch'
win32ole.o: In function `fole_initialize':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:3248: undefined reference to `_IID_IDispatch'
win32ole.o: In function `load_conv_function51932':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:934: undefined reference to `_CLSID_CMultiLanguage'
win32ole.o: In function `fole_respond_to':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:4516: undefined reference to `_GUID_NULL'
win32ole.o: In function `ole_variant2val':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:2262: undefined reference to `_IID_IDispatch'
win32ole.o: In function `ole_invoke':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:3392: undefined reference to `_GUID_NULL'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:3450: undefined reference to `_GUID_NULL'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:3364: undefined reference to `_GUID_NULL'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:3467: undefined reference to `_GUID_NULL'
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:3506: undefined reference to `_GUID_NULL'
win32ole.o:/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:3481: more undefined references to `_GUID_NULL' follow
win32ole.o: In function `fole_s_connect':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:2718: undefined reference to `_IID_IDispatch'
win32ole.o: In function `ole_bind_obj':
/home/Administrator/.rvm/src/ruby-1.9.2-p0/ext/win32ole/win32ole.c:2656: undefined reference to `_IID_IDispatch'
collect2: ld はステータス 1 で終了しました
make[1]: *** [../../.ext/i386-cygwin/win32ole.so] エラー 1
make: *** [mkmain.sh] エラー 1