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

SWIG problem building a client-only for gSVN

From: Sergey <sergeyli_at_pisem.net>
Date: 2003-02-21 06:53:11 CET

Hi All!

I'm using the 0.18.0 tarball. What I'm trying to do is, having latest
APR/APU and Neon already installed, I'd like to build a Subversion's
client (only) which would a) use these installed APR/APU and Neon; b)
generate SWIG bindings for gSVN. The a) part seems to be fine, but
whenever I try to do `make swig-py-ext' I get this:

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/usr/src/subversion-r4973/subversion/bindings/swig
-I/usr/src/subversion-r4973/subversion/include -I/usr/include/apache2
-I/usr/include/python2.2 -c build/svn_delta.c -o
build/temp.linux-i686-2.2/svn_delta.o -march=pentium3 -mmmx -mfpmath=sse
-msse -O3 -pthread -DNEON_ZLIB -DNEON_SSL
gcc -shared build/temp.linux-i686-2.2/svn_delta.o -L/usr/lib
-L/usr/src/subversion-r4973/subversion/libsvn_client/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_delta/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_fs/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_ra/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_repos/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_wc/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_subr/.libs
-L/usr/src/subversion-r4973/subversion/bindings/swig/.libs -lsvn_delta-1
-lsvn_swig_py-1 -lswigpy -o build/lib.linux-i686-2.2/svn/_delta.so -z
combreloc -s
building '_fs' extension
swigging /usr/src/subversion-r4973/subversion/bindings/swig/svn_fs.i to
build/svn_fs.c
build/svn_fs.c:258: warning: function declaration isn't a prototype
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lsvn_fs-1
collect2: ld returned 1 exit status
/usr/bin/swig -c -python -noproxy
-I/usr/src/subversion-r4973/subversion/bindings/swig
-I/usr/src/subversion-r4973/subversion/include -I/usr/include/apache2
-I/usr/include/python2.2 -o build/svn_fs.c
/usr/src/subversion-r4973/subversion/bindings/swig/svn_fs.i
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
-I/usr/src/subversion-r4973/subversion/bindings/swig
-I/usr/src/subversion-r4973/subversion/include -I/usr/include/apache2
-I/usr/include/python2.2 -c build/svn_fs.c -o
build/temp.linux-i686-2.2/svn_fs.o -march=pentium3 -mmmx -mfpmath=sse
-msse -O3 -pthread -DNEON_ZLIB -DNEON_SSL
gcc -shared build/temp.linux-i686-2.2/svn_fs.o -L/usr/lib
-L/usr/src/subversion-r4973/subversion/libsvn_client/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_delta/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_fs/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_ra/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_repos/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_wc/.libs
-L/usr/src/subversion-r4973/subversion/libsvn_subr/.libs
-L/usr/src/subversion-r4973/subversion/bindings/swig/.libs -lsvn_fs-1
-lsvn_swig_py-1 -lswigpy -o build/lib.linux-i686-2.2/svn/_fs.so -z
combreloc -s
error: command 'gcc' failed with exit status 1
make: *** [swig-py-ext] Error 1

Here's the ./configure:

   ./configure \
     --build=$BUILD \
     --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \
     --disable-debug \
     --disable-mod-activation \
     --disable-static \
     --enable-shared \
     --without-apxs \
     --without-berkeley-db \
     --with-apr=$(which apr-config 2>/dev/null) \
     --with-apr-util=/usr

Could someone please help?
Thank you!

Sergey Lipnevich,
Section maintainer,
http://www.sourcemage.org/.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 21 06:53:55 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.