[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RUBY=none ./configure && make swig-rb Re: buildbot failure in ASF Buildbot on svn-x64-ubuntu-gcc

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Sun, 18 Aug 2013 15:09:10 +0300

Ben Reser wrote on Thu, Aug 15, 2013 at 21:27:40 -0700:
> Probably should fix 1.7.x to not try to use the none command when ruby
> isn't detected and to emit a proper error message.

FWIW, this is reproducible in trunk,

% RUBY=none ./configure
% make
% make swig-rb

I've looked into a patch. Attached is what I came up with. I'm not
sure there isn't a simpler way, so posting here. The idea of the patch
is to prefix a '.swig_checked-rb' to both instances of the 'swig-rb'
targets and to check $(RUBY) in there, so 'make swig-rb' might generate
swig wrappers (if $(SWIG) != 'none') but will then fail when it gets to
the part that require a 'ruby' binary.

With the patch applied, I get:

% ./autogen.sh >/dev/null && rm -f config.cache && RUBY=none ../*ce -q && make -sj4
% make swig-rb
Ruby not found by configure
make: *** [.swig_checked-rb] Error 1
zsh: exit 2 make swig-rb

Received on 2013-08-18 14:09:56 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.