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

Re: Swig-rb binding build broken

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Wed, 24 Dec 2008 09:17:47 -0600

Kouhei Sutou wrote:
> Hi,
> 2008/12/24 Kouhei Sutou <kou_at_cozmixng.org>:
>> Hi,
>> 2008/12/24 Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>:
>>>> Please remove "-ansi" option.
>>> Thanks for taking a look at this.
>>> I can confirm that this "fixes" the problem. However, I'm concerned about why
>>> the bindings don't build with -ansi. Is this problem specific to our bindings,
>>> or is it a more general Ruby issue? (The errors occur in a ruby-supplied header
>>> file.)
>> It's Ruby's header file problem.
>> 'inline' is used in Ruby's header file but it can't be used with -ansi option.
> FYI: If we want to pass '-ansi' option to the Ruby bindings' build options,
> we also need to build Ruby with '-ansi' option. If Ruby is built without '-ansi'
> option, Ruby assumes that 'inline' is available. This causes the error at
> the Ruby bindings build time.

Yeah, and that's something that would have to happen by the upstream packagers.
 I don't think it's reasonable for people to have to install a custom ruby in
order to build the swig-rb bindings.



Received on 2008-12-24 16:18:08 CET

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.