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

[Fwd: swig bindings fail with build from /branches/1.0.x and viewcvs-dev]

I think I should have forwarded this message here.
-----Forwarded Message-----
> From: Ron Bieber <ro...@bieberlabs.com>
> To: users@subversion.tigris.org
> Subject: swig bindings fail with build from /branches/1.0.x and viewcvs-dev
> Date: Sun, 22 Feb 2004 09:17:02 -0600
> 
> 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


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

Re: [Fwd: swig bindings fail with build from /branches/1.0.x and viewcvs-dev]

Posted by Ben Reser <be...@reser.org>.
On Mon, Feb 23, 2004 at 03:39:01PM -0600, Ron Bieber wrote:
> I think I should have forwarded this message here.
> -----Forwarded Message-----
> > From: Ron Bieber <ro...@bieberlabs.com>
> > To: users@subversion.tigris.org
> > Subject: swig bindings fail with build from /branches/1.0.x and viewcvs-dev
> > Date: Sun, 22 Feb 2004 09:17:02 -0600

[snip]

> > 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?  

He has an old libsvn_swig_py somewhere on his system that python is
using. 

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

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