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

RE: Issues with ViewCVS

From: Alex Brown <abrown_at_diginexus.com>
Date: 2003-06-17 18:27:57 CEST

Still having the same issue. Here is a bit more data.

I think I'm really close, when I'm done I'll write up a document similar
to the one I found on the web for subversion install for the viewCVS
install.

        Thanks

----------------------------------------------------------------------
First I started with symbolic links to the directories:

[root@svn site-packages]# pwd
/usr/local/lib/python2.3/site-packages
[root@svn site-packages]# ls -l
total 0
lrwxrwxrwx 1 root root 32 Jun 17 07:45 libsvn ->
/usr/local/lib/svn-python/libsvn/
lrwxrwxrwx 1 root root 29 Jun 17 07:45 svn ->
/usr/local/lib/svn-python/svn/

----------------------------------------------------------------------
Then I tried links to the actual files so then I had the following:
[root@svn svn]# ls -l /usr/local/lib/python2.3/site-packages
total 4
lrwxrwxrwx 1 root root 39 Jun 17 07:57 client.py ->
/usr/local/lib/svn-python/svn/client.py
lrwxrwxrwx 1 root root 40 Jun 17 07:57 client.pyc ->
/usr/local/lib/svn-python/svn/client.pyc
lrwxrwxrwx 1 root root 37 Jun 17 07:57 core.py ->
/usr/local/lib/svn-python/svn/core.py
lrwxrwxrwx 1 root root 38 Jun 17 07:57 core.pyc ->
/usr/local/lib/svn-python/svn/core.pyc
lrwxrwxrwx 1 root root 38 Jun 17 07:57 delta.py ->
/usr/local/lib/svn-python/svn/delta.py
lrwxrwxrwx 1 root root 39 Jun 17 07:57 delta.pyc ->
/usr/local/lib/svn-python/svn/delta.pyc
lrwxrwxrwx 1 root root 35 Jun 17 07:57 fs.py ->
/usr/local/lib/svn-python/svn/fs.py
lrwxrwxrwx 1 root root 36 Jun 17 07:57 fs.pyc ->
/usr/local/lib/svn-python/svn/fs.pyc
lrwxrwxrwx 1 root root 41 Jun 17 07:57 __init__.py ->
/usr/local/lib/svn-python/svn/__init__.py
lrwxrwxrwx 1 root root 42 Jun 17 07:57 __init__.pyc ->
/usr/local/lib/svn-python/svn/__init__.pyc
lrwxrwxrwx 1 root root 35 Jun 17 07:57 ra.py ->
/usr/local/lib/svn-python/svn/ra.py
lrwxrwxrwx 1 root root 36 Jun 17 07:57 ra.pyc ->
/usr/local/lib/svn-python/svn/ra.pyc
-rw-r--r-- 1 root root 119 Jun 13 12:45 README
lrwxrwxrwx 1 root root 38 Jun 17 07:57 repos.py ->
/usr/local/lib/svn-python/svn/repos.py
lrwxrwxrwx 1 root root 39 Jun 17 07:57 repos.pyc ->
/usr/local/lib/svn-python/svn/repos.pyc
lrwxrwxrwx 1 root root 37 Jun 17 07:57 util.py ->
/usr/local/lib/svn-python/svn/util.py
lrwxrwxrwx 1 root root 38 Jun 17 07:57 util.pyc ->
/usr/local/lib/svn-python/svn/util.pyc
lrwxrwxrwx 1 root root 35 Jun 17 07:57 wc.py ->
/usr/local/lib/svn-python/svn/wc.py
lrwxrwxrwx 1 root root 36 Jun 17 07:57 wc.pyc ->
/usr/local/lib/svn-python/svn/wc.pyc

----------------------------------------------------------------------
To make sure, I changed the permissions so any user can execute:

[root@svn svn]# chmod 755 *
[root@svn svn]# ls -l
total 72
-rwxr-xr-x 1 root root 628 Jun 17 07:49 client.py*
-rwxr-xr-x 1 root root 155 Jun 17 07:49 client.pyc*
-rwxr-xr-x 1 root root 2131 Jun 17 07:49 core.py*
-rwxr-xr-x 1 root root 2210 Jun 17 07:49 core.pyc*
-rwxr-xr-x 1 root root 1732 Jun 17 07:49 delta.py*
-rwxr-xr-x 1 root root 3470 Jun 17 07:49 delta.pyc*
-rwxr-xr-x 1 root root 4033 Jun 17 07:49 fs.py*
-rwxr-xr-x 1 root root 3780 Jun 17 07:49 fs.pyc*
-rwxr-xr-x 1 root root 697 Jun 17 07:49 __init__.py*
-rwxr-xr-x 1 root root 121 Jun 17 07:49 __init__.pyc*
-rwxr-xr-x 1 root root 616 Jun 17 07:49 ra.py*
-rwxr-xr-x 1 root root 147 Jun 17 07:49 ra.pyc*
-rwxr-xr-x 1 root root 625 Jun 17 07:49 repos.py*
-rwxr-xr-x 1 root root 153 Jun 17 07:49 repos.pyc*
-rwxr-xr-x 1 root root 850 Jun 17 07:49 util.py*
-rwxr-xr-x 1 root root 144 Jun 17 07:49 util.pyc*
-rwxr-xr-x 1 root root 616 Jun 17 07:49 wc.py*
-rwxr-xr-x 1 root root 147 Jun 17 07:49 wc.pyc*

----------------------------------------------------------------------
Then I added a PYTHONPATH variable to my /etc/profile and exported it

PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python/libsvn:/usr/local/lib/s
vn-python/svn

----------------------------------------------------------------------
I compiled SWIG with the following link to these Python libraries:

/configure --with-python=/usr/local/lib/python2.3

-----Original Message-----
From: cmpilato@collab.net [mailto:cmpilato@collab.net]
Sent: Tuesday, June 17, 2003 11:07 AM
To: Alex Brown
Cc: dev@subversion.tigris.org
Subject: Re: Issues with ViewCVS

"Alex Brown" <abrown@diginexus.com> writes:

> I added the following directories to my PATH:
> /usr/local/lib/svn-python
> /usr/local/lib/svn-python/libsvn
> /usr/local/lib/svn-python/svn
>
> I am not aware of a Python specific path and how to set it. A Google
> search on the subject turned up fruitless. Could you possibly point me

> in the right direction with this.

I personally just add symlinks in my
/usr/local/lib/python2.2/site-packages to both the .../svn-python/svn
and .../svn-python/libsvn directories.

> I think many people who adopt Subversion will want to use viewcvs to
> view the repository. I would be happy to write up a quick document on

> the subject if that would help the project. Unless of course there is

> one that I have not yet found.

If you wanna write up a doc, that'd be wonderful.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 17 18:28:41 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.