FxRuby failing on Ruby 1.9.1 windows

View: New views
4 Messages — Rating Filter:   Alert me  

FxRuby failing on Ruby 1.9.1 windows

by Janos Sebok :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all.

I am new to FxRuby, and trying to install the toolkit.

I'm running winXP
>ruby -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

>gem -v
1.3.3

>gem list

*** LOCAL GEMS ***

fxruby (1.6.19)
rubygems-update (1.3.3)

---
My problem is: require 'fox16' fails with a OS error message complaining
"Can not start application because msvcrt-ruby18.dll is not found". After closing the error window the console reads:

>ruby test.rb
test.rb:2:in `require': 126: A megadott modul nem talalhato(which means module not found).   - d:/Ruby/Vm/1.9.1-p0/lib/ruby/gems/1.9.1/gems/fxruby-1.6
.19-x86-mswin32-60/ext/fox16/fox16.so (LoadError)
        from test.rb:2:in `<main>'

fox16.so is right where it is looked for, but it is linking to msvcrt-ruby18.dll.
Of course the 1.8 dll is not present. What may cause this? I remember to have read FxRuby is Ruby 1.9 compatible for a while.

The very same gem works just fine on Ruby 1.8.7-p72.

Any help appreciated,
Thank you
--
Janos

_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: FxRuby failing on Ruby 1.9.1 windows

by Lyle Johnson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On May 17, 2009, at 12:40 PM, Janos Sebok wrote:

> Hi all.
>
> I am new to FxRuby, and trying to install the toolkit.
>
> I'm running winXP
> >ruby -v
> ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]
>
> >gem -v
> 1.3.3
>
> >gem list
>
> *** LOCAL GEMS ***
>
> fxruby (1.6.19)
> rubygems-update (1.3.3)
>
> ---
> My problem is: require 'fox16' fails with a OS error message  
> complaining
> "Can not start application because msvcrt-ruby18.dll is not found".  
> After closing the error window the console reads:
>
> >ruby test.rb
> test.rb:2:in `require': 126: A megadott modul nem talalhato(which  
> means module not found).   - d:/Ruby/Vm/1.9.1-p0/lib/ruby/gems/1.9.1/
> gems/fxruby-1.6
> .19-x86-mswin32-60/ext/fox16/fox16.so (LoadError)
>         from test.rb:2:in `<main>'
>
> fox16.so is right where it is looked for, but it is linking to  
> msvcrt-ruby18.dll.
> Of course the 1.8 dll is not present. What may cause this? I  
> remember to have read FxRuby is Ruby 1.9 compatible for a while.

The FXRuby source code is compatible with Ruby 1.9; it can be compiled  
for use with Ruby 1.9.

The FXRuby binary gem for Windows is built for use with the One-Click  
Installer for Ruby (on Windows), which is based on Ruby 1.8.6. If you  
need a version of FXRuby that works with your Ruby 1.9 on Windows,  
you'll need to compile it yourself (or get someone else to).

> The very same gem works just fine on Ruby 1.8.7-p72.

Yes, this is not too surprising, since there were few ABI changes  
between Ruby 1.8.6 and Ruby 1.8.7.
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: FxRuby failing on Ruby 1.9.1 windows

by Janos Sebok :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That makes sense, I'll try compling it.

Thanks Lyle

On Mon, May 18, 2009 at 5:47 PM, Lyle Johnson <lyle@...> wrote:

On May 17, 2009, at 12:40 PM, Janos Sebok wrote:

Hi all.

I am new to FxRuby, and trying to install the toolkit.

I'm running winXP
>ruby -v
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]

>gem -v
1.3.3

>gem list

*** LOCAL GEMS ***

fxruby (1.6.19)
rubygems-update (1.3.3)

---
My problem is: require 'fox16' fails with a OS error message complaining
"Can not start application because msvcrt-ruby18.dll is not found". After closing the error window the console reads:

>ruby test.rb
test.rb:2:in `require': 126: A megadott modul nem talalhato(which means module not found).   - d:/Ruby/Vm/1.9.1-p0/lib/ruby/gems/1.9.1/gems/fxruby-1.6
.19-x86-mswin32-60/ext/fox16/fox16.so (LoadError)
       from test.rb:2:in `<main>'

fox16.so is right where it is looked for, but it is linking to msvcrt-ruby18.dll.
Of course the 1.8 dll is not present. What may cause this? I remember to have read FxRuby is Ruby 1.9 compatible for a while.

The FXRuby source code is compatible with Ruby 1.9; it can be compiled for use with Ruby 1.9.

The FXRuby binary gem for Windows is built for use with the One-Click Installer for Ruby (on Windows), which is based on Ruby 1.8.6. If you need a version of FXRuby that works with your Ruby 1.9 on Windows, you'll need to compile it yourself (or get someone else to).


The very same gem works just fine on Ruby 1.8.7-p72.

Yes, this is not too surprising, since there were few ABI changes between Ruby 1.8.6 and Ruby 1.8.7.
_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users



--
Üdv,
Sebi

_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users

Re: FxRuby failing on Ruby 1.9.1 windows

by Melton, Ryan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Lyle,

 

Any timeline for releasing FXRuby 1.6.20 (including the patches I sent)?

 

Thanks,

Ryan


This message and any enclosures are intended only for the addressee.  Please  
notify the sender by email if you are not the intended recipient.  If you are  
not the intended recipient, you may not use, copy, disclose, or distribute this  
message or its contents or enclosures to any other person and any such actions  
may be unlawful.  Ball reserves the right to monitor and review all messages  
and enclosures sent to or from this email address.

_______________________________________________
fxruby-users mailing list
fxruby-users@...
http://rubyforge.org/mailman/listinfo/fxruby-users