[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Problem Installing GTK+ / WindowsXP

Pafo007

4/13/2005 7:21:00 PM

Hello.

Just a small problem, installing GTK+ under Windows.

1) i donwloaded and installed the last ruby version
(one-click-installer) ruby182-14.exe at
http://rubyforge.org/frs/?gr...
2) next ruby/Gtk2 for windows, ruby-gtk2-0.12.0-1-i386-msvcrt-1.8.zip
at http://sourceforge.net/project/showfiles.php?grou...
3) and then the GTK+ Runtime Environment
gtk-win/GTK-Runtime-Environment-2.2.4-3.exe at
http://www.dropline.net/gtk/do...

Now i run the tests:

1) ruby -v --> ok

2) ruby -e "require 'Gtk2'" -->

d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/glib2.so: 127:
procedure not found. -
d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/i386-msvcrt/glib2.so
(LoadError)
from
d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:6:in`require'
from d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/glib2.rb:68
from
d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:6:in`require__'
from
d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:6:in`require'
from d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/Gtk2.rb:1
from
d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:6:in`require__'
from
d:/#utilitaires/ruby/lib/ruby/site_ruby/1.8/rubygems/loadpath_manager.rb:6:in`require'
from -e:1

Does someone have a way to continue?
Thank you.

Pafo

--
Ceci est une signature automatique de MesNews.
Site : http://mesnews...

5 Answers

Joao Pedrosa

4/13/2005 7:33:00 PM

0

Hi,

On 4/13/05, Pafo007 <Pafo007@wanadoo.point.fr> wrote:
> Hello.
>
> Just a small problem, installing GTK+ under Windows.

The Dropline packages aren't supported anymore, see:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+f...
http://gladewin32.source...

For the supported GTK+ packages. :-)

Cheers,
Joao



Pafo007

4/13/2005 8:11:00 PM

0

> The Dropline packages aren't supported anymore, see:
> http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+f...
> http://gladewin32.source...
>
> For the supported GTK+ packages. :-)
>
> Cheers,
> Joao

Thank you, i tried these packages, and replaced my dropline one by
gtk-win32-aio-2.4-rc22.exe . I get now exactly the same error :)
I think I'm going back to Tk :-/

--
Ceci est une signature automatique de MesNews.
Site : http://mesnews...

Joao Pedrosa

4/13/2005 9:06:00 PM

0

Hi,

On 4/13/05, Pafo007 <Pafo007@wanadoo.point.fr> wrote:
> > The Dropline packages aren't supported anymore, see:
> > http://ruby-gnome2.sourceforge.jp/hiki.cgi?Install+Guide+f...
> > http://gladewin32.source...
> >
> > For the supported GTK+ packages. :-)
> >
> > Cheers,
> > Joao
>
> Thank you, i tried these packages, and replaced my dropline one by
> gtk-win32-aio-2.4-rc22.exe . I get now exactly the same error :)
> I think I'm going back to Tk :-/

Sorry about that.
I use Ruby-GNOME2 on Linux and on Windows, but currently I'm using
mostly the 2.6.x versions of GTK+:

C:\>irb
irb(main):001:0> require 'gtk2'
=> true
irb(main):002:0> Gtk::VERSION
=> [2, 6, 4]

Maybe you could give the 2.6.4 version a shot?
http://gladewin32.source...modules.php?name=Downloads&d_op=getit&lid=76

Please join the Ruby-GNOME2 mailing list that I'm sure there are some
people that would be glad to help you further:
http://lists.sourceforge.net/mailman/listinfo/ruby-gnome...

Maybe later I'll try to reproduce the problem that you are having with
the 2.4.x version, but right now I'm doing something else and I really
don't want to close the Windows to downgrade the GTK+ version. :-)

Cheers,
Joao



Pafo007

4/14/2005 6:31:00 PM

0

> Maybe you could give the 2.6.4 version a shot?
>
> Maybe later I'll try to reproduce the problem that you are having with
> the 2.4.x version, but right now I'm doing something else and I really
> don't want to close the Windows to downgrade the GTK+ version. :-)
>
> Cheers,
> Joao

I thank you for your help. I tried yesterday "2.6.4 rc3" whitch gave
the same bad result. And this evening "2.6.4 rc2" too.
I've joined the Ruby-GNOME2 mailing list :
http://lists.sourceforge.net/mailman/listinfo/ruby-gnome...

Thank you

--
Ceci est une signature automatique de MesNews.
Site : http://mesnews...

Fopa1 at wanadoo dot fr

4/16/2005 12:59:00 PM

0

Pafo007 a écrit :
>> Maybe you could give the 2.6.4 version a shot?
>>
>> Maybe later I'll try to reproduce the problem that you are having with
>> the 2.4.x version, but right now I'm doing something else and I really
>> don't want to close the Windows to downgrade the GTK+ version. :-)
>>
>> Cheers,
>> Joao
> I thank you for your help. I tried yesterday "2.6.4 rc3" whitch gave the
> same bad result. And this evening "2.6.4 rc2" too.
> I've joined the Ruby-GNOME2 mailing list :
> http://lists.sourceforge.net/mailman/listinfo/ruby-gnome...
>
> Thank you

Ok, problem solved:
1) I found 3 versions of libgobject-2.0-0.dll on my disks: one in
c:\windows\system32 (??), one in an "ethereal" folder (whitch I
uninstalled), and one in the right folder gtk\bin. I deleted the two first.
2) I found 2 versions of iconv?dll: one in c:\windows\system32 and one
in gtk\bin. I deleted the first and all tests go well!
Great thanks to Masao Mutoh