Problem Installing GTK+ / WindowsXP

P

Pafo007

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/?group_id=167
2) next ruby/Gtk2 for windows, ruby-gtk2-0.12.0-1-i386-msvcrt-1.8.zip
at http://sourceforge.net/project/showfiles.php?group_id=53614
3) and then the GTK+ Runtime Environment
gtk-win/GTK-Runtime-Environment-2.2.4-3.exe at
http://www.dropline.net/gtk/download.php

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
 
J

Joao Pedrosa

Hi,

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.sourceforge.net/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-gnome2-devel-en

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
 
P

Pafo007

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-gnome2-devel-en

Thank you
 
F

Fopa

Pafo007 a écrit :
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-gnome2-devel-en

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top