Displaying 3 results from an estimated 3 matches for "have_good_swig".
2005 Aug 07
1
Can''t rake without swig
...swig out of my path so I can do
a build without swig to be sure it works with the download.
Exception `Errno::ENOENT'' at ./rake/rakewx.rb:20 - No such file or
directory - swig -version
No such file or directory - swig -version
./rake/rakewx.rb:20:in ``''
./rake/rakewx.rb:20:in `have_good_swig''
./rake/rakewx.rb:254:in `create_internal_swig_tasks''
Perhaps this will work better:
def have_good_swig
begin
version = `#{$swig_cmd} -version`.strip.split("\n")[0]
rescue SystemCallError
end
if(!version)
return false
end
return...
2007 Apr 14
0
[967] branches/wxruby2/wxwidgets_282/rake/rakewx.rb: Fix two warnings generated by the rakefile
...g(swig_file, cpp_file, options)
</span><del>-        if(!$found_good_swig)
-                if(!have_good_swig)
-         raise "Couldn''t find required SWIG (minimum #{$swig_minimum_version})."
-             &nbs...
2005 Aug 04
9
wxruby2 retooling
I finally gave up on swig 1.3.22, since it seems to be causing too many
problems. Ubuntu breezy will have 1.3.24, so I''m retargeting wxruby2 to
swig 1.3.24+. At the moment, I have 1.3.25 on my system, since that''s
the current release.
I''m finding all kinds of problems with the post-processors we have that
clean up the .cpp files that swig creates. The