Hi I''m pleased to let you know that wxruby2-preview 0.0.36 is now available on Rubyforge. Binary gems to follow... To check out a clean copy from SVN and build from source: svn co svn://rubyforge.org/var/svn/wxruby/tags/wxruby2/0.0.36 cd 0.0.36 rake gem WXRUBY_VERSION=0.0.36 From my reading of SVN docs it''s probably wise for developers to checkout anonymously as a bit of protection against accidentally committing on a tag. Thanks very much to all (esp Roy) for patches contributed to this release. alex
Alex, Since I didn''t hear back from you I went ahead and uploaded it to rubyforge. Didn''t want anyone to snag the bad version. Roy Alex Fenton wrote:> Hi > > I''m pleased to let you know that wxruby2-preview 0.0.36 is now available > on Rubyforge. Binary gems to follow... > > To check out a clean copy from SVN and build from source: > > svn co svn://rubyforge.org/var/svn/wxruby/tags/wxruby2/0.0.36 > cd 0.0.36 > rake gem WXRUBY_VERSION=0.0.36 > > From my reading of SVN docs it''s probably wise for developers to > checkout anonymously as a bit of protection against accidentally > committing on a tag. > > Thanks very much to all (esp Roy) for patches contributed to this release. > > alex > > > > > > > > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > > >
Alex Fenton wrote:> Hi > > I''m pleased to let you know that wxruby2-preview 0.0.36 is now available > on Rubyforge. Binary gems to follow... > > >Can we do an announcement on this? I''m pretty excited to get some feedback. Roy
Roy Sutton wrote:> Can we do an announcement on this? I''m pretty excited to get some feedback. >So am I. We have gone a long way beyond what we said in August we wanted to achieve for our first public alpha. But I would like to resolve the issue with linux gems and have one available. It seems that Roy is not the only fine having a problem with loading a gem: http://rubyforge.org/tracker/index.php?func=detail&aid=5874&group_id=35&atid=218 looks like the gem is loading, but the compiled .so isn''t? alex
Roy Sutton wrote:> Alex Fenton wrote: >> Hi >> >> I''m pleased to let you know that wxruby2-preview 0.0.36 is now available >> on Rubyforge. Binary gems to follow... >> > Can we do an announcement on this? I''m pretty excited to get some feedback.As soon as we have all the binary gems up, I''m ok doing an announcement. I guess Linux is the only one missing (my fault). Oh, except for one other thing: I just created a ''wxruby-development'' mailing list, which may take up to a day to activate. We should probably shift our development discussions there before the announcement, as we had discussed previously. For future releases, we should create the release but keep it hidden until all the gems are there. Kevin
Kevin Smith
2006-Oct-07 15:36 UTC
[Wxruby-users] NameError: uninitialized constant Wxruby2
Alex Fenton wrote:> But I would like to resolve the issue with linux gems and have one > available. It seems that Roy is not the only fine having a problem with > loading a gem: > > http://rubyforge.org/tracker/index.php?func=detail&aid=5874&group_id=35&atid=218 > > looks like the gem is loading, but the compiled .so isn''t?Here is what I just posted in that tracker entry: A few questions/suggestions: 1. I assume this is under Linux. What distro and version? 2. Have you tried running ldconfig as root recently? That may be required to have a new LD_LIBRARY_PATH be recognized 3. In irb, try: require ''wxruby2'' That error sounds like the wxruby2 .so file is being loaded, but for some reason it is not defining the Wxruby2 module. Note that the error in wx.rb is not happening on the require ''wxruby2'' line. That is apparently working. It''s happening when we actually try to refer to the Wxruby2 module. Very strange, and I don''t recall seeing that before. I should have added one more diagnostic step: Locate ALL wxruby2.so files on your system. If there are any outside the gem directory, they could be causing confusion and problems. I am trying to build a 0.0.36 Linux gem now, so maybe that will reveal some new information. Kevin
Alex Fenton wrote:> From my reading of SVN docs it''s probably wise for developers to > checkout anonymously as a bit of protection against accidentally > committing on a tag.Forgive my svn ignorance, but did the commands you sent do it anonymously? Or is there another step necessary?> Thanks very much to all (esp Roy) for patches contributed to this release.YES!!! Roy has definitely been the hero recently. I also want to commend Alex again for his work, without which Roy''s efforts might have fallen on the floor, unused. I just uploaded a Linux binary gem. Actually, I uploaded it twice, so my fingers are crossed that my deletion of the first one actually worked. The only difference between the two is that the first one was unstripped, and therefore was huge, and the second was stripped, and therefore was merely large (3 megs). If you have access to a Linux machine, PLEASE try installing this gem, and report whether it works or not. I am about to try it on my other computer, but really need confirmation from other folks since my two computers are configured very similarly. Thanks, Kevin
First note: I did finally build a gem that worked. My issue was I was trying to build a debug version on Linux so that I could, well, debug problems there. When I recompiled wx and wxRuby with debug off it worked fine. I don''t understand -why- it failed, especially with no error message whatsoever. In the final build I built with the exact options you specified (minus the enable-debug) and commented out the shared libs line in rakelinux. Oddly, the scrolledwindow example were pretty much perfectly on Linux whereas it has some pretty horrible side effects on Windows, which could be the result of garbage collection. I kinda expected the SWIG 1.3.30 build to work better than 1.3.29. I will answer your questions below for the record. Kevin Smith wrote:> A few questions/suggestions: > 1. I assume this is under Linux. What distro and version? >Ubuntu 6.06 aka Dapper Drake (and what''s with this inconsistent naming on Ubuntu? Some things only refer to 6.06, other only to Dapper Drake. If you installed it as Dapper Drake, you have -no clue- what the version number is!)> 2. Have you tried running ldconfig as root recently? That may > be required to have a new LD_LIBRARY_PATH be recognized >Yes.> 3. In irb, try: require ''wxruby2'' > That error sounds like the wxruby2 .so file is being loaded, > but for some reason it is not defining the Wxruby2 module. >wxruby2 seemed to load just fine.> > Note that the error in wx.rb is not happening on the require ''wxruby2'' > line. That is apparently working. It''s happening when we actually try to > refer to the Wxruby2 module. Very strange, and I don''t recall seeing > that before. > > I should have added one more diagnostic step: Locate ALL wxruby2.so > files on your system. If there are any outside the gem directory, they > could be causing confusion and problems. >No other ones installed.> I am trying to build a 0.0.36 Linux gem now, so maybe that will reveal > some new information. > > Kevin > >
Kevin Smith
2006-Oct-08 03:36 UTC
[Wxruby-users] NameError: uninitialized constant Wxruby2
Roy Sutton wrote:> First note: I did finally build a gem that worked.Cool. For completeness, here are the options I used to build the 0.0.36 Linux gem: ../configure --disable-shared --with-gtk --enable-monolithic --enable-unicode --disable-debug --enable-catch_segvs --with-libjpeg=builtin --with-libpng=builtin --with-libtiff=builtin --with-zlib=builtin --enable-gui --enable-xrc --enable-mdi --enable-gif --enable-pcx --enable-iff --enable-pnm --enable-xpm --disable-expat Hopefully those are better than what I was using before. I''m still awaiting reports of success or failure using the 0.0.36 gem. It worked fine on my other machine, but since it''s also Ubuntu 6.06, I would love to hear from folks on other distros.> My issue was I was > trying to build a debug version on Linux so that I could, well, debug > problems there. When I recompiled wx and wxRuby with debug off it > worked fine. I don''t understand -why- it failed, especially with no > error message whatsoever.Yes, very strange. I have build with debug in the past, although perhaps not after switching to using gems instead of rake install.>> 1. I assume this is under Linux. What distro and version? >> > Ubuntu 6.06 aka Dapper Drake (and what''s with this inconsistent naming > on Ubuntu? Some things only refer to 6.06, other only to Dapper Drake. > If you installed it as Dapper Drake, you have -no clue- what the version > number is!)I''m also using 6.06 aka Dapper Drake AKA LTS (Long-term Support). Yes, it is confusing. The upcoming "Edgy Eft" which will probably be 6.10 will be extra confusing because it will be current at the same time as Debian''s Etch. Too many e''s!!! Kevin
Hi Kevin, I''m on Ubuntu 6.06. I did sudo gem install wxruby2-preview it gave a list of options, choose linux one and installed successfully. I went to samples directory and tried running any sample and this is the error I got. bigdemo/bigdemo.rb:14:in `require'': no such file to load -- wx (LoadError) from bigdemo/bigdemo.rb:14 Maybe I have something misconfigured, can you point me to some install guido oro something? Thanks Mario On 10/7/06, Kevin Smith <wxruby at qualitycode.com> wrote:> > Alex Fenton wrote: > > From my reading of SVN docs it''s probably wise for developers to > > checkout anonymously as a bit of protection against accidentally > > committing on a tag. > > Forgive my svn ignorance, but did the commands you sent do it > anonymously? Or is there another step necessary? > > > Thanks very much to all (esp Roy) for patches contributed to this > release. > > YES!!! Roy has definitely been the hero recently. I also want to commend > Alex again for his work, without which Roy''s efforts might have fallen > on the floor, unused. > > > > I just uploaded a Linux binary gem. Actually, I uploaded it twice, so my > fingers are crossed that my deletion of the first one actually worked. > The only difference between the two is that the first one was > unstripped, and therefore was huge, and the second was stripped, and > therefore was merely large (3 megs). > > If you have access to a Linux machine, PLEASE try installing this gem, > and report whether it works or not. I am about to try it on my other > computer, but really need confirmation from other folks since my two > computers are configured very similarly. > > Thanks, > > Kevin > > _______________________________________________ > 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/20061009/cfc28573/attachment.html
Hi Boris Did you try ruby -rubygems samples/bigdemo/bigdemo.rb Note the ''rubygems'' argument is required to load libraries via gems. alex Boris wrote:> Hi Kevin, > > I''m on Ubuntu 6.06. I did > sudo gem install wxruby2-preview > it gave a list of options, choose linux one and installed successfully. > I went to samples directory and tried running any sample and this is > the error I got. > > bigdemo/bigdemo.rb:14:in `require'': no such file to load -- wx (LoadError) > from bigdemo/bigdemo.rb:14 > > Maybe I have something misconfigured, can you point me to some install > guido oro something? > > Thanks > > Mario > > On 10/7/06, *Kevin Smith* <wxruby at qualitycode.com > <mailto:wxruby at qualitycode.com>> wrote: > > Alex Fenton wrote: > > From my reading of SVN docs it''s probably wise for developers to > > checkout anonymously as a bit of protection against accidentally > > committing on a tag. > > Forgive my svn ignorance, but did the commands you sent do it > anonymously? Or is there another step necessary? > > > Thanks very much to all (esp Roy) for patches contributed to > this release. > > YES!!! Roy has definitely been the hero recently. I also want to > commend > Alex again for his work, without which Roy''s efforts might have fallen > on the floor, unused. > > > > I just uploaded a Linux binary gem. Actually, I uploaded it twice, > so my > fingers are crossed that my deletion of the first one actually > worked. > The only difference between the two is that the first one was > unstripped, and therefore was huge, and the second was stripped, and > therefore was merely large (3 megs). > > If you have access to a Linux machine, PLEASE try installing this > gem, > and report whether it works or not. I am about to try it on my other > computer, but really need confirmation from other folks since my two > computers are configured very similarly. > > Thanks, > > Kevin > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org <mailto:wxruby-users at rubyforge.org> > http://rubyforge.org/mailman/listinfo/wxruby-users > <http://rubyforge.org/mailman/listinfo/wxruby-users> > > > ------------------------------------------------------------------------ > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
Boris wrote:> I''m on Ubuntu 6.06. I did > sudo gem install wxruby2-preview > it gave a list of options, choose linux one and installed successfully. > I went to samples directory and tried running any sample and this is > the error I got. > > bigdemo/bigdemo.rb:14:in `require'': no such file to load -- wx (LoadError) > from bigdemo/bigdemo.rb:14 >Boris, Simple fix. Do: ruby -rubygems bigdemo.rb Roy
Alex , and Roy in other response, Yes , that worked ok, Thank you very much. Mario On 10/9/06, Alex Fenton <alex at pressure.to> wrote:> > Hi Boris > > Did you try > > ruby -rubygems samples/bigdemo/bigdemo.rb > > Note the ''rubygems'' argument is required to load libraries via gems. > > alex > > Boris wrote: > > Hi Kevin, > > > > I''m on Ubuntu 6.06. I did > > sudo gem install wxruby2-preview > > it gave a list of options, choose linux one and installed successfully. > > I went to samples directory and tried running any sample and this is > > the error I got. > > > > bigdemo/bigdemo.rb:14:in `require'': no such file to load -- wx > (LoadError) > > from bigdemo/bigdemo.rb:14 > > > > Maybe I have something misconfigured, can you point me to some install > > guido oro something? > > > > Thanks > > > > Mario > > > > On 10/7/06, *Kevin Smith* <wxruby at qualitycode.com > > <mailto:wxruby at qualitycode.com>> wrote: > > > > Alex Fenton wrote: > > > From my reading of SVN docs it''s probably wise for developers to > > > checkout anonymously as a bit of protection against accidentally > > > committing on a tag. > > > > Forgive my svn ignorance, but did the commands you sent do it > > anonymously? Or is there another step necessary? > > > > > Thanks very much to all (esp Roy) for patches contributed to > > this release. > > > > YES!!! Roy has definitely been the hero recently. I also want to > > commend > > Alex again for his work, without which Roy''s efforts might have > fallen > > on the floor, unused. > > > > > > > > I just uploaded a Linux binary gem. Actually, I uploaded it twice, > > so my > > fingers are crossed that my deletion of the first one actually > > worked. > > The only difference between the two is that the first one was > > unstripped, and therefore was huge, and the second was stripped, and > > therefore was merely large (3 megs). > > > > If you have access to a Linux machine, PLEASE try installing this > > gem, > > and report whether it works or not. I am about to try it on my other > > computer, but really need confirmation from other folks since my two > > computers are configured very similarly. > > > > Thanks, > > > > Kevin > > > > _______________________________________________ > > wxruby-users mailing list > > wxruby-users at rubyforge.org <mailto:wxruby-users at rubyforge.org> > > http://rubyforge.org/mailman/listinfo/wxruby-users > > <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/20061009/6afd0e00/attachment.html
Boris wrote:> Alex , and Roy in other response, > > Yes , that worked ok, > Thank you very much.Great. Thanks for the report. I added this line to my ~/.bashrc file, to avoid needing to specify -rubygems every time I run a command: export RUBYOPT=rubygems Cheers, Kevin
Kevin Smith wrote:> Alex Fenton wrote: > >> From my reading of SVN docs it''s probably wise for developers to >> checkout anonymously as a bit of protection against accidentally >> committing on a tag. >> > > Forgive my svn ignorance, but did the commands you sent do it > anonymously? Or is there another step necessary? >Sorry for the delay in replying. yep, this command: svn co svn://rubyforge.org/var/svn/wxruby/tags/wxruby2/0.0.36 does an anonymous checkout - similar to CVS except you don''t have to explicitly state ''anonymous@'' in the SVN URL a