I''m just starting to try out wxruby. I downloaded the CVS and executed rake. I received the following error - 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''m running Fedora 5 with swig-1.3.24, wxGTK-2.6.3-2.6.3.2.2.fc5, rake-0.7.1. Any help/suggestions would be appreciated. Thanks. Stephen Ng
Hi Stephen Thanks for your message. I don''t have Linux available but I see from this post: http://rubyforge.org/pipermail/wxruby-users/2005-August/001454.html that SWIG version 1.3.24 probably won''t work with current wxruby2. Can you try downloading latest SWIG (1.3.29) and re-running rake please? Sorry for the inconvenience - SWIG for ruby had a lot of incompatible changes over these versions. I''ll see if we can improve the check for a good version in our Rakefile. Thanks alex Stephen Ng wrote:> I''m just starting to try out wxruby. I downloaded the CVS and executed > rake. I received the following error - > 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''m running Fedora 5 with swig-1.3.24, wxGTK-2.6.3-2.6.3.2.2.fc5, > rake-0.7.1. > > Any help/suggestions would be appreciated. > > Thanks. > > Stephen Ng > _______________________________________________ > wxruby-users mailing list > wxruby-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/wxruby-users > > >
Alex, Thanks for your reply. I tried installing SWIG 1.3.29 from the rpm. It had a dependency on rtld (GNU_HASH). I cannot seem to find the code for rtld anywhere. Stephen Ng
Very strange. The slower SWIG check should have detected that you were running an older version of SWIG. If anyone still have SWIG 1.3.24, it would be great if they could try running this from the top wxruby2 directory: ruby swig/swigver.rb It should print "SWIG Version 1.3.24". If it doesn''t, it would be great if you could debug swigver.rb to find out what is going wrong. Thanks, Kevin On Thu, 2006-08-10 at 16:59 +0100, Alex Fenton wrote:> Hi Stephen > > Thanks for your message. I don''t have Linux available but I see from > this post: > > http://rubyforge.org/pipermail/wxruby-users/2005-August/001454.html > > that SWIG version 1.3.24 probably won''t work with current wxruby2. > > Can you try downloading latest SWIG (1.3.29) and re-running rake please? > > Sorry for the inconvenience - SWIG for ruby had a lot of incompatible > changes over these versions. I''ll see if we can improve the check for a > good version in our Rakefile. > > Thanks > alex > > > Stephen Ng wrote: > > I''m just starting to try out wxruby. I downloaded the CVS and executed > > rake. I received the following error - > > 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''m running Fedora 5 with swig-1.3.24, wxGTK-2.6.3-2.6.3.2.2.fc5, > > rake-0.7.1. > > > > Any help/suggestions would be appreciated. > > > > Thanks. > > > > Stephen Ng > > _______________________________________________ > > 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
On Sun, 2006-08-13 at 22:49 +0800, Stephen Ng wrote:> I tried installing SWIG 1.3.29 from the rpm. It had a dependency on rtld > (GNU_HASH). I cannot seem to find the code for rtld anywhere.Can''t help you with the RPM dependency issues (they are why I switched to Debian years ago). I did find this forum post which mentions a fix for the same problem in a different package: http://fedoranews.org/cms/node/1442 Sounds like it is the responsibility of the SWIG RPM packager to fix. Although I really try to stay within my distro package system, SWIG is one that I install straight from the tarball. Kevin