[Lxr-dev] Re: /bin/true as a zombie
Brought to you by:
ajlittoz
|
From: <pe...@kl...> - 2001-07-31 07:41:01
|
Jan-Benedict Glaw <jb...@lu...> writes: > Well, I've checked the current CVS version. It fails. Strange. > Configuration uses Postgres in conjunction with CVS (as I mentioned > before). This is what I use as well. No problems here (well, not this kind of problems anyway). > The current CVS version cannot ./genxref my sources. It only prints > two lines: > www-data@mirror:/home/data/lxr-cvs$ ./genxref --url="http://mirror.microdata-pos.de/lxr-cvs" --version="jbglaw_0_13" > *** / jbglaw_0_13 > ### / jbglaw_0_13 > > "jbglaw_0_13" is a tag. I always index all versions. Could you try that as well, and see if it makes a difference? > Tryin' to get files (read: HTML made-up sources) from it fails, too: > > The directory /home/data/CVSROOT/linux// does not exist. > ** Warning: Unable to open /home/data/CVSROOT/linux// > > Of course, everything *is* in place:-) And readable for the webserver? > Do you know what I could do wrong? No, not really. It's obvious that genxref never recurses down directories like it's supposed to. Which means that CVS.pm->getdir somehow fails. I haven't touched that part of CVS.pm, so I don't think _I've_ broken it. That doesn't mean it's not broken :) Could you try to replace line 220 in CVS.pm with this: opendir($DIRH, $real) || die "opendir: $!"; And see if that changes anything when you run genxref? If genxref exits with an errormessage "opendir: ..." could you post it? Thanks. ...Peder... -- Cogito ergo panta rei. |