You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kenneth Rogers <ke...@gmail.com> on 2006/10/15 20:23:30 UTC

swig-py install problem

Hi,

I'm trying to upgrade svn.  I've gotten 1.4.0 to build, and 'make
swig-py' and 'make install-swig-py' both complete without errors, but
when I run python:

Python 2.3.4 (#2, Jan  5 2005, 08:24:51)
[GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from svn import core
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/svn/core.py", line 21, in ?
  File "/usr/lib/python2.3/site-packages/libsvn/core.py", line 5, in ?
ImportError: No module named _core


What the heck is going wrong?

-- 
"Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)

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

Re: Re: Re: swig-py install problem

Posted by Kenneth Rogers <ke...@gmail.com>.
I believe based on the error that python is finding the files, but
that the _core section isn't in there.  Unfortunately they're pyc
files so I can't check them, is there something like mn for python?


On 10/16/06, Russ <rs...@istandfor.com> wrote:
> I believe those directories need to be in pyhonpath, and I'm not sure whether python usea ld.conf.
>
> I just created symlinks in the site-packages folder.
>
> Russ
> Sent wirelessly via BlackBerry from T-Mobile.
>
> -----Original Message-----
> From: "Kenneth Rogers" <ke...@gmail.com>
> Date: Mon, 16 Oct 2006 18:10:56
> To:"Troy Curtis Jr" <tr...@gmail.com>
> Cc:users@subversion.tigris.org
> Subject:  Re: Re: swig-py install problem
>
> That doesn't seem to have fixed it, and I've made sure the libsvn and
> svn directories are in ld.so.conf.  Do I need to recompile with those
> directories in ldconfig?
>
>
> On 10/15/06, Troy Curtis Jr <tr...@gmail.com> wrote:
> > On 10/15/06, Kenneth Rogers <ke...@gmail.com> wrote:
> > > Hi,
> > >
> > > I'm trying to upgrade svn.  I've gotten 1.4.0 to build, and 'make
> > > swig-py' and 'make install-swig-py' both complete without errors, but
> > > when I run python:
> > >
> > > Python 2.3.4 (#2, Jan  5 2005, 08:24:51)
> > > [GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2
> > > Type "help", "copyright", "credits" or "license" for more information.
> > > >>> from svn import core
> > > Traceback (most recent call last):
> > >   File "<stdin>", line 1, in ?
> > >   File "/usr/lib/python2.3/site-packages/svn/core.py", line 21, in ?
> > >   File "/usr/lib/python2.3/site-packages/libsvn/core.py", line 5, in ?
> > > ImportError: No module named _core
> > >
> > >
> > > What the heck is going wrong?
> > >
> > > --
> > > "Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > > For additional commands, e-mail: users-help@subversion.tigris.org
> > >
> > >
> >
> > I had some similar sounding issues with the perl bindings.  Try
> > running "ldconfig" as root to rebuild your dynamically linked library
> > cache and hopefully that will help.
> >
> > Troy
> >
> > PS Sorry for the duplicate email kenneth, I forgot "Reply to All" yet again.
> > --
> > "Beware of spyware. If you can, use the Firefox browser." - USA Today
> > Download now at http://getfirefox.com
> > Registered Linux User #354814 ( http://counter.li.org/)
> >
>
>
> --
> "Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


-- 
"Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)

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

Re: Re: swig-py install problem

Posted by Russ <rs...@istandfor.com>.
I believe those directories need to be in pyhonpath, and I'm not sure whether python usea ld.conf.  

I just created symlinks in the site-packages folder.

Russ
Sent wirelessly via BlackBerry from T-Mobile.  

-----Original Message-----
From: "Kenneth Rogers" <ke...@gmail.com>
Date: Mon, 16 Oct 2006 18:10:56 
To:"Troy Curtis Jr" <tr...@gmail.com>
Cc:users@subversion.tigris.org
Subject:  Re: Re: swig-py install problem

That doesn't seem to have fixed it, and I've made sure the libsvn and
svn directories are in ld.so.conf.  Do I need to recompile with those
directories in ldconfig?


On 10/15/06, Troy Curtis Jr <tr...@gmail.com> wrote:
> On 10/15/06, Kenneth Rogers <ke...@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to upgrade svn.  I've gotten 1.4.0 to build, and 'make
> > swig-py' and 'make install-swig-py' both complete without errors, but
> > when I run python:
> >
> > Python 2.3.4 (#2, Jan  5 2005, 08:24:51)
> > [GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> from svn import core
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/lib/python2.3/site-packages/svn/core.py", line 21, in ?
> >   File "/usr/lib/python2.3/site-packages/libsvn/core.py", line 5, in ?
> > ImportError: No module named _core
> >
> >
> > What the heck is going wrong?
> >
> > --
> > "Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>
> I had some similar sounding issues with the perl bindings.  Try
> running "ldconfig" as root to rebuild your dynamically linked library
> cache and hopefully that will help.
>
> Troy
>
> PS Sorry for the duplicate email kenneth, I forgot "Reply to All" yet again.
> --
> "Beware of spyware. If you can, use the Firefox browser." - USA Today
> Download now at http://getfirefox.com
> Registered Linux User #354814 ( http://counter.li.org/)
>


-- 
"Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)

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

Re: Re: swig-py install problem

Posted by Kenneth Rogers <ke...@gmail.com>.
That doesn't seem to have fixed it, and I've made sure the libsvn and
svn directories are in ld.so.conf.  Do I need to recompile with those
directories in ldconfig?


On 10/15/06, Troy Curtis Jr <tr...@gmail.com> wrote:
> On 10/15/06, Kenneth Rogers <ke...@gmail.com> wrote:
> > Hi,
> >
> > I'm trying to upgrade svn.  I've gotten 1.4.0 to build, and 'make
> > swig-py' and 'make install-swig-py' both complete without errors, but
> > when I run python:
> >
> > Python 2.3.4 (#2, Jan  5 2005, 08:24:51)
> > [GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> from svn import core
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/lib/python2.3/site-packages/svn/core.py", line 21, in ?
> >   File "/usr/lib/python2.3/site-packages/libsvn/core.py", line 5, in ?
> > ImportError: No module named _core
> >
> >
> > What the heck is going wrong?
> >
> > --
> > "Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: users-help@subversion.tigris.org
> >
> >
>
> I had some similar sounding issues with the perl bindings.  Try
> running "ldconfig" as root to rebuild your dynamically linked library
> cache and hopefully that will help.
>
> Troy
>
> PS Sorry for the duplicate email kenneth, I forgot "Reply to All" yet again.
> --
> "Beware of spyware. If you can, use the Firefox browser." - USA Today
> Download now at http://getfirefox.com
> Registered Linux User #354814 ( http://counter.li.org/)
>


-- 
"Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)

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

Re: swig-py install problem

Posted by Troy Curtis Jr <tr...@gmail.com>.
On 10/15/06, Kenneth Rogers <ke...@gmail.com> wrote:
> Hi,
>
> I'm trying to upgrade svn.  I've gotten 1.4.0 to build, and 'make
> swig-py' and 'make install-swig-py' both complete without errors, but
> when I run python:
>
> Python 2.3.4 (#2, Jan  5 2005, 08:24:51)
> [GCC 3.3.5 (Debian 1:3.3.5-5)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from svn import core
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
>   File "/usr/lib/python2.3/site-packages/svn/core.py", line 21, in ?
>   File "/usr/lib/python2.3/site-packages/libsvn/core.py", line 5, in ?
> ImportError: No module named _core
>
>
> What the heck is going wrong?
>
> --
> "Linux doesn't exist." -- Kieren O'Shaghnessy (Director of SCO Australia)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

I had some similar sounding issues with the perl bindings.  Try
running "ldconfig" as root to rebuild your dynamically linked library
cache and hopefully that will help.

Troy

PS Sorry for the duplicate email kenneth, I forgot "Reply to All" yet again.
-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)

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