You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ron Bieber <ro...@bieberlabs.com> on 2004/02/22 15:17:02 UTC

swig bindings fail with build from /branches/1.0.x and viewcvs-dev

I'm not sure if this should go to the users list or the dev list, so I
picked users.

I've just built the subversion system on a server that I have been
running every version since 0.11 on from the 1.0.x branch.   Everything
works fine except my installation of viewcvs.   This worked fine before
building from the latest head of the branch.   Now I get the following
error:

Traceback (most recent call last):
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 3100, in main
    request.run_viewcvs()
  File "/usr/local/viewcvs-1.0-dev/lib/viewcvs.py", line 246, in run_viewcvs
    import vclib.svn
  File "/usr/local/viewcvs-1.0-dev/lib/vclib/svn/__init__.py", line 26, in ?
    from svn import fs, repos, core
  File "/usr/local/lib/svn-python/svn/repos.py", line 23, in ?
    from libsvn.repos import *
  File "/usr/local/lib/svn-python/libsvn/repos.py", line 4, in ?
    import _repos
ImportError: /usr/local/lib/svn-python/libsvn/_repos.so: undefined symbol: svn_swig_py_thunk_repos_authz_func


This is a redhat-7.3 system.   At first the swig bindings wouldn't
build at all.  I checked the mailing lists and saw thatthere are some
problems with versions of swig  < 1.3.19 and checked the version (which
was 1.3.16a - the version that comes with redhat-7.3). I've updated
swig to the 1.3.19 version and now get this error.   

I configured swig with the --with-python=/usr/bin/python2.  Otherwise
it's a standard installation.   I've checked the _repos.so library and
the svn_swig_py_thunk_repos_authz_func symbol is there.

Any ideas as to what the problem could be?  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org