Praise the Lord, it looks like I got it to work!!!!

The problem was that I am running SuSE 10.1 which runs httpd 2.2. Since
httpd 2.2 requires apr1, I can not use apr0 which is supplied with the
subversion distribution.

What I did was:
1. Changed directory to the subversion distribution:
  cd /usr/local/subversion-1.3.2
1. Rename apr directory under subversion-1.3.2 to apr-0.9
  mv apr apr-0.9
2. Rename apr-util directory under subversion-1.3.2 to apr-util-0.9
  mv apr-util apr-util-0.9
3. Downloaded apr and apr-util using:
  'svn co http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x apr'
  'svn co http://svn.apache.org/repos/asf/apr/apr-util/branches/1.2.x
apr-util'
4. Cleaned out the current distribution:
  make distclean
5. Did a re-configure, this time is found apr 1.2.x
  ./configure
6. Re-made subversion.
  make
7. Re-installed.
  make install
8. Re-make the swig-py.
  make swig-py
9. Re-installed swig-py.
  make install-swig-py.
10. Restarted apache.
  apache2ctl restart

Now I no longer get the:

Can't set position pointer in file '/usr/local/svn/db/revs/1': Invalid
argument  [500, #22]

I will go ahead and update the ticket with my finding is so desired by
the powers-at-be...

Thanks,

-Jeff

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

> 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
> 

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

Reply via email to