Are you getting: TracError: Unsupported version control system
"svn" ???
Or how about: ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0:
undefined symbol: gss_delete_sec_context ?
If you are getting the first error mentioned, go to the command prompt
and type: python -c 'from svn import fs'

Well, it took me several hours of pain to figure out a solution.  So
I've decided to reply to every thread in the Trac mailing list so that
others will be sure to stumble upon a (possible) answer.  I installed
Trac 0.10.3 on RHEL4.

Here's the site that cured my pain: http://www.liucougar.net/blog/
archives/53/
Basically, recompile subversion but edit the Makefile so that neon
will explicitly link against gssapi lib:

vi subversion-1.4.2/Makefile
old: SVN_APR_LIBS =  .../subversion-1.4.2/apr/libapr-0.la -lrt -lm -
lcrypt -lnsl  -lpthread -ldl
new: SVN_APR_LIBS =  .../subversion-1.4.2/apr/libapr-0.la -lrt -lm -
lcrypt -lnsl  -lpthread -ldl -lgssapi
then compile + install again.

You can always not compile neon, but don't you want to browse your
code online? ;-)

Btw, if you apply the above solution but get the new error:
ImportError: libsvn_swig_py-1.so.0: cannot open shared object file: No
such file or directory
Then just reboot your box.  Something is cached and needs to be
restarted.

keywords: red hat enterprise linux 4, rhel4, rhel, trac, subversion,
rpm, source code,
more keywords:

see also:
http://trac.edgewall.org/ticket/3706?format=rss
http://trac.edgewall.org/ticket/3706
http://pacopablo.com/irclogs/2007/01/28




2007-02-02 18:29:45,878 Trac[main] ERROR: Unsupported version control
system "svn"
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 387,
in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 191,
in dispatch
    chosen_handler = self._pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 263,
in _pre_process_request
    chosen_handler = f.pre_process_request(req, chosen_handler)
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 73, in pre_process_request
    self.get_repository(req.authname) # triggers a sync if applicable
  File "/usr/lib/python2.4/site-packages/trac/versioncontrol/api.py",
line 91, in get_repository
    raise TracError('Unsupported version control system "%s"'
TracError: Unsupported version control system "svn"


Python 2.4.4 (#1, Feb  2 2007, 16:33:34)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import svn
>>> from svn import fs
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/svn-python/svn/fs.py", line 19, in ?
    from libsvn.fs import *
  File "/usr/local/lib/svn-python/libsvn/fs.py", line 5, in ?
    import _fs
ImportError: /usr/local/lib/libsvn_ra_dav-1.so.0: undefined symbol:
gss_delete_sec_context
>>>

------------------------------------------------------------
Quick-and-dirty notes on installing Trac from source code...
------------------------------------------------------------
[installed on RHEL4 - Nahant]


wget http://mirror.x10.com/mirror/apache/httpd/httpd-2.0.59.tar.gz
./configure --enable-dav --enable-so --enable-maintainer-mode --
prefix=/usr/local/apache2 && make && make install


wget http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz
./configure --prefix=/usr && make && make install


# no need to get swig - subversion-1.4 have the wrappers in its own
code
#wget 'http://downloads.sourceforge.net/swig/swig-1.3.25.tar.gz?
modtime=1118577644&big_mirror=0'
#./configure --prefix=/usr/local && make && make install


wget http://subversion.tigris.org/downloads/subversion-1.4.2.tar.gz
wget http://subversion.tigris.org/downloads/subversion-
deps-1.4.2.tar.gz
sh autogen.sh
./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/
local && make && make install
make swig-py && make install-swig-py
ls /usr/local/lib/svn-python   # you should see "svn" and "libsvn"
dirs here
echo /usr/local/lib/svn-python > /usr/lib/python2.4/site-packages/
subversion.pth


wget http://www.clearsilver.net/downloads/clearsilver-0.10.4.tar.gz
./configure && make && make install


wget http://peak.telecommunity.com/dist/ez_setup.py
python2.4 ez_setup.py


wget http://docutils.sourceforge.net/docutils-snapshot.tgz
python2.4 setup.py build
python2.4 setup.py install


wget http://www.iki.fi/mtr/genscript/enscript-1.6.4.tar.gz
./configure --prefix=/usr/local && make && make install


wget http://mirror.olnevhost.net/pub/apache/httpd/modpython/
mod_python-3.2.10.tgz
./configure --with-apxs=/usr/local/apache2/bin/apxs && make && make
install


wget http://www.sqlite.org/sqlite-3.3.11.tar.gz
./configure --prefix=/usr/local && make && make install


wget http://initd.org/pub/software/pysqlite/releases/2.3/2.3.3/
pysqlite-2.3.3.tar.gz
python2.4 setup.py build
python2.4 setup.py install


wget http://ftp.edgewall.com/pub/trac/trac-0.10.3.tar.gz
python2.4 setup.py build
python2.4 setup.py install




On Jan 12, 6:45 am, "Erik Sherwood" <[EMAIL PROTECTED]> wrote:
> My apologies if this posts multiple times -- it didn't seem to show up
> in google groups when I posted before.
>
> I am trying to install trac on RH Enterprise 4. I have built the
> necessary components from source in /usr/local, rather than relying on
> the RH packages.
>
> I am using trac-0.10.3, Python-2.4.4, subversion-1.4.2, swig-1.3.25,
> sqlite-3.3.8, clearsilver-0.10.4.
>
> I created a test subversion repository and trac environment, and set up
> the trac environment using
>
> trac-admin /home/sherwood/public_html/testproject initenv
>
> In interactive mode, I set trac to use svn as the repository type, set
> to the test repository.
>
> When I run
>
> tracd --port 8000 /home/sherwood/public_html/testproject
>
> and then connect to localhost:8000, I see the correct listing of
> available projects:
>
> Available Projects
>
>     * testproj
>
> but clicking on that link gives me this error from trac:
>
> Traceback (most recent call last):
>   File
> "/usr/local/trac-0.10.3/lib/python2.4/site-packages/trac/web/main.py",
> line 387, in dispatch_request
>     dispatcher.dispatch(req)
>   File
> "/usr/local/trac-0.10.3/lib/python2.4/site-packages/trac/web/main.py",
> line 191, in dispatch
>     chosen_handler = self._pre_process_request(req, chosen_handler)
>   File
> "/usr/local/trac-0.10.3/lib/python2.4/site-packages/trac/web/main.py",
> line 263, in _pre_process_request
>     chosen_handler = f.pre_process_request(req, chosen_handler)
>   File
> "/usr/local/trac-0.10.3/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> line 73, in pre_process_request
>     self.get_repository(req.authname) # triggers a sync if applicable
>   File
> "/usr/local/trac-0.10.3/lib/python2.4/site-packages/trac/versioncontrol/api.py",
> line 91, in get_repository
>     raise TracError('Unsupportedversioncontrolsystem"%s"'
> TracError:Unsupportedversioncontrolsystem"svn"
>
> What have I done wrong?
>
> Thanks,
>
> Erik


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to