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

[PATCH] Python setup.py

From: McCarty, Andy <William.McCarty_at_med.va.gov>
Date: 2002-07-09 19:40:00 CEST

I am trying to use the python bindings
with limited success on my
FreeBSD 4.6 STABLE box. After I
fixing setup.py with the patch below,
building and installing the bindings,
I try to run 'python fstest.py'
and get the following error

Traceback (most recent call last):
  File "fstest.py", line 6, in ?
    from svn import fs, _util
  File "svn/fs.py", line 19, in ?
    import _fs
ImportError: No module named _fs

_fs.o is in /usr/local/lib/python2.1/site-packages/svn
along with fs.py

Can anyone give me a clue where to start looking
for a fix?

Thanks
Andy McCarty

setup.py is looking for svn shared libraries in
/usr/local/svn/lib. I think it should be looking
in /usr/local/lib

Index: ./python/setup.py
===================================================================
--- ./python/setup.py
+++ ./python/setup.py Tue Jul 9 09:19:29 2002
@@ -22,7 +22,7 @@
 from distutils import dir_util

 INC_DIRS=['..', '../../../include', '../../../../apr/include']
-LIB_DIRS=['/usr/local/svn/lib']
+LIB_DIRS=['/usr/local/lib']

 class build_swig(build_ext.build_ext):
   def initialize_options(self):

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 9 19:40:51 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.