Ok, I did have the PYTHONPATH incorrectly set in the trac.conf file,
but after changing that, I am still getting the error...

After further research, I stumbled across an atricle talking about
needing to recompile subversion with apr1 if you are using apache 2.2. 

http://www.red-bean.com/pipermail/svnbook-dev/2006-July/002204.html

Well I am using apache 2.2. SuSE 10.1 runs apache 2.2. So I guess I
need to recompile subversion with apr1. I am assuming that apr1 means
apr-1.x not apr-0.x...

As of now, I can get subversion to recompile using apr-1.x, but I can
not get it to install... I'm off to the subversion forums now...

--- Jeff Lanzarotta <[EMAIL PROTECTED]> wrote:

> I believe that I have everything setup correctly, but who knows...
> 
> In my /etc/profile.d/python.sh, I have:
>     export PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python
> 
> In the /etc/apache2/conf.d directory, I have a trac.conf file and in
> it
> I have:
>     SetEnv PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python
> 
> In the /usr/local/lib/svn-python directory, all the files are dated
> with todays date.
> 
> Also, when I do an 'make install-swig-py', some of the output shows:
> 
> Listing /usr/local/lib/svn-python/libsvn ...
> Compiling /usr/local/lib/svn-python/libsvn/__init__.py ...
> Compiling /usr/local/lib/svn-python/libsvn/client.py ...
> Compiling /usr/local/lib/svn-python/libsvn/core.py ...
> Compiling /usr/local/lib/svn-python/libsvn/delta.py ...
> Compiling /usr/local/lib/svn-python/libsvn/fs.py ...
> Compiling /usr/local/lib/svn-python/libsvn/ra.py ...
> Compiling /usr/local/lib/svn-python/libsvn/repos.py ...
> Compiling /usr/local/lib/svn-python/libsvn/wc.py ...
> Listing /usr/local/lib/svn-python/svn ...
> Compiling /usr/local/lib/svn-python/svn/__init__.py ...
> Compiling /usr/local/lib/svn-python/svn/client.py ...
> Compiling /usr/local/lib/svn-python/svn/core.py ...
> Compiling /usr/local/lib/svn-python/svn/delta.py ...
> Compiling /usr/local/lib/svn-python/svn/fs.py ...
> Compiling /usr/local/lib/svn-python/svn/ra.py ...
> Compiling /usr/local/lib/svn-python/svn/repos.py ...
> Compiling /usr/local/lib/svn-python/svn/wc.py ...
> 
> 
> --- Christian Boos <[EMAIL PROTECTED]> wrote:
> 
> > Jeff Lanzarotta wrote:
> > > I am using swig-1.3.24-4.i586.rpm.
> > >
> > > I did a 'make distclean' in the subversion directory.
> > > Did a 'make swig-py' to make the python bindings.
> > > Did a 'make install-swig-py' to install the bindings.
> > >   
> > 
> > At this point, you must also check that those bindings will get
> used.
> > The install above installs in the subversion install tree
> > (e.g. /opt/subversion-1.x.y/lib/svn-python).
> > You have to make your PYTHONPATH environment variable point to that
> 
> > location,
> > or alternatively copy the svn and libsvn folders you'll find there
> > into 
> > the site-packages
> > folder of your python installation.
> > 
> > -- Christian
> > 
> 
> _______________________________________________
> Trac mailing list
> [email protected]
> http://lists.edgewall.com/mailman/listinfo/trac
> 

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to