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

Perl bindings broken for windows?

From: <jason_at_subversus.org>
Date: 2006-06-15 14:28:31 CEST

I've just compiled Subversion 1.3.2 under Apache 2.2.2 (using APR 1.2.7)
using Visual Studio 6. The problem I've come across, however is compiling
the Perl bindings. I'm using SWIG 1.3.29. Doing this, I get the following
error messages:

 

--------------------Configuration: swig_perl_core - Win32
Release--------------------

Performing Custom Build Step on ..\..\..\subversion\bindings\swig\core.i

C:\Program Files\Swig\Lib\exception.i(11): Error: CPP #error ""This version
of exception.i should not be used"". Use the -cpperraswarn option to
continue swig processing.

Error executing c:\windows\system32\cmd.exe.

----------------------------------------------------------------------------
--------------------

 

By following the "suggestion" and adding the -cpperraswarn, I then get the
following messages:

 

--------------------Configuration: swig_perl_core - Win32
Release--------------------

Compiling...

core.c

..\..\..\..\httpd\srclib\apr\include\apr.h(361) : warning C4142: benign
redefinition of type

..\..\..\..\httpd\srclib\apr\include\apr.h(362) : warning C4142: benign
redefinition of type

C:\SVN\src-trunk\subversion\bindings\swig\perl\native\core.c(1656) : error
C2632: 'long' followed by 'long' is illegal

C:\SVN\src-trunk\subversion\bindings\swig\perl\native\core.c(1666) : error
C2632: 'long' followed by 'long' is illegal

C:\SVN\src-trunk\subversion\bindings\swig\perl\native\core.c(1666) : warning
C4244: 'initializing' : conversion from '__int64 ' to 'long ', possible loss
of data

C:\SVN\src-trunk\subversion\bindings\swig\perl\native\core.c(1678) : error
C2059: syntax error : 'bad suffix on number'

C:\SVN\src-trunk\subversion\bindings\swig\perl\native\core.c(1678) : error
C2146: syntax error : missing ';' before identifier 'L'

...

----------------------------------------------------------------------------
--------------------

 

It appears as though a similar problem has occurred before, but patches have
been submitted:

 

http://svn.haxx.se/dev/archive-2005-08/index.shtml#1194

 

Any thoughts about what might cause this?

Thanks much for any advice.

Jason Ward.

 
Received on Thu Jun 15 14:31:06 2006

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.