Hi All, I am trying to compile WxRuby on Ubuntu 6.06. I checked out the latest source code from CVS and ran ''rake'' under the wxruby2 directory. I am getting the following error. root@imayam:/work/wxruby/wxruby2# rake (in /work/wxruby/wxruby2) rake aborted! Don''t know how to build task ''src/App.cpp'' (See full trace by running task with --trace) I am totally new to SWIG and have absolutely no idea what is going wrong. The following is my environmental setup 1. Ruby root@imayam:/work/wxruby/wxruby2# ruby -v ruby 1.8.4 (2005-12-24) [i686-linux] 2. Rake root@imayam:/work/wxruby/wxruby2# rake --version rake, version 0.7.1 2. GCC root@imayam:/work/wxruby/wxruby2# gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c ++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) 3. SWIG root@imayam:/work/wxruby/wxruby2# swig -version SWIG Version 1.3.27 Copyright (c) 1995-1998 University of Utah and the Regents of the University of California Copyright (c) 1998-2005 University of Chicagoor Compiled with g++ [i686-pc-linux-gnu] Please see http://www.swig.org for reporting bugs and further information 4. GTK root@imayam:/work/wxruby/wxruby2# pkg-config --modversion gtk+-2.0 2.8.20 5. WxWidgets root@imayam:/work/wxruby/wxruby2# wx-config --version 2.6.1 Please let me know if I am missing something or if I need to install any other prerequisites. I am seriously considering WxRuby for my inhouse projects and eventually write a self published book. Cheers, Ganesh Gunasegaran. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
On Sat, 2006-08-19 at 17:07 +0530, Ganesh Gunasegaran wrote:> Hi All,Hi, and thanks for trying wxRuby.> I am trying to compile WxRuby on Ubuntu 6.06. I checked out the latest > source code from CVS and ran ''rake'' under the wxruby2 directory. I am > getting the following error. > > root at imayam:/work/wxruby/wxruby2# rake > (in /work/wxruby/wxruby2) > rake aborted! > Don''t know how to build task ''src/App.cpp''Very strange. I also use Ubuntu 6.06. Actually, I have it on my desktop (where I do wxruby development) and my laptop, where I have not done any wx development. So I tried to compile wxruby2 on my laptop, and here are my notes: - Used cvs to checkout the wxruby2 module from rubyforge - I already had rake 0.6.2 installed, so I used it - Downloaded swig 1.3.29, ran ./configure; make; sudo make install - Obtained libwxgtk2.6-dev package using Synaptic (apt) - Obtained ruby1.8-dev package using Syaptic (apt) At that point, rake successfully started to build wxruby2, going well past App.cpp. I upgraded rake to 0.7.1 (gem update rake), and it still seemed to work. (I got a compile error in RubyConstants.cpp because of wxID_NONE, which I will look into now. Might be a wx 2.6.1 vs. 2.6.3 thing).> (See full trace by running task with --trace)It would probably help if you could run rake --trace to get more details.> 3. SWIG > root at imayam:/work/wxruby/wxruby2# swig -version > > SWIG Version 1.3.27Unfortunately, we require SWIG 1.3.29, as it has some very substantial improvements over 1.3.27. I don''t think this should cause the particular error you are seeing, however.> 5. WxWidgets > root at imayam:/work/wxruby/wxruby2# wx-config --version > 2.6.1I normally use 2.6.3, but 2.6.1 may work. Even if not, this should not cause the rake error you are seeing.> Please let me know if I am missing something or if I need to install > any other prerequisites. I am seriously considering WxRuby for my > inhouse projects and eventually write a self published book.Great. I believe we will be able to get it working for you. Kevin
Kevin Smith
2006-Aug-19 15:03 UTC
[Wxruby-users] wxNONE and wx 2.6.1 (was: Compiling WxRuby2 on Ubuntu 6.06)
On Sat, 2006-08-19 at 10:10 -0400, Kevin Smith wrote:> (I got a compile error in RubyConstants.cpp because of > wxID_NONE, which I will look into now. Might be a wx 2.6.1 vs. 2.6.3 > thing).It is. wxID_NONE was added in 2.6.2. I would really like to support wx 2.6.1 since it is in Ubuntu 6.06. I see four options: 1. Remove support for wxID_NONE. Great for 2.6.1 users, but bad for 2.6.3 users. 2. Only support wxID_NONE when compiled against wx 2.6.3. This would mean that wxRuby apps couldn''t rely on having it available. 3. Define wxID_NONE ourselves if it is not available. However, certain API calls that have defined behavior for wxID_NONE would not work when running on wx 2.6.1. So it would appear to be available, but wouldn''t really work. 4. Require wx 2.6.3. 5. Link wx statically into wxruby. Obviously this would make the gem larger. And in the past, when I have attempted static linking, I have struggled. So I''m not sure how long it would take to get it working. It looks like gentoo, Fedora FC-4, and Debian[1] all have wx 2.6.2. So it''s just Ubuntu that is a problem.Bummer. I will look into option #5 today. If that doesn''t work out, I''m not sure which option I would favor. Kevin
> It is. wxID_NONE was added in 2.6.2. I would really like to support wx > 2.6.1 since it is in Ubuntu 6.06. I see four options: > > 5. Link wx statically into wxruby. Obviously this would make the gem > larger. And in the past, when I have attempted static linking, I have > struggled. So I''m not sure how long it would take to get it working. >I agree this would be preferable. I am pretty sure that when I build wxruby it includes statically linked wx. It actually ran into problems unless wx was built with --enable-static --disable-shared but the unstripped binary is ~12MB... alex
Kevin Smith
2006-Aug-20 03:01 UTC
[Wxruby-users] Pre-release wxruby gem available for Linux (was: wxNONE and wx 2.6.1)
On Sat, 2006-08-19 at 16:19 +0100, Alex Fenton wrote:> > 5. Link wx statically into wxruby. Obviously this would make the gem > > larger. And in the past, when I have attempted static linking, I have > > struggled. So I''m not sure how long it would take to get it working.I believe I have succeeded in building a Linux gem with wx 2.6.3 built in statically, so it will work on systems like Ubuntu that have older wx libraries, or no wx at all. I have tried it on one other computer, but would love to have a couple other users test it privately before publishing the gem more widely. So, if you have a Linux box, and would be willing to try downloading the gem (25 megs), installing it, and doing a bit of testing, please let me know. The ideal tester for this is someone who has NOT yet built wxruby from source, but at this point I''ll take any testers I can get. Email me off-list ( wxruby at qualitycode.com ), briefly describe your OS environment, and I''ll send you the link. Thanks! Kevin
Kevin, I also have the same problem, but on FC5. I get the following output when running rake - I checked out the CVS and typed rake and got the following (with --trace) - (in .....) SWIG Version 1.3.24 Copyright (c) 1995-1998 University of Utah and the Regents of the University of California Copyright (c) 1998-2004 University of Chicago Compiled with i386-redhat-linux-g++ [i386-redhat-linux-gnu] Please see http://www.swig.org for reporting bugs and further information Doing slower check for SWIG 1.3.29 ** Invoke default (first_time) ** Invoke link (first_time) ** Invoke lib/wxruby2.so (first_time) ** Invoke obj/App.o (first_time) rake aborted! Don''t know how to build task ''src/App.cpp'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1449:in `[]'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in `invoke_prerequisites''/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in `invoke'' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run'' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/bin/rake:18 I am running FC5, with wxWidgets-2.6.3 installed from source. Regards. Stephen Ng
On Sun, 2006-08-20 at 19:40 +0800, Stephen Ng wrote:> I also have the same problem, but on FC5. I get the following output > when running rake - > > I checked out the CVS and typed rake and got the following (with --trace) - > > (in .....) > > SWIG Version 1.3.24 > Copyright (c) 1995-1998 > University of Utah and the Regents of the University of California > Copyright (c) 1998-2004 > University of Chicago > Compiled with i386-redhat-linux-g++ [i386-redhat-linux-gnu] > > Please see http://www.swig.org for reporting bugs and further information > Doing slower check for SWIG 1.3.29 > ** Invoke default (first_time) > ** Invoke link (first_time) > ** Invoke lib/wxruby2.so (first_time) > ** Invoke obj/App.o (first_time) > rake aborted! > Don''t know how to build task ''src/App.cpp''Ok, so that''s the problem. If you have a too-old SWIG, for some reason rake fails to output useful information. Even with --trace enabled, the output is really poor. Could you (or someone) enter a rubyforge bug for that. Hopefully then someone can fix it easily, since it is pure ruby code in the rakefile. No knowledge of C++ or SWIG or even wxruby is required. I don''t think this is a showstopper for the alpha release, since the alpha release is primarily about the binary gems, not the source tarball. Thanks, Kevin
Hi Kevin, Thanks for the reply. The problem seems to be in the SWIG version I had. I happened to have SWIG 1.3.27 installed thro'' Synaptic Package Manager. I downloaded and compiled SWIG 1.3.29 from source and then ran rake. WxRuby compilation went thro'' just fine. Cheers, Ganesh Gunasegaran. On Sat, 2006-08-19 at 10:10 -0400, Kevin Smith wrote:> On Sat, 2006-08-19 at 17:07 +0530, Ganesh Gunasegaran wrote: > > Hi All, > > Hi, and thanks for trying wxRuby. > > > I am trying to compile WxRuby on Ubuntu 6.06. I checked out the latest > > source code from CVS and ran ''rake'' under the wxruby2 directory. I am > > getting the following error. > > > > root at imayam:/work/wxruby/wxruby2# rake > > (in /work/wxruby/wxruby2) > > rake aborted! > > Don''t know how to build task ''src/App.cpp'' > > Very strange. I also use Ubuntu 6.06. Actually, I have it on my desktop > (where I do wxruby development) and my laptop, where I have not done any > wx development. So I tried to compile wxruby2 on my laptop, and here are > my notes: > > - Used cvs to checkout the wxruby2 module from rubyforge > - I already had rake 0.6.2 installed, so I used it > - Downloaded swig 1.3.29, ran ./configure; make; sudo make install > - Obtained libwxgtk2.6-dev package using Synaptic (apt) > - Obtained ruby1.8-dev package using Syaptic (apt) > > At that point, rake successfully started to build wxruby2, going well > past App.cpp. I upgraded rake to 0.7.1 (gem update rake), and it still > seemed to work. (I got a compile error in RubyConstants.cpp because of > wxID_NONE, which I will look into now. Might be a wx 2.6.1 vs. 2.6.3 > thing). > > > (See full trace by running task with --trace) > > It would probably help if you could run rake --trace to get more > details. > > > 3. SWIG > > root at imayam:/work/wxruby/wxruby2# swig -version > > > > SWIG Version 1.3.27 > > Unfortunately, we require SWIG 1.3.29, as it has some very substantial > improvements over 1.3.27. I don''t think this should cause the particular > error you are seeing, however. > > > 5. WxWidgets > > root at imayam:/work/wxruby/wxruby2# wx-config --version > > 2.6.1 > > I normally use 2.6.3, but 2.6.1 may work. Even if not, this should not > cause the rake error you are seeing. > > > Please let me know if I am missing something or if I need to install > > any other prerequisites. I am seriously considering WxRuby for my > > inhouse projects and eventually write a self published book. > > Great. I believe we will be able to get it working for you. > > Kevin > > > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users
Hi All, Now ruby is not able to load wxruby2 library :( root at imayam:/work/wxruby/wxruby2/samples# irb irb(main):001:0> require ''wx'' Unable to load wxruby. Searched /usr/lib/ruby/site_ruby/1.8 /usr/lib/ruby/site_ruby/1.8/i686-linux /usr/lib/ruby/site_ruby /usr/lib/ruby/1.8 /usr/lib/ruby/1.8/i686-linux I have checked that the wxruby2 libraries are indeed present in the search path. root at imayam:/usr/lib/ruby/site_ruby/1.8/i686-linux# ls wx* wx.rb wxruby2.so I then tried to load wxruby2 directly and got this irb(main):002:0> require ''wxruby2'' LoadError: libwx_gtk2_xrc-2.6.so.0: cannot open shared object file: No such file or directory - /usr/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so from /usr/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so from (irb):2 So it looks like there is something wrong with my WxGTK installation? I compiled WxWidgets 2.6.3 from source. root at imayam:/work/wxruby/wxruby2/samples# wx-config --version 2.6.3 If I am not able to resolve this issue, Kevin do you mind sending me the link to static linked gem you were mentioning? I would be happy to test it out. Cheers, Ganesh Gunasegaran. On Sun, 2006-08-20 at 19:31 +0530, Ganesh Gunasegaran wrote:> Hi Kevin, > > Thanks for the reply. The problem seems to be in the SWIG version I had. > I happened to have SWIG 1.3.27 installed thro'' Synaptic Package > Manager. > > I downloaded and compiled SWIG 1.3.29 from source and then ran rake. > WxRuby compilation went thro'' just fine. > > Cheers, > Ganesh Gunasegaran. > > On Sat, 2006-08-19 at 10:10 -0400, Kevin Smith wrote: > > On Sat, 2006-08-19 at 17:07 +0530, Ganesh Gunasegaran wrote: > > > Hi All, > > > > Hi, and thanks for trying wxRuby. > > > > > I am trying to compile WxRuby on Ubuntu 6.06. I checked out the latest > > > source code from CVS and ran ''rake'' under the wxruby2 directory. I am > > > getting the following error. > > > > > > root at imayam:/work/wxruby/wxruby2# rake > > > (in /work/wxruby/wxruby2) > > > rake aborted! > > > Don''t know how to build task ''src/App.cpp'' > > > > Very strange. I also use Ubuntu 6.06. Actually, I have it on my desktop > > (where I do wxruby development) and my laptop, where I have not done any > > wx development. So I tried to compile wxruby2 on my laptop, and here are > > my notes: > > > > - Used cvs to checkout the wxruby2 module from rubyforge > > - I already had rake 0.6.2 installed, so I used it > > - Downloaded swig 1.3.29, ran ./configure; make; sudo make install > > - Obtained libwxgtk2.6-dev package using Synaptic (apt) > > - Obtained ruby1.8-dev package using Syaptic (apt) > > > > At that point, rake successfully started to build wxruby2, going well > > past App.cpp. I upgraded rake to 0.7.1 (gem update rake), and it still > > seemed to work. (I got a compile error in RubyConstants.cpp because of > > wxID_NONE, which I will look into now. Might be a wx 2.6.1 vs. 2.6.3 > > thing). > > > > > (See full trace by running task with --trace) > > > > It would probably help if you could run rake --trace to get more > > details. > > > > > 3. SWIG > > > root at imayam:/work/wxruby/wxruby2# swig -version > > > > > > SWIG Version 1.3.27 > > > > Unfortunately, we require SWIG 1.3.29, as it has some very substantial > > improvements over 1.3.27. I don''t think this should cause the particular > > error you are seeing, however. > > > > > 5. WxWidgets > > > root at imayam:/work/wxruby/wxruby2# wx-config --version > > > 2.6.1 > > > > I normally use 2.6.3, but 2.6.1 may work. Even if not, this should not > > cause the rake error you are seeing. > > > > > Please let me know if I am missing something or if I need to install > > > any other prerequisites. I am seriously considering WxRuby for my > > > inhouse projects and eventually write a self published book. > > > > Great. I believe we will be able to get it working for you. > > > > Kevin > > > > > > _______________________________________________ > > 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/20060820/a15fad4a/attachment-0001.html
Never mind. WxWidgets seems to be installed in /usr/local/lib, which was not included in the LD_LIBRARY_PATH for my root login. After including /usr/local/lib in LD_LIBRARY_PATH samples work fine. Sorry guys, my bad!! I will hopefully give wxruby2 a good spin. Thanks for the great work. Cheers, Ganesh Gunasegaran. On Sun, 2006-08-20 at 19:58 +0530, Ganesh Gunasegaran wrote:> Hi All, > > Now ruby is not able to load wxruby2 library :( > > root at imayam:/work/wxruby/wxruby2/samples# irb > irb(main):001:0> require ''wx'' > Unable to load wxruby. Searched > /usr/lib/ruby/site_ruby/1.8 > /usr/lib/ruby/site_ruby/1.8/i686-linux > /usr/lib/ruby/site_ruby > /usr/lib/ruby/1.8 > /usr/lib/ruby/1.8/i686-linux > > I have checked that the wxruby2 libraries are indeed present in the > search path. > > root at imayam:/usr/lib/ruby/site_ruby/1.8/i686-linux# ls wx* > wx.rb wxruby2.so > > I then tried to load wxruby2 directly and got this > > irb(main):002:0> require ''wxruby2'' > LoadError: libwx_gtk2_xrc-2.6.so.0: cannot open shared object file: No > such file or directory > - /usr/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so > from /usr/lib/ruby/site_ruby/1.8/i686-linux/wxruby2.so > from (irb):2 > > So it looks like there is something wrong with my WxGTK installation? > I compiled WxWidgets 2.6.3 from source. > > root at imayam:/work/wxruby/wxruby2/samples# wx-config --version > 2.6.3 > > If I am not able to resolve this issue, Kevin do you mind sending me > the link to static linked gem you were mentioning? I would be happy to > test it out. > > Cheers, > Ganesh Gunasegaran. > > On Sun, 2006-08-20 at 19:31 +0530, Ganesh Gunasegaran wrote: > > Hi Kevin, > > > > Thanks for the reply. The problem seems to be in the SWIG version I had. > > I happened to have SWIG 1.3.27 installed thro'' Synaptic Package > > Manager. > > > > I downloaded and compiled SWIG 1.3.29 from source and then ran rake. > > WxRuby compilation went thro'' just fine. > > > > Cheers, > > Ganesh Gunasegaran. > > > > On Sat, 2006-08-19 at 10:10 -0400, Kevin Smith wrote: > > > On Sat, 2006-08-19 at 17:07 +0530, Ganesh Gunasegaran wrote: > > > > Hi All, > > > > > > Hi, and thanks for trying wxRuby. > > > > > > > I am trying to compile WxRuby on Ubuntu 6.06. I checked out the latest > > > > source code from CVS and ran ''rake'' under the wxruby2 directory. I am > > > > getting the following error. > > > > > > > > root at imayam:/work/wxruby/wxruby2# rake > > > > (in /work/wxruby/wxruby2) > > > > rake aborted! > > > > Don''t know how to build task ''src/App.cpp'' > > > > > > Very strange. I also use Ubuntu 6.06. Actually, I have it on my desktop > > > (where I do wxruby development) and my laptop, where I have not done any > > > wx development. So I tried to compile wxruby2 on my laptop, and here are > > > my notes: > > > > > > - Used cvs to checkout the wxruby2 module from rubyforge > > > - I already had rake 0.6.2 installed, so I used it > > > - Downloaded swig 1.3.29, ran ./configure; make; sudo make install > > > - Obtained libwxgtk2.6-dev package using Synaptic (apt) > > > - Obtained ruby1.8-dev package using Syaptic (apt) > > > > > > At that point, rake successfully started to build wxruby2, going well > > > past App.cpp. I upgraded rake to 0.7.1 (gem update rake), and it still > > > seemed to work. (I got a compile error in RubyConstants.cpp because of > > > wxID_NONE, which I will look into now. Might be a wx 2.6.1 vs. 2.6.3 > > > thing). > > > > > > > (See full trace by running task with --trace) > > > > > > It would probably help if you could run rake --trace to get more > > > details. > > > > > > > 3. SWIG > > > > root at imayam:/work/wxruby/wxruby2# swig -version > > > > > > > > SWIG Version 1.3.27 > > > > > > Unfortunately, we require SWIG 1.3.29, as it has some very substantial > > > improvements over 1.3.27. I don''t think this should cause the particular > > > error you are seeing, however. > > > > > > > 5. WxWidgets > > > > root at imayam:/work/wxruby/wxruby2# wx-config --version > > > > 2.6.1 > > > > > > I normally use 2.6.3, but 2.6.1 may work. Even if not, this should not > > > cause the rake error you are seeing. > > > > > > > Please let me know if I am missing something or if I need to install > > > > any other prerequisites. I am seriously considering WxRuby for my > > > > inhouse projects and eventually write a self published book. > > > > > > Great. I believe we will be able to get it working for you. > > > > > > Kevin > > > > > > > > > _______________________________________________ > > > 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
> Could you (or someone) enter a rubyforge bug for that. Hopefully then > someone can fix it easily, since it is pure ruby code in the rakefile. > No knowledge of C++ or SWIG or even wxruby is required. >Have filed a bug for this, will have a shot at submitting a patch later this week. cheers alex
Alex Fenton
2006-Aug-20 20:43 UTC
[Wxruby-users] Pre-release wxruby gem available for OS X
Kevin Smith wrote:> On Sat, 2006-08-19 at 16:19 +0100, Alex Fenton wrote: > >>> 5. Link wx statically into wxruby. Obviously this would make the gem >>> larger. And in the past, when I have attempted static linking, I have >>> struggled. So I''m not sure how long it would take to get it working. >>>Great, well done. Did you have to change anything in our build system, or just change the options that WxWidgets is built with? If anyone has an OS X PPC system, it would be great if you could try out a pre-release gem to check it has everything. Drop me a line off-list (alex AT pressure DOT to) cheers alex
Kevin Smith
2006-Aug-21 02:27 UTC
[Wxruby-users] Pre-release wxruby gem available for OS X
On Sun, 2006-08-20 at 21:43 +0100, Alex Fenton wrote:> Kevin Smith wrote: > > On Sat, 2006-08-19 at 16:19 +0100, Alex Fenton wrote: > > > >>> 5. Link wx statically into wxruby. Obviously this would make the gem > >>> larger. And in the past, when I have attempted static linking, I have > >>> struggled. So I''m not sure how long it would take to get it working. > >>> > Great, well done. Did you have to change anything in our build system, > or just change the options that WxWidgets is built with?I created a new wxWidgets configuration, built it, selected it with wx-config, and un-commented the rakelinux.rb code that (apparently) had worked for me before. I did a bunch of searching the web to try to figure out the secret of having multiple wx builds on my system. The answer was in the INSTALL file that ships with wx, but nothing on the web pointed me there. I finally found it when I abandoned the web and looked at the wx README. Even there, it''s not documented as well as I would like. But it worked. Kevin