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

Trouble building swig-py on OS X

From: Andrew Durdin <andy_at_durdin.net>
Date: 2005-01-02 12:40:22 CET

Hello,

I'm trying to build subversion & the python bindings on OS X 10.3.7.
I've followed the instructions in the INSTALL file, and Subversion built
without trouble (see PS), but I'm getting a long list of compile errors
when I try to build the python bindings. The first few are:

subversion/bindings/swig/python/svn_client.c:79: error: parse error
before '*' token
subversion/bindings/swig/python/svn_client.c:79: warning: type defaults
to `int' in declaration of `swig_type_list'
subversion/bindings/swig/python/svn_client.c:79: warning: data
definition has no type or storage class
subversion/bindings/swig/python/svn_client.c:80: error: parse error
before '*' token
subversion/bindings/swig/python/svn_client.c:80: warning: type defaults
to `int' in declaration of `swig_type_list_handle'
subversion/bindings/swig/python/svn_client.c:80: warning: data
definition has no type or storage class
subversion/bindings/swig/python/svn_client.c:84: error: parse error
before '*' token

The actual build command was:

/usr/local/subversion-1.1.1 andy$ make swig-py
/bin/sh /usr/local/subversion-1.1.1/libtool --silent --mode=compile gcc
-fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/usr/local/subversion-1.1.1/subversion/bindings/swig
-I/usr/local/subversion-1.1.1/subversion/include
-I/usr/local/share/swig/1.3.24 -DSVN_SWIG_VERSION=103024
-I/usr/local/subversion-1.1.1/apr/include
-I/usr/local/subversion-1.1.1/apr-util/include
-I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/subversion-1.1.1/apr-util/xml/expat/lib
-I/usr/local/subversion-1.1.1/subversion/bindings/swig
-I/usr/local/subversion-1.1.1/subversion/include
-I/usr/local/share/swig/1.3.24 -DSVN_SWIG_VERSION=103024
-I/usr/local/subversion-1.1.1/apr/include
-I/usr/local/subversion-1.1.1/apr-util/include
-I/usr/local/BerkeleyDB.4.2/include
-I/usr/local/subversion-1.1.1/apr-util/xml/expat/lib
-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3
-I/usr/local/subversion-1.1.1/subversion/bindings/swig/python/libsvn_swig_py
-prefer-pic -c -o subversion/bindings/swig/python/svn_client.lo
subversion/bindings/swig/python/svn_client.c

I'm at a loss as to what's causing this problem and what I can do to fix
it... Can anyone give me some suggestions?

Thanks,

Andrew.

PS I do get the following warning when Subversion builds, but no errors
were reported:

*** Warning: This system can not link to static lib archive
/usr/local/subversion-1.1.1/neon/src/libneon.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 2 12:42:51 2005

This is an archived mail posted to the Subversion Users mailing list.