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

Re: How can i build subversion python binding

From: ying lcs <yinglcs_at_gmail.com>
Date: 2007-01-16 00:47:44 CET

Thanks. I have following the documentation and install SWIG,
recompiles subversion and do a 'make swig-py' and 'make
intall-swig-py'

But when I try to test it via python -c "from svn import client", I
get this error message 'svn' is not found:

# python -c "from svn import client"
Traceback (most recent call last):
  File "<string>", line 1, in ?
ImportError: No module named svn

I have checked I have sub-directories 'libsvn', 'svn' under
/usr/local/lib/svn-python/

 cd /usr/local/lib/svn-python/
[root@localhost svn-python]# ls
libsvn svn

Please tell me what am I missing. I appreciate your help.

On 1/15/07, Ben Collins-Sussman <sussman@red-bean.com> wrote:
> At the bottom of the INSTALL file, there are these instructions:
>
>
> V. PROGRAMMING LANGUAGE BINDINGS (PYTHON, PERL, RUBY, JAVA)
> ========================================================
>
> For Python, Perl and Ruby bindings, see the file
>
> ./subversion/bindings/swig/INSTALL
>
>
>
>
> On 1/15/07, ying lcs <yinglcs@gmail.com> wrote:
> > Hi,
> >
> > I download subversion source code, but in the '.configure' I cant'
> > find an option which build python binding. Can you please tell me how
> > can I build subversion python binding?
> >
> > Thank you.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 16 00:47:56 2007

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.