From: nobu.nokada@... Date: 2003-01-30T02:03:17+09:00 Subject: Re: WIN32OLE and CrossoverOffice (wine) Hi, At Wed, 29 Jan 2003 20:25:29 +0900, Antti Karanta wrote: > > ruby extconf.rb --with-opt-dir=/opt/wine > checking for main() in -lole32... no > > ruby extconf.rb --with-opt-include=/opt/wine/include > > --with-opt-lib=/opt/wine/lib > checking for main() in -lole32... no > > ls /opt/wine/ > VERSION bin doc gnome include kde lib man personal share Now I tried with win32ole in recent CVS, and succeeded to compile but segfaulted. $ ruby ~/src/ruby/current/ext/win32ole/extconf.rb --with-opt-include=/usr/include/wine --with-opt-lib=/usr/lib/wine checking for main() in -lole32... yes checking for main() in -loleaut32... yes checking for main() in -luuid... yes checking for main() in -luser32... yes checking for main() in -lkernel32... yes checking for main() in -ladvapi32... yes creating Makefile $ make gcc -fPIC -pipe -march=i686 -ggdb -g3 -ffast-math -O3 -fomit-frame-pointer -mpreferred-stack-boundary=2 -fPIC -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I/home/nobu/src/ruby/current/ext/win32ole -I/usr/include/wine -c /home/nobu/src/ruby/current/ext/win32ole/win32ole.c gcc -shared -rdynamic -L"/usr/lib/wine" -L"/usr/lib" -o win32ole.so win32ole.o -lruby-1.8 -ladvapi32 -lkernel32 -luser32 -luuid -loleaut32 -lole32 -ldl -lcrypt -lm -lc $ ruby -rwin32ole -e 'p Win32OLE' ./win32ole.so: [BUG] Segmentation fault ruby 1.8.0 (2003-01-27) [i686-linux] Aborted (core dumped) I have no idea about this. -- Nobu Nakada