gitweb problem

Stephen Watson <[email protected]> Sat, 25 Sep 2010 10:45:13 +0100
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
I don't like git, and git doesn't like me, but we're using it for ROX-Filer
and ROX-Lib so I have to deal with it.  The problem is since I switched to a
64 bit machine gitweb has stopped working.  If you go to
http://kerofin.demon.co.uk/git/gitweb.cgi you'll find no projects listed,
but I know there should be two.

Further more if I run gitweb directly

stephen@kerofin:~> /usr/share/git-web/gitweb.cgi 
Status: 200 OK
Content-Type: text/html; charset=utf-8

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version 1.6.4.2, (C) 2005-2006, Kay Sievers
<[email protected]>, Christian Gierke -->
<!-- git core binaries version 1.6.4.2 -->
<head>

...snip...

<input type="text" name="s"  />
</p>
</form>
fatal: Not a git repository: '/srv/git/rox-lib'
fatal: Not a git repository: '/srv/git/rox-filer'
<table class="project_list">
<tr>
<th>Project</th>
<th><a class="header" href="?o=descr">Description</a></th>
<th><a class="header" href="?o=owner">Owner</a></th>
<th><a class="header" href="?o=age">Last Change</a></th>
<th></th>
</tr>
</table>
...etc.

But if I run gtik in /srv/git/rox-filer it works fine.  Even more bizzarely,
but running gitweb slightly differently, it works:

stephen@kerofin:/srv/git/rox-filer> /usr/bin/perl
/usr/share/git-web/gitweb.cgi 
Status: 200 OK
Content-Type: text/html; charset=utf-8

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version 1.6.4.2, (C) 2005-2006, Kay Sievers
<[email protected]>, Christian Gierke -->
<!-- git core binaries version 1.6.4.2 -->
<head>

...snip...

</p>
</form>
<table class="project_list">
<tr>
<th>Project</th>
<th><a class="header" href="?o=descr">Description</a></th>
<th><a class="header" href="?o=owner">Owner</a></th>
<th><a class="header" href="?o=age">Last Change</a></th>
<th></th>
</tr>
<tr class="dark">
<td><a class="list" href="?p=rox-filer;a=summary">rox-filer</a></td>
<td><a class="list" title="Filer for the ROX desktop"
href="?p=rox-filer;a=summary">Filer for the ROX desktop</a></td>
...etc.

Yet gitweb.cgi starts'#!/usr/bin/perl' so those two command lines should be
equivalent!  What's going on?
 
-- 
Stephen Watson     http://www.kerofin.demon.co.uk/
If you read this on a mailing list, send any reply back to the list and not
to me.  Not even CC.
Strange as I seem I'm getting stranger by the minute

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev