List Info

Thread: VersionControl addin




VersionControl addin
country flaguser name
United Kingdom
2007-03-21 17:59:51
Hi all,

I've just upgraded my version of svn to 1.4.3 (built from
source on
ubuntu Edgy as repository version is only 1.3.2), and am
getting the
following error in the console when I run monodevelop:

System.DllNotFoundException: libsvn_client-1.so.0
  at (wrapper managed-to-native)
MonoDevelop.VersionControl.Subversion.SvnClient:svn_client_c
reate_context (intptr&,intptr)
  at MonoDevelop.VersionControl.Subversion.SvnClient..ctor
() [0x00022]
in
/home/james/development/monodevelop/monodevelop/Extras/Versi
onControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.
VersionControl.Subversion/SvnClient.cs:43 
  at
MonoDevelop.VersionControl.Subversion.SubversionVersionContr
ol.get_Client () [0x0000c] in
/home/james/development/monodevelop/monodevelop/Extras/Versi
onControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.
VersionControl.Subversion/SubversionVersionControl.cs:50 
  at
MonoDevelop.VersionControl.Subversion.SubversionVersionContr
ol.GetRepositoryReference (System.String path, System.String
id) [0x00000] in
/home/james/development/monodevelop/monodevelop/Extras/Versi
onControl/MonoDevelop.VersionControl.Subversion/MonoDevelop.
VersionControl.Subversion/SubversionVersionControl.cs:32

Can anyone provide me with a clue as to whats going on
here?

Cheers,
James

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

Re: VersionControl addin
country flaguser name
Poland
2007-03-21 18:14:52
* James Fitzsimons <james.fitzsimonsgmail.com> [2007-03-21 23:55]:
> System.DllNotFoundException: libsvn_client-1.so.0

> Can anyone provide me with a clue as to whats going on
here?

svn 1.4 is now in libsvn_client-1.so.1, so it can coexist
with 1.3.
It's probably because of some API changes.

I just recompiled MD today, with libsvn1.4.
And after few minutes of testing it seems to work fine.

If you want to experiment too, you can try, it's just a
little change:


Index:
Extras/VersionControl/MonoDevelop.VersionControl.Subversion/
MonoDevelop.VersionControl.Subversion/SvnClient.cs
============================================================
=======
---
Extras/VersionControl/MonoDevelop.VersionControl.Subversion/
MonoDevelop.VersionControl.Subversion/SvnClient.cs (wersja
74763)
+++
Extras/VersionControl/MonoDevelop.VersionControl.Subversion/
MonoDevelop.VersionControl.Subversion/SvnClient.cs (kopia
robocza)
 -855,7
+855,7 
                const int APR_CREATE = 4;
                const int APR_TRUNCATE = 16;

-               private const string svnclientlib =
"libsvn_client-1.so.0";
+               private const string svnclientlib =
"libsvn_client-1.so.1";

                private struct svn_error_t {
                        [MarshalAs (UnmanagedType.SysInt)]
public intapr_err;

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

Re: VersionControl addin
country flaguser name
United States
2007-03-21 19:55:49
On Wed, 2007-03-21 at 22:59 +0000, James Fitzsimons wrote:
> Hi all,
> 
> I've just upgraded my version of svn to 1.4.3 (built
from source on
> ubuntu Edgy as repository version is only 1.3.2), and
am getting the
> following error in the console when I run monodevelop:

Sadly, it seems Debian-based systems have arbitrarily bumped
the .so
number on libsvn_client-1.so.0 to libsvn_client-1.so.1

I would *guess* that they did this so that you could have
both 1.3.x and
1.4.x installed in parallel, but I'd only be guessing. None
of the other
distros do this and if you compile 1.4.x yourself, it will
be named
libsvn_client-1.so.0 just like the 1.3.x .deb versions are
named.

We haven't yet figured out what to do about this in
MonoDevelop...

Jeff


_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )