Roger Pack
2009-Aug-01 11:34 UTC
[Rubyinstaller-devel] eventmachine gem can not work with OCI 1.9.1p129
2009/7/29 phoenix <wujunchen at gmail.com>:> I can install eventmachine in? OCI 1.9.1p129 with --platform=mswin32,but > eventmachine can not work in this way. > And if install it not use --platform=mswin32,it can not be installed.Interesting. I''ll email the EM guys about it. I suppose in the near future we can hope for the devkit gem to be able to install openssl locally if desired, so it can compile locally :) ? C:\dev\ruby>gem install eventmachine Building native extensions. This could take a while... ERROR: Error installing eventmachine: ERROR: Failed to build gem native extension. ... g++ -I. -IC:/Ruby/include/ruby-1.9.1/i386-mingw32 -I/C/Ruby/include/ruby-1.9.1/ruby/backward -I/C/Ruby/include/ruby-1.9.1 -I. -DBUILD_FOR_RUBY -DHAVE_RB_THREAD_BLOCKING_REGION -DHAVE_TBR -DOS_WIN32 -DHAVE_WINDOWS_H -DHAVE_WINSOCK_H -DWITH_SSL -O2 -g -Wall -Wno-parentheses -o binder.o -c binder.cpp In file included from binder.cpp:20: project.h:26: warning: ignoring #pragma warning In file included from binder.cpp:20: project.h:92:25: openssl/ssl.h: No such file or directory
Luis Lavena
2009-Aug-02 02:50 UTC
[Rubyinstaller-devel] eventmachine gem can not work with OCI 1.9.1p129
On Sat, Aug 1, 2009 at 8:34 AM, Roger Pack<rogerdpack at gmail.com> wrote:> 2009/7/29 phoenix <wujunchen at gmail.com>: >> I can install eventmachine in? OCI 1.9.1p129 with --platform=mswin32,but >> eventmachine can not work in this way. >> And if install it not use --platform=mswin32,it can not be installed. > > Interesting. ?I''ll email the EM guys about it. >EventMachine requires OpenSSL? That bumps a bit the complexity of building the gem... I would recommend EM team build OpenSSL "statically" so it doesn''t conflict and can be shipped without DLLs.> I suppose in the near future we can hope for the devkit gem to be able > to install openssl locally if desired, so it can compile locally :) > ?No. OpenSSL requires a lot of Perl trickery. Check proper-openssl branch of the repository to see how complicated is get OpenSSL to build. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry