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

Re: Build Error when compiling python binding on Windows with VC6 at r25159 or later

From: masaru tsuchiyama <m.tmatma_at_gmail.com>
Date: 2007-05-30 02:18:55 CEST

Hi.

I tried the patch, but I still have the same errors.
I applied it to r25197.

Thanks
Masaru.

2007/5/29, Joe Swatosh <joe.swatosh@gmail.com>:
> Hi
>
> On 5/27/07, Masaru Tsuchiyama <m.tmatma@gmail.com> wrote:
> > Hi
> >
> > > I'm no expert, but it sounds like it may be a SWIG version issue? I
> > > had a lot of long long issues building the Ruby bindings with a SWIG
> > > versions later than 1.3.24.
> > I'm using swig 1.3.31. It is not Ruby bindings but Python bindings
> > what I mention.
> >
> I understood, I was just mentioning I got the same error when I first started
> trying to get the Ruby bindings to build.
>
> > r25158 is the revision at which merge-sensitive-log branch was merged.
> > I think it breaks building python bindings.
> >
>
> apr_uint64_t is now used in the Subversion headers. The patch below fixes the
> build errors for me, but the tests don't pass.
>
> --
> Joe
>
>
> Index: build/generator/swig/checkout_swig_header.py
> ===================================================================
> --- build/generator/swig/checkout_swig_header.py (revision 25172)
> +++ build/generator/swig/checkout_swig_header.py (working copy)
> @@ -55,6 +55,12 @@
> %fragment("SWIG_Check_" {long long},"header") {
> }
> %fragment("SWIG_From_" {long long},"header") {
> + }
> + %fragment("SWIG_AsVal_" {unsigned long long},"header") {
> + }
> + %fragment("SWIG_Check_" {unsigned long long},"header") {
> + }
> + %fragment("SWIG_From_" {unsigned long long},"header") {
> }\n""")
> file.write(python_swg)
> file.close()
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 30 02:19:04 2007

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.