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

Re: Make swig-py does not work

From: <o.nash_at_cs.ucc.ie>
Date: 2006-06-04 12:03:28 CEST

You might need to [linux example]:
add svn-python to the system library PATH by editing /etc/ld.so.conf
with these lines
/usr/local/lib/svn-python
/usr/local/lib/svn-python/libsvn
/usr/local/lib/svn-python/svn
Then run /sbin/ldconfig.

Also add symbolic links into the system Python site-packages dir,
pointing to the new binaries you just installed.
In /usr/lib/python2.4/site-packages create:-
libsvn -> /usr/local/lib/svn-python/libsvn/
libsvn_swig_py-1.so -> /usr/local/lib/libsvn_swig_py-1.so
libsvn_swig_py-1.so.0 -> /usr/local/lib/libsvn_swig_py-1.so.0
svn -> /usr/local/lib/svn-python/svn

Youp exact paths might differ
hope this helps
rgds
Oliver

On Sun, 4 Jun 2006, SVNL wrote:

>
> Hello, everyone.
>
> I tried to make python bindings installed with Subversion 1.3.2. But I ran
> into errors below. Basically, make swig-py said it can't find certain
> files.
> I have SWIG Version 1.3.29 installed at /usr/local/bin/swig and its lib
> /usr/local/share/swig/1.3.29/
>
> What am I doing wrong?
> My platform is Centos 4.3 x86
>
> Please help!
>
> Thanks.
>
> [root@linux.xxx subversion-1.3.2]# make swig-py
> /usr/local/bin/swig -I/tmp/subversion-1.3.2/subversion/bindings/swig
> -I/tmp/subversion-1.3.2/subversion/bindings/swig/include
> -I/tmp/subversion-1.3.2/subversion/bindings/swig/proxy
> -I/tmp/subversion-1.3.2/subversion/bindings/swig/proxy
> -I/tmp/subversion-1.3.2/subversion/include
> -I/tmp/subversion-1.3.2/apr/include
> -I/tmp/subversion-1.3.2/apr-util/include -python -classic -w451 -w305 -o
> subversion/bindings/swig/python/core.c
> /tmp/subversion-1.3.2/subversion/bindings/swig/core.i
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:46: Error:
> Unable to find 'pyswigtype.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:47: Error:
> Unable to find 'pyinout.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:48: Error:
> Unable to find 'pyvoid.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:49: Error:
> Unable to find 'pyobject.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:50: Error:
> Unable to find 'pystrbase.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:52: Error:
> Unable to find 'pyvaltypes.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:53: Error:
> Unable to find 'pyptrtypes.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:55: Error:
> Unable to find 'pymisctypes.swg'
> /tmp/subversion-1.3.2/subversion/bindings/swig/proxy/python.swg:56: Error:
> Unable to find 'pyenum.swg'
> make: *** [subversion/bindings/swig/python/core.c] Error 1
>
> --
> View this message in context: http://www.nabble.com/Make-swig-py-does-not-work-t1730040.html#a4700624
> Sent from the Subversion Users forum at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

--
Oliver Nash
Computer Systems Support Group
Department of Computer Science
University College Cork
Ireland
EMAIL:o.nash@cs.ucc.ie
PHONE:+35321 4902972
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jun 4 12:05:02 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.