> > I have read that to ensure that these libraries are
> compiled, the user
> > must take care to set the appropriate switches on the configure
> > program. However, I did not build from source, nor have I had much
> > luck when I attempt to do so. What is puzzling is that I have found
> > numerous libraries in /usr/local/lib/ that look like this (random
> > sampling from 65 hits with the word "svn"):
> >
[...]
> >
> > So it seems that they were bundled with the package I
> installed from.
> > However, how exactly do I get Python to see this?
>
> These are the Subversion libraries. What you seem to be
> lacking are the Subversion Python bindings, which are a
> mixture of compiled C code and Python wrappers which perform
> translations between Python data types and function calls and
> those Subversion C libraries you listed above. If you had
> those libraries, they'd likely wind up in some place like
> /usr/lib/python2.4/site-package/libsvn and
> /usr/lib/python2.4/site-package/svn (the former is the
> auto-generated bindings, the latter are some slightly
> higher-level Python modules that provide the intended public API).
Perhaps my Python installation is also strange. I have attempted to
locate the /usr/lib/python2.4/ directory, but it would seem that the
only place in the filesystem that I can find where Python went is:
/opt/local/bin/python and /opt/local/doc/python/. So I'm not sure where
these would have ended up...
> I dunno if the Subversion Python bindings have their own
> package at sunfreeware or not. I've only ever built
> Subversion from source on Solaris.
I haven't been able to find any binaries or packages anywhere for these.
So it looks like I'm back to trying to compile from source. I get a
variety of errors all over the place when I try to compile svn from
source, probably half my servers' fault and the other half is mine for
being new to this.
Is there any way to compile *just* the Python bindings from the svn
source? I assume that I just need these lib files and then just drop
them into my Python lib dir (when I find it).
Thanks very much for your insight and assistance. I probably would have
spent a very long time trying to symbolically link these lib files I
thought were the Python libraries to a Python lib directory I couldn't
find. :|
- Dave
|
|