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

Re: swig-python bindings

From: Ruslan Sivak <rsivak_at_istandfor.com>
Date: 2006-09-22 19:19:27 CEST

Resending to make sure it makes it to the list.

Ruslan Sivak wrote:
> The last time I compiled, I used this:
> ./configure --with-python=/usr/bin/python PYTHON=/usr/bin/python
> --with-neon=/usr/local --with-ssl
>
> Before that I skipped the --with-neon part and let it compile neon
> internally. At first it gave me an error building, so I went in and did
> ./configure --with-ssl --with-pic inside the neon folder, then went
> back up to the main folder and let it finish the make
>
> So i did,
> make
> make swig-py
> make install
> make install-swig-py
>
>
> Then i tried
> python
> import libsvn._core
>
> but it complained that it couldn't find the module. So I went into
> /usr/lib/python2.3/site-packages
> and symlinked libsvn and svn to point to their respective
> counterpoints in /usr/local/lib/svn-python. At this point I went in
> and again typed in
> python
> Python 2.3.4 (#1, Mar 13 2006, 07:49:07)
> [GCC 3.4.4 20050721 (Red Hat 3.4.4-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import libsvn._core
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
> PKCS12_SAFEBAG_free
>
> I have installed openssl 0.9.7.k and 0.9.8.c and then compiled neon with
> ./configure --with-ssl --with-libs=/usr/local/ssl/liib --with-pic
> and then used the above configure line
> ./configure --with-python=/usr/bin/python PYTHON=/usr/bin/python
> --with-neon=/usr/local --with-ssl
>
> Most of this is from memory, but I think I got most of it right. Do
> you see anything wrong with the way I built it?
>
> Russ
>
>
> Mark wrote:
>> Let's see your configure line from subversion.
>>
>> On 9/22/06, Ruslan Sivak <rsivak@istandfor.com> wrote:
>>> Ok, I must be going crazy... I spend all night recompiling the sources
>>> to try to get rid of the error on rhel3. No luck. I think
>>> installed in
>>> a virtual machine the latest CentOS 4, and downloaded the svn files to
>>> it, and recompiled. Now i get this error:
>>>
>>> ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
>>> PKCS12_SAFEBAG_free
>>>
>>> Is it just me or am I getting no luck getting neon and openssl talking
>>> on any of my systems? Can anyone walk me through here?
>>>
>>> Russ
>>>
>>>
>>> Mark wrote:
>>> > neon 0.25.5 is the one ine th subversion 1.4.0 deps tarball, btw.
>>> >
>>> > On 9/21/06, Mark <mark@mitsein.net> wrote:
>>> >> Not so much, I am using neon 0.25.5 on a RHEL machine and neon
>>> 0.26.1
>>> >> on my gentoo box.
>>> >>
>>> >> On 9/21/06, Russ <rsivak@istandfor.com> wrote:
>>> >> > Does the version of neon matter?
>>> >> > Sent wirelessly via BlackBerry from T-Mobile.
>>> >> >
>>> >> > -----Original Message-----
>>> >> > From: Mark <mark@mitsein.net>
>>> >> > Date: Thu, 21 Sep 2006 16:33:19
>>> >> > To:users@subversion.tigris.org
>>> >> > Subject: Re: swig-python bindings
>>> >> >
>>> >> > The version does not matter. the key, I believe, is to compile
>>> neon
>>> >> > separately and install. then refer explcitly to that path for
>>> neon in
>>> >> > the configure for subversion.
>>> >> >
>>> >> > On 9/21/06, Ruslan Sivak <rsivak@istandfor.com> wrote:
>>> >> > > I upgraded my /usr/ tree to openssl 0.9.7k. What version should
>>> >> I be
>>> >> > > using to get this to work?
>>> >> > >
>>> >> > > Russ
>>> >> > >
>>> >> > > Mark wrote:
>>> >> > > > Check out http://svn.haxx.se/users/archive-2006-06/0670.shtml
>>> >> > > > the problem is with linking to neon and what it is linked to.
>>> >> > > >
>>> >> > > > On 9/21/06, Ruslan Sivak <rsivak@istandfor.com> wrote:
>>> >> > > >> I've compiled and recompiled subversion again and again and I
>>> >> still get
>>> >> > > >> the following error: when i run
>>> >> > > >> import libsvn._core
>>> >> > > >>
>>> >> > > >> ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined
>>> >> symbol:
>>> >> > > >> SSL_load_error_strings
>>> >> > > >>
>>> >> > > >> Does this mean anything to anyone?
>>> >> > > >>
>>> >> > > >> Russ
>>> >> > > >>
>>> >> > > >> Ruslan Sivak wrote:
>>> >> > > >> > I'm trying to get the latest version of trac working with
>>> >> subversion
>>> >> > > >> > 1.4 on rhel3 with python 2.4. I compiled everything
>>> several
>>> >> times,
>>> >> > > >> > and trac keeps complaining. I was told that I don't
>>> have the
>>> >> > > >> > python-subversion bindings installed properly. As far as I
>>> >> know, it's
>>> >> > > >> > all installed properly. How do I check whether or not
>>> they're
>>> >> > > >> > properly installed?
>>> >> > > >> >
>>> >> > > >> > Russ
>>> >> > > >> >
>>> >> > > >> >
>>> >>
>>> ---------------------------------------------------------------------
>>> >> > > >> > To unsubscribe, e-mail:
>>> users-unsubscribe@subversion.tigris.org
>>> >> > > >> > For additional commands, e-mail:
>>> >> users-help@subversion.tigris.org
>>> >> > > >>
>>> >> > > >>
>>> >>
>>> ---------------------------------------------------------------------
>>> >> > > >> To unsubscribe, e-mail:
>>> users-unsubscribe@subversion.tigris.org
>>> >> > > >> For additional commands, e-mail:
>>> users-help@subversion.tigris.org
>>> >> > > >>
>>> >> > > >>
>>> >> > > >
>>> >> > > >
>>> >> > >
>>> >> > >
>>> >> >
>>> >> >
>>> >> > --
>>> >> > Mark
>>> >> > "Blessed is he who finds happiness in his own foolishness, for
>>> he will
>>> >> > always be happy."
>>> >> >
>>> >> >
>>> ---------------------------------------------------------------------
>>> >> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> >> > For additional commands, e-mail: users-help@subversion.tigris.org
>>> >> >
>>> >>
>>> >>
>>> >> --
>>> >> Mark
>>> >> "Blessed is he who finds happiness in his own foolishness, for he
>>> will
>>> >> always be happy."
>>> >>
>>> >
>>> >
>>>
>>>
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 22 19:20:12 2006

This is an archived mail posted to the Subversion Users mailing list.