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

Can't make cvs2svn run: missing lib when building python bindings

From: Gary Oberbrunner <garyo_at_genarts.com>
Date: 2002-07-26 19:55:34 CEST

I'm testing out Subversion here, planning on switching to it eventually
(unless 'arch' turns out more amazing than it looks right now).

I found some instructions on the web on how to make cvs2svn work by
copying rcsparse in from somewhere, then running setup.py in the
trunk/subversion/bindings/swig/python dir, then doing some other stuff.
  When I try that, it seems to be missing libsvn_swig_py-1 in the
setup.py step. What did I do wrong?

Here's what I get:

% pwd
~/src/subversion/trunk/subversion/bindings/swig/python
% sudo python2 setup.py install
running install
running build
running build_py
not copying svn/delta.py (output up-to-date)
not copying svn/fs.py (output up-to-date)
not copying svn/__init__.py (output up-to-date)
not copying svn/util.py (output up-to-date)
running build_ext
building '_delta' extension
swigging ../svn_delta.i to build/svn_delta.c
swig -c -python -I.. -I../../../include -I../../../../apr/include
-I/usr/local/include -I/usr/include/python2.2 -o build/svn_delta.c
../svn_delta.i
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I..
-I../../../include -I../../../../apr/include -I/usr/local/include
-I/usr/include/python2.2 -c build/svn_delta.c -o
build/temp.linux-i686-2.2/svn_delta.o
build/svn_delta.c:247: warning: function declaration isn't a prototype
build/svn_delta.c:647: warning: `l_output_helper' defined but not used
gcc -shared build/temp.linux-i686-2.2/svn_delta.o
-L/usr/local/svn/lib-lsvn_delta -1 -lsvn_swig_py-1 -lswigpy -o
build/lib.linux-i686-2.2/svn/_delta.so
/usr/bin/ld: cannot find -lsvn_swig_py-1
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

-- Gary

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 26 19:55:40 2002

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.