trying to install git server using gitosis on SUSE 11.1

Pretty much after a standard SUSE 11.1 install, I had to do the following:

zypper install git-core
git clone git://eagain.net/gitosis
cd gitosis
#python setup.py install
#failed due to missing setuptools
zypper install python-setuptools
#python setup.py install
#missing /usr/local/lib/python2.6/site-packages/…
ln -s /usr/lib/python2.6 /usr/local/lib/python2.6
python setup.py install
#now I have the following error:
#…

File “/usr/lib/python2.6/posixpath.py”, line 338, in abspath

return normpath(path)

File “/usr/lib/python2.6/posixpath.py”, line 309, in normpath

if path == ‘’:

#RuntimeError: maximum recursion depth exceeded in cmp

Has anyone else done this and got beyond my current error?

On this python error, I found posts that recommended adding:
"
sys.setrecursionlimit(1500)
"
to the start of the code. Problem is, I know nothing about python and not sure if I put the line in the right place.

Regards,
Joe

Thanks in advance for your help.

Hi Joe,

I did this:
export PYTHONPATH=/usr/lib/python
sudo mkdir -p /usr/local/lib/python2.6/site-packages/
sudo python setup.py install

It seems to install successfully.


Michael

Worked perfectly on my openSUSE 11.1 (i586), too. Thanks a lot Michael!

Regards