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

Re: Second try at build system changes

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 21 Dec 2012 14:55:36 +0000

Branko Čibej <brane_at_wandisco.com> writes:

> Please take time to review these changes and test them. I did my best to
> test on Mac OS and Linux, but as we saw in the previous iteration,
> autoconf isn't exactly obvious. As usual, I can't build swig-db and
> swig-py, but did touch their configury.

A plain 'make' works as does 'make swig-pl', 'make swig-py' and 'make
javahl'. 'make swig-py' is better than trunk where it fails due to
passing -Werror=implicit-function-declaration.

'make swig-rb' fails so is worse than trunk where it works. The error is

/usr/lib/ruby/1.8/x86_64-linux/ruby.h:709:1: error: unknown type name 'inline'
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:711:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rb_class_of'
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:726:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
/usr/lib/ruby/1.8/x86_64-linux/ruby.h:743:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
In file included from /usr/lib/ruby/1.8/x86_64-linux/ruby.h:756:0,
                 from subversion/bindings/swig/ruby/svn_client.c:832:

The code in question is:

    709 static inline VALUE
    710 #if defined(HAVE_PROTOTYPES)
    711 rb_class_of(VALUE obj)
    712 #else
    713 rb_class_of(obj)
    714 VALUE obj;
    715 #endif

Certified & Supported Apache Subversion Downloads:
Received on 2012-12-21 15:56:18 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.