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

rev 4753: Compile error (+ [PATCH])

From: Kai Nacke <kai.nacke_at_redstar.de>
Date: 2003-02-05 18:07:00 CET

Hi all!

rev 4753 does not compile the python extensions due to a unclosed { in apr.i:

swigging
/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig/svn_client.i
to build/svn_client.c
/usr/bin/swig -c -python -noproxy
-I/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig
-I/usr/src/packages/BUILD/subversion-r4753/subversion/include
-I/usr/include/apache2-worker -I/usr/include/python2.2 -o build/svn_client.c
/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig/svn_client.i
/usr/src/packages/BUILD/subversion-r4753/subversion/bindings/swig/apr.i:146:
Missing '}'. Reached end of input.
error: command '/usr/bin/swig' failed with exit status 1
make: *** [swig-py-ext] Fehler 1

The following patch corrects the problem:

--- apr.i.orig Wed Feb 5 17:57:05 2003
+++ apr.i Wed Feb 5 17:57:15 2003
@@ -142,7 +142,7 @@
     "$result = t_output_helper(
         $result,
         SWIG_NewPointerObj(*$1, $*1_descriptor, 0));";
-%typemap(java,argout,fragment="t_output_helper") apr_file_t ** {
+%typemap(java,argout,fragment="t_output_helper") apr_file_t **
     /* HELP: Is there a JNI equivalent of SWIG_NewPointerObj, or is
        this actually a cross-language typemap? */
     "$result = t_output_helper(

Kai

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Feb 5 18:05:21 2003

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.