Hi everyone ! i can''t make wxruby work on my debian box, i installed wxruby2preview with the gem command line tool but when i try to run one of the samples, i get this error message : dialogs.rb:1:in `require'': no such file to load -- wxruby (LoadError) from dialogs.rb:1 i searched this mailing list a bit, i tried with the -rubygem argument, i get this error : /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'': no such file to load -- wxruby (LoadError) from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' from dialogs.rb:1 then i tried with the ruby shell ( irb ), i entered require ''wx'' then i get these errors LoadError: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4'' not found (required by /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.39-i686-linux/lib/wxruby2.so) - /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.39-i686-linux /lib/wxruby2.so from /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.39-i686-linux /lib/wxruby2.so from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'' from /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.39-i686-linux /lib/wx.rb:12 from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in `gem_original_require'' from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in `require'' from (irb):3 i checked my apt-get package manager, i have libc6, libc6-dev installed, i don''t know why i have these errors ( i did installed the linux-i686 version of wxruby not the windows or mac ones ) thanks _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
Philip Schalm
2007-Apr-10 17:24 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Debian sid provides glibc 2.3.6-1, so unfortunately you will be out of luck unless you feel like upgrading on your own (something I *do not* recommend - if you want to upgrade glibc you''re probably better off just installing a different distro (if this is just a personal system, Ubuntu?)) On 4/10/07, Paul CHUCKSON <music.soothes.the.soul at gmail.com> wrote:> Hi everyone ! > i can''t make wxruby work on my debian box, i installed wxruby2preview with > the gem command line tool > but when i try to run one of the samples, i get this error message : > > dialogs.rb:1:in `require'': no such file to load -- wxruby (LoadError) > from dialogs.rb:1 > > i searched this mailing list a bit, i tried with the -rubygem argument, i > get this error : > > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `gem_original_require'': no such file to load -- wxruby (LoadError) > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:27:in > `require'' > from dialogs.rb:1 > > then i tried with the ruby shell ( irb ), i entered > require ''wx'' > then i get these errors > > LoadError: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.4'' not found > (required by > /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.39-i686-linux/lib/wxruby2.so) > - > /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.39-i686-linux > /lib/wxruby2.so > from > /usr/lib/ruby/gems/1.8/gems/wxruby2-preview-0.0.39-i686-linux/lib/wxruby2.so > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in > `require'' > from /usr/lib/ruby/gems/1.8/gems/wxruby2- > preview-0.0.39-i686-linux/lib/wx.rb:12 > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in > `gem_original_require'' > from > /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:32:in > `require'' > from (irb):3 > > i checked my apt-get package manager, i have libc6, libc6-dev installed, i > don''t know why i have these errors ( i did installed the linux-i686 version > of wxruby not the windows or mac ones ) > > thanks > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- -Phil <><
Alex Fenton
2007-Apr-10 17:41 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Hi Philip Schalm wrote:> Debian sid provides glibc 2.3.6-1, so unfortunately you will be out of > luck unless you feel like upgrading on your own (something I *do not* > recommend - if you want to upgrade glibc you''re probably better off > just installing a different distro (if this is just a personal system, > Ubuntu?)) >As Philip says, the problem is that the wxruby gem is built on a system with a newer glibc than that provided by your distro. For info, it''s built on the current stable release of Ubuntu. I understand there''s recently (last few days) been a new stable release of Debian, which I would hope includes a newer glibc. Failing that, it is not too hard to compile wxRuby yourself on Linux - the wiki supplies fairly comprehensive instructions. cheers alex
Philip Schalm
2007-Apr-10 17:46 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Right, good suggestion about just compiling wxRuby :) [I forgot that part, as I once tried to upgrade glibc on a system and my mind immediately went to the headache that was] By the way, the new release of Debian still does not include glibc 2.4, and I got the part about 2.3.6 wrong -> Debian provides glibc2.2 (the documentation version number is 2.3.6) On 4/10/07, Alex Fenton <alex at pressure.to> wrote:> Hi > > Philip Schalm wrote: > > Debian sid provides glibc 2.3.6-1, so unfortunately you will be out of > > luck unless you feel like upgrading on your own (something I *do not* > > recommend - if you want to upgrade glibc you''re probably better off > > just installing a different distro (if this is just a personal system, > > Ubuntu?)) > > > As Philip says, the problem is that the wxruby gem is built on a system > with a newer glibc than that provided by your distro. For info, it''s > built on the current stable release of Ubuntu. > > I understand there''s recently (last few days) been a new stable release > of Debian, which I would hope includes a newer glibc. Failing that, it > is not too hard to compile wxRuby yourself on Linux - the wiki supplies > fairly comprehensive instructions. > > cheers > alex > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-- -Phil <><
Paul Anonymous
2007-Apr-10 20:24 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
then i''ll try to compile wxruby :) thanks 2007/4/10, Philip Schalm <pnomolos at gmail.com>:> > Right, good suggestion about just compiling wxRuby :) [I forgot that > part, as I once tried to upgrade glibc on a system and my mind > immediately went to the headache that was] > > By the way, the new release of Debian still does not include glibc > 2.4, and I got the part about 2.3.6 wrong -> Debian provides glibc2.2 > (the documentation version number is 2.3.6) > > On 4/10/07, Alex Fenton <alex at pressure.to> wrote: > > Hi > > > > Philip Schalm wrote: > > > Debian sid provides glibc 2.3.6-1, so unfortunately you will be out of > > > luck unless you feel like upgrading on your own (something I *do not* > > > recommend - if you want to upgrade glibc you''re probably better off > > > just installing a different distro (if this is just a personal system, > > > Ubuntu?)) > > > > > As Philip says, the problem is that the wxruby gem is built on a system > > with a newer glibc than that provided by your distro. For info, it''s > > built on the current stable release of Ubuntu. > > > > I understand there''s recently (last few days) been a new stable release > > of Debian, which I would hope includes a newer glibc. Failing that, it > > is not too hard to compile wxRuby yourself on Linux - the wiki supplies > > fairly comprehensive instructions. > > > > cheers > > alex > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > -- > -Phil <>< > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070410/58512502/attachment-0001.html
Paul Anonymous
2007-Apr-10 21:15 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
i just tried compiling wxruby, as explained on the website, i get these errors while compiling with rake : /usr/bin/ld: can''t find -lwx_gtk2u_xrc-2.6 collect2: ld returned 1 exit status rake aborted! Command failed with status (1): [g++ -shared -fPIC -o -rdynamic -Wl,-expo...] i checked my apt-get, i have all those package installed : wx2.6-headers wx-common libwxbase2.6 libwxbase2.6-dev libwxgtk2.6 libwxgtk2.6-dev what did i do wrong ?? thanks again 2007/4/10, Philip Schalm <pnomolos at gmail.com>:> > Right, good suggestion about just compiling wxRuby :) [I forgot that > part, as I once tried to upgrade glibc on a system and my mind > immediately went to the headache that was] > > By the way, the new release of Debian still does not include glibc > 2.4, and I got the part about 2.3.6 wrong -> Debian provides glibc2.2 > (the documentation version number is 2.3.6) > > On 4/10/07, Alex Fenton <alex at pressure.to> wrote: > > Hi > > > > Philip Schalm wrote: > > > Debian sid provides glibc 2.3.6-1, so unfortunately you will be out of > > > luck unless you feel like upgrading on your own (something I *do not* > > > recommend - if you want to upgrade glibc you''re probably better off > > > just installing a different distro (if this is just a personal system, > > > Ubuntu?)) > > > > > As Philip says, the problem is that the wxruby gem is built on a system > > with a newer glibc than that provided by your distro. For info, it''s > > built on the current stable release of Ubuntu. > > > > I understand there''s recently (last few days) been a new stable release > > of Debian, which I would hope includes a newer glibc. Failing that, it > > is not too hard to compile wxRuby yourself on Linux - the wiki supplies > > fairly comprehensive instructions. > > > > cheers > > alex > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > -- > -Phil <>< > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070410/98c52d8e/attachment.html
Sean Long
2007-Apr-10 22:16 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Paul, I don''t have a Linux machine right now but it looks like rake is looking for the unicode version of the XRC part of wxWidgets. I would check: 1) That you are in fact using the unicode build of wxWidgets 2) That the XRC part of the library is actually installed When I have used wxWidgets with Linux in the past I always compile wxWidgets myself, did not have much luck with the apt-get packages. Sean On 4/10/07, Paul Anonymous <music.soothes.the.soul at gmail.com> wrote:> i just tried compiling wxruby, as explained on the website, i get these > errors while compiling with rake : > > /usr/bin/ld: can''t find -lwx_gtk2u_xrc-2.6 > collect2: ld returned 1 exit status > rake aborted! > Command failed with status (1): [g++ -shared -fPIC -o -rdynamic > -Wl,-expo...] > > i checked my apt-get, i have all those package installed : > wx2.6-headers > wx-common > libwxbase2.6 > libwxbase2.6-dev > libwxgtk2.6 > libwxgtk2.6-dev > > what did i do wrong ?? > thanks again > > > > 2007/4/10, Philip Schalm <pnomolos at gmail.com>: > > Right, good suggestion about just compiling wxRuby :) [I forgot that > > part, as I once tried to upgrade glibc on a system and my mind > > immediately went to the headache that was] > > > > By the way, the new release of Debian still does not include glibc > > 2.4, and I got the part about 2.3.6 wrong -> Debian provides glibc2.2 > > (the documentation version number is 2.3.6) > > > > On 4/10/07, Alex Fenton <alex at pressure.to> wrote: > > > Hi > > > > > > Philip Schalm wrote: > > > > Debian sid provides glibc 2.3.6-1, so unfortunately you will be out of > > > > luck unless you feel like upgrading on your own (something I *do not* > > > > recommend - if you want to upgrade glibc you''re probably better off > > > > just installing a different distro (if this is just a personal system, > > > > Ubuntu?)) > > > > > > > As Philip says, the problem is that the wxruby gem is built on a system > > > with a newer glibc than that provided by your distro. For info, it''s > > > built on the current stable release of Ubuntu. > > > > > > I understand there''s recently (last few days) been a new stable release > > > of Debian, which I would hope includes a newer glibc. Failing that, it > > > is not too hard to compile wxRuby yourself on Linux - the wiki supplies > > > fairly comprehensive instructions. > > > > > > cheers > > > alex > > > _______________________________________________ > > > wxruby-users mailing list > > > wxruby-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > > > > > -- > > -Phil <>< > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >
Vinh CHUC
2007-Apr-10 22:43 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
the wxwidgets i use are the one provided by the debian repositories, i don''t know if this is the unicode version or not .. i did some research, the xrc part of the library is included in the contrib-dev package that i just installed, but the error message remains ... if i want to compile wxwidgets by myself, woudn''t that conflict with the wxwidgets .debs already installed ?( .deb required by some wxwidgets apps i already use ) i mean how can i replace the repository wxwidgets by the one i''ll compile, without breaking my wxwidgets apps ?? or maybe is there a way to compile wxwidgets, that i don''t install, and then i would tell rake to use this wxwidgets instead of my system''s one ?? thanks 2007/4/11, Sean Long <sean.m.long at gmail.com>:> > Paul, > > I don''t have a Linux machine right now but it looks like rake is > looking for the unicode version of the XRC part of wxWidgets. > > I would check: > > 1) That you are in fact using the unicode build of wxWidgets > 2) That the XRC part of the library is actually installed > > When I have used wxWidgets with Linux in the past I always compile > wxWidgets myself, did not have much luck with the apt-get packages. > > Sean > > On 4/10/07, Paul Anonymous <music.soothes.the.soul at gmail.com> wrote: > > i just tried compiling wxruby, as explained on the website, i get these > > errors while compiling with rake : > > > > /usr/bin/ld: can''t find -lwx_gtk2u_xrc-2.6 > > collect2: ld returned 1 exit status > > rake aborted! > > Command failed with status (1): [g++ -shared -fPIC -o -rdynamic > > -Wl,-expo...] > > > > i checked my apt-get, i have all those package installed : > > wx2.6-headers > > wx-common > > libwxbase2.6 > > libwxbase2.6-dev > > libwxgtk2.6 > > libwxgtk2.6-dev > > > > what did i do wrong ?? > > thanks again > > > > > > > > 2007/4/10, Philip Schalm <pnomolos at gmail.com>: > > > Right, good suggestion about just compiling wxRuby :) [I forgot that > > > part, as I once tried to upgrade glibc on a system and my mind > > > immediately went to the headache that was] > > > > > > By the way, the new release of Debian still does not include glibc > > > 2.4, and I got the part about 2.3.6 wrong -> Debian provides glibc2.2 > > > (the documentation version number is 2.3.6) > > > > > > On 4/10/07, Alex Fenton <alex at pressure.to> wrote: > > > > Hi > > > > > > > > Philip Schalm wrote: > > > > > Debian sid provides glibc 2.3.6-1, so unfortunately you will be > out of > > > > > luck unless you feel like upgrading on your own (something I *do > not* > > > > > recommend - if you want to upgrade glibc you''re probably better > off > > > > > just installing a different distro (if this is just a personal > system, > > > > > Ubuntu?)) > > > > > > > > > As Philip says, the problem is that the wxruby gem is built on a > system > > > > with a newer glibc than that provided by your distro. For info, it''s > > > > built on the current stable release of Ubuntu. > > > > > > > > I understand there''s recently (last few days) been a new stable > release > > > > of Debian, which I would hope includes a newer glibc. Failing that, > it > > > > is not too hard to compile wxRuby yourself on Linux - the wiki > supplies > > > > fairly comprehensive instructions. > > > > > > > > cheers > > > > alex > > > > _______________________________________________ > > > > wxruby-users mailing list > > > > wxruby-users at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > > > > > > > > > -- > > > -Phil <>< > > > _______________________________________________ > > > wxruby-users mailing list > > > wxruby-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > > > > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070411/cee9c432/attachment.html
Paul Anonymous
2007-Apr-10 23:50 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
i compiled wxwidgets, following the howto on the wxruby website, then i ran rake with the option --libdir=/pathtothenewlycompiledwxwidgets , i took twice as long as before to compile, and it ended on the same error ..... what should i do ?? thanks 2007/4/11, Vinh CHUC <vinh.chuc at gmail.com>:> > the wxwidgets i use are the one provided by the debian repositories, i > don''t know if this is the unicode version or not .. > i did some research, the xrc part of the library is included in the > contrib-dev package that i just installed, but the error message remains ... > > > if i want to compile wxwidgets by myself, woudn''t that conflict with the > wxwidgets .debs already installed ?( .deb required by some wxwidgets apps i > already use ) > i mean how can i replace the repository wxwidgets by the one i''ll compile, > without breaking my wxwidgets apps ?? > > or maybe is there a way to compile wxwidgets, that i don''t install, and > then i would tell rake to use this wxwidgets instead of my system''s one ?? > thanks > > > > 2007/4/11, Sean Long < sean.m.long at gmail.com>: > > > > Paul, > > > > I don''t have a Linux machine right now but it looks like rake is > > looking for the unicode version of the XRC part of wxWidgets. > > > > I would check: > > > > 1) That you are in fact using the unicode build of wxWidgets > > 2) That the XRC part of the library is actually installed > > > > When I have used wxWidgets with Linux in the past I always compile > > wxWidgets myself, did not have much luck with the apt-get packages. > > > > Sean > > > > On 4/10/07, Paul Anonymous < music.soothes.the.soul at gmail.com> wrote: > > > i just tried compiling wxruby, as explained on the website, i get > > these > > > errors while compiling with rake : > > > > > > /usr/bin/ld: can''t find -lwx_gtk2u_xrc- 2.6 > > > collect2: ld returned 1 exit status > > > rake aborted! > > > Command failed with status (1): [g++ -shared -fPIC -o -rdynamic > > > -Wl,-expo...] > > > > > > i checked my apt-get, i have all those package installed : > > > wx2.6-headers > > > wx-common > > > libwxbase2.6 > > > libwxbase2.6-dev > > > libwxgtk2.6 > > > libwxgtk2.6-dev > > > > > > what did i do wrong ?? > > > thanks again > > > > > > > > > > > > 2007/4/10, Philip Schalm < pnomolos at gmail.com>: > > > > Right, good suggestion about just compiling wxRuby :) [I forgot that > > > > part, as I once tried to upgrade glibc on a system and my mind > > > > immediately went to the headache that was] > > > > > > > > By the way, the new release of Debian still does not include glibc > > > > 2.4, and I got the part about 2.3.6 wrong -> Debian provides > > glibc2.2 > > > > (the documentation version number is 2.3.6) > > > > > > > > On 4/10/07, Alex Fenton <alex at pressure.to> wrote: > > > > > Hi > > > > > > > > > > Philip Schalm wrote: > > > > > > Debian sid provides glibc 2.3.6-1, so unfortunately you will be > > out of > > > > > > luck unless you feel like upgrading on your own (something I *do > > not* > > > > > > recommend - if you want to upgrade glibc you''re probably better > > off > > > > > > just installing a different distro (if this is just a personal > > system, > > > > > > Ubuntu?)) > > > > > > > > > > > As Philip says, the problem is that the wxruby gem is built on a > > system > > > > > with a newer glibc than that provided by your distro. For info, > > it''s > > > > > built on the current stable release of Ubuntu. > > > > > > > > > > I understand there''s recently (last few days) been a new stable > > release > > > > > of Debian, which I would hope includes a newer glibc. Failing > > that, it > > > > > is not too hard to compile wxRuby yourself on Linux - the wiki > > supplies > > > > > fairly comprehensive instructions. > > > > > > > > > > cheers > > > > > alex > > > > > _______________________________________________ > > > > > wxruby-users mailing list > > > > > wxruby-users at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > > > > > > > > > > > > > -- > > > > -Phil <>< > > > > _______________________________________________ > > > > wxruby-users mailing list > > > > wxruby-users at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > > > > > > > > > _______________________________________________ > > > wxruby-users mailing list > > > wxruby-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070411/bb76b39a/attachment-0001.html
Alex Fenton
2007-Apr-11 09:18 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Vinh CHUC wrote:> if i want to compile wxwidgets by myself, woudn''t that conflict with > the wxwidgets .debs already installed ?( .deb required by some > wxwidgets apps i already use ) > i mean how can i replace the repository wxwidgets by the one i''ll > compile, without breaking my wxwidgets apps ??It shouldn''t be a problem to have multiple versions of wxWidgets installed with different compile options. The designers of wxWidgets make this particularly easy on Linux and OS X, through the use of wx-config. This allows applications to compile against different installed versions. wxRuby currently will compile against the default install. You can find this out by running wx-config --list on the command line. For example, I''ve got seven different versions installed, and am currently working on the development branch of wxruby which targets 2.8 (0.0.39 targets 2.6). I get: SCIPIUS:~ alex$ wx-config --list Default config is mac-unicode-release-static-2.8 Default config will be used for output Alternate matches: mac-ansi-release-2.5 mac-ansi-release-static-2.5 mac-ansi-release-static-2.6 mac-unicode-debug-static-2.6 mac-unicode-release-static-2.6 mac-unicode-release-static-2.7 hth alex
Alex Fenton
2007-Apr-11 09:24 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Paul Anonymous wrote:> i compiled wxwidgets, following the howto on the wxruby website, then > i ran rake with the option > --libdir=/pathtothenewlycompiledwxwidgets , i took twice as long as > before to compile, and it ended on the same error .....I think the --libdir argument will not be respected by rake - so I''d guess you are still compiling against the system''s non-unicode version.> what should i do ??I''d suggest installing the newly compiled unicode wxWidgets (make install)- it should be no problem to have multiple different versions installed in parallel. Before you run rake to compile wxruby, test that wx-config returns the correct configuration (i.e. gtk-unicode-release-static) hth alex
Paul Anonymous
2007-Apr-11 13:52 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
ok i''ll try thanks again 2007/4/11, Alex Fenton <alex at pressure.to>:> > Paul Anonymous wrote: > > i compiled wxwidgets, following the howto on the wxruby website, then > > i ran rake with the option > > --libdir=/pathtothenewlycompiledwxwidgets , i took twice as long as > > before to compile, and it ended on the same error ..... > I think the --libdir argument will not be respected by rake - so I''d > guess you are still compiling against the system''s non-unicode version. > > what should i do ?? > I''d suggest installing the newly compiled unicode wxWidgets (make > install)- it should be no problem to have multiple different versions > installed in parallel. > > Before you run rake to compile wxruby, test that wx-config returns the > correct configuration (i.e. gtk-unicode-release-static) > > hth > alex > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070411/28151a2f/attachment.html
Paul Anonymous
2007-Apr-11 14:28 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
i intalled wxwidgets 2.8 static gtk unicode, the wx-config output is correct Default config is gtk2-unicode-release-static-2.8 Default config will be used for output but now i get different errors .... :''( : g++ -c -I/usr/local/lib/wx/include/gtk2-unicode-release-static-2.8-I/usr/local/include/wx- 2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -fno-strict-aliasing -O2 -fPIC -Wno-unused-function -I /usr/lib/r uby/1.8 -I /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/bin -I /usr/lib/ruby/gems/1.8/gems/rake-0.7.2/lib -I /usr/local/lib/s ite_ruby/1.8 -I /usr/local/lib/site_ruby/1.8/i486-linux -I /usr/local/lib/site_ruby/1.8/i386-linux -I /usr/local/lib/si te_ruby -I /usr/lib/ruby/1.8 -I /usr/lib/ruby/1.8/i486-linux -I /usr/lib/ruby/1.8/i386-linux -I . -I /home/chucky/Deskt op/temp/wxruby2/doc/lib -o obj/CheckListBox.o src/CheckListBox.cpp src/CheckListBox.h:35: error: conflicting return type specified for ''virtual int SwigDirector_wxCheckListBox::GetCount( ) const'' /usr/local/include/wx-2.8/wx/gtk/listbox.h:68: error: overriding ''virtual unsigned int wxListBox::GetCount() const'' src/CheckListBox.cpp: In function ''VALUE _wrap_wxCheckListBox_HitTest__SWIG_1(int, VALUE*, VALUE)'': src/CheckListBox.cpp:3348: error: no matching function for call to ''wxCheckListBox::HitTest(wxCoord&, wxCoord&) const'' /usr/local/include/wx-2.8/wx/listbox.h:107: note: candidates are: int wxListBoxBase::HitTest(const wxPoint&) const rake aborted! Command failed with status (1): [g++ -c -I/usr/local/lib/wx/include/gtk2-...] i checked that directory /usr/local/lib/wx/include/gtk2-unicode-release-static-2.8/wx/setup.h maybe it''s this file which cause a problem ?? p.s. the wxwidgets make install didn''t install wxwidgets to the right directory ( not detected by wx-config ), i had to move the wx-2.8 folder from /usr/local/include to /usr/include, and then it was detected by wx-config thanks in advance 2007/4/11, Paul Anonymous <music.soothes.the.soul at gmail.com>:> > ok i''ll try > thanks again > > 2007/4/11, Alex Fenton <alex at pressure.to>: > > > > Paul Anonymous wrote: > > > i compiled wxwidgets, following the howto on the wxruby website, then > > > i ran rake with the option > > > --libdir=/pathtothenewlycompiledwxwidgets , i took twice as long as > > > before to compile, and it ended on the same error ..... > > I think the --libdir argument will not be respected by rake - so I''d > > guess you are still compiling against the system''s non-unicode version. > > > what should i do ?? > > I''d suggest installing the newly compiled unicode wxWidgets (make > > install)- it should be no problem to have multiple different versions > > installed in parallel. > > > > Before you run rake to compile wxruby, test that wx-config returns the > > correct configuration (i.e. gtk-unicode-release-static) > > > > hth > > alex > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/wxruby-users > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070411/4ad08bd5/attachment.html
Alex Fenton
2007-Apr-12 09:11 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Paul Anonymous wrote:> i intalled wxwidgets 2.8 static gtk unicode, the wx-config output is > correct > > Default config is gtk2-unicode-release-static-2.8 > Default config will be used for outputThat looks good, but I''m afraid the 0.0.39 release requires wxWidgets 2.6.3, not 2.8. I think the errors are because of that. You can either 1) compile wxWidgets 2.6.3 using the same options and install it alongside the 2.8 you''ve built 2) download the wxwidgets_282 branch from wxruby''s subversion repo, which targets wxWidgets 2.8 I''d recommend option 1) as the development branch may be less stable. And you''ll have wxWidgets 2.8 ready for the next wxruby release... Alex
Paul Anonymous
2007-Apr-12 10:50 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
i can''t believe it, it works !!!!!!!!!!!!!!!!!!!! thank you so much !! if you want i can give you the .gem ( if others glibc<<2.4 users can''t run wxruby like me ) 2007/4/12, Alex Fenton <alex at pressure.to>:> > Paul Anonymous wrote: > > i intalled wxwidgets 2.8 static gtk unicode, the wx-config output is > > correct > > > > Default config is gtk2-unicode-release-static-2.8 > > Default config will be used for output > That looks good, but I''m afraid the 0.0.39 release requires wxWidgets > 2.6.3, not 2.8. I think the errors are because of that. > > You can either > 1) compile wxWidgets 2.6.3 using the same options and install it > alongside the 2.8 you''ve built > 2) download the wxwidgets_282 branch from wxruby''s subversion repo, > which targets wxWidgets 2.8 > > I''d recommend option 1) as the development branch may be less stable. > And you''ll have wxWidgets 2.8 ready for the next wxruby release... > > Alex > > > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/wxruby-users/attachments/20070412/b4ee14b4/attachment.html
Alex Fenton
2007-Apr-12 11:13 UTC
[Wxruby-users] Wxruby doesn''t work on my Debian sid ( glibc error )
Paul Anonymous wrote:> i can''t believe it, it works !!!!!!!!!!!!!!!!!!!!Great, glad it all worked out in the end. Thanks for your patience.> if you want i can give you the .gem ( if others glibc<<2.4 users can''t > run wxruby like me )That''s a kind offer, thanks. I don''t think the gems distribution system will be able to tell the two gem files apart if we put it on rubyforge - we''ve had a few problems with this in the past - but I''m sure the binary gem and/or the details on the mailing list will be helpful to anyone else on a similar Linux distro. alex