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

Can't build SWIG python bindings

From: Nicholas Riley <njriley_at_uiuc.edu>
Date: 2002-12-10 01:54:18 CET

Hi,

I'm trying to build the SWIG Python bindings for Subversion and the
build is failing.

[p4:5098] ~/src/svn%make swig-py-ext
cd /Users/nicholas/src/svn/subversion/bindings/swig/python; \ /usr/local/bin/python setup.py \
            -I/Users/nicholas/src/svn/subversion/bindings/swig \
            -I/Users/nicholas/src/svn/subversion/include -I/usr/local/bin/include -I/Users/nicholas/src/httpd-2.0/srclib/apr/include \
            -S/Users/nicholas/src/svn/subversion/bindings/swig \
            -L/usr/local/encap/subversion/lib -L/usr/local/encap/httpd-2.0/lib \
                                            \
            build --build-base=/Users/nicholas/src/svn/subversion/bindings/swig/python/build
running build
running build_py
creating /Users/nicholas/src/svn/subversion/bindings/swig/python/build
creating /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2
creating /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/__init__.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/client.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/delta.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/fs.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/ra.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/repos.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/util.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
copying svn/wc.py -> /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn
running build_ext
building '_client' extension
swigging /Users/nicholas/src/svn/subversion/bindings/swig/svn_client.i to /Users/nicholas/src/svn/subversion/bindings/swig/python/build/svn_client.c
swig -c -python -noproxy -I/Users/nicholas/src/svn/subversion/bindings/swig -I/Users/nicholas/src/svn/subversion/include -I/usr/local/bin/include -I/Users/nicholas/src/httpd-2.0/srclib/apr/include -I/Library/Frameworks/Python.framework/Versions/2.2/include/python2.2 -o /Users/nicholas/src/svn/subversion/bindings/swig/python/build/svn_client.c /Users/nicholas/src/svn/subversion/bindings/swig/svn_client.i
creating /Users/nicholas/src/svn/subversion/bindings/swig/python/build/temp.darwin-6.2-Power Macintosh-2.2
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -no-cpp-precomp -fno-common -dynamic -I/Users/nicholas/src/svn/subversion/bindings/swig -I/Users/nicholas/src/svn/subversion/include -I/usr/local/bin/include -I/Users/nicholas/src/httpd-2.0/srclib/apr/include -I/Library/Frameworks/Python.framework/Versions/2.2/include/python2.2 -c /Users/nicholas/src/svn/subversion/bindings/swig/python/build/svn_client.c -o /Users/nicholas/src/svn/subversion/bindings/swig/python/build/temp.darwin-6.2-Power Macintosh-2.2/svn_client.o
/Users/nicholas/src/svn/subversion/bindings/swig/python/build/svn_client.c:258: warning: function declaration isn't a prototype
gcc -Wl,-F. -Wl,-flat_namespace,-U,_environ -bundle -framework Python /Users/nicholas/src/svn/subversion/bindings/swig/python/build/temp.darwin-6.2-Power Macintosh-2.2/svn_client.o -L/usr/local/encap/subversion/lib -L/usr/local/encap/httpd-2.0/lib -lsvn_client-1 -lsvn_swig_py-1 -lswigpy -o /Users/nicholas/src/svn/subversion/bindings/swig/python/build/lib.darwin-6.2-Power Macintosh-2.2/svn/_client.so
ld: can't locate file for: -lsvn_swig_py-1
error: command 'gcc' failed with exit status 1
make: *** [swig-py-ext] Error 1

There appears to be no file named 'svn_swig_py-1.dylib' anywhere in
the source/build tree.

Mac OS X 10.2.2, GCC 3.1, Python 2.2.2, SWIG 1.3.17, Subversion r4069.

-- 
=Nicholas Riley <njriley_at_uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 10 01:55:01 2002

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