[Lxr-general] installation problems
Brought to you by:
ajlittoz
From: Rui M. S. <rm...@mu...> - 2001-11-22 17:57:44
|
Hello, I'm having some installation problems with lxr 0.9... After some looking at the code, I found that to use lxr as a cgi (instead of mod_perl) I only needed to remove some HTTP code OK that was in a methond in Common.pm. ./genxref --url=3Dhttps://info.srv/cvs/lxr --allversion The above generated no errors, but also no output message. The web page shows up (for instance, the source navigator). If I try to go to a file without selecting [ Head ] in the version link, it will complain that the file won't exist. I am a little confused about this. =20 Selecting head, I can go to the file. It has contents, but it is shown as having 0 bytes. So I think that it is just because the beggining of the file has zero bytes, and the first version has the first contents, so i click on the next version... However, the file still has zero bytes. I do not understand what could be happening, but it doesn't seem like permission. I've su -'ed to the apache user and I could cd to the cvsroot, and I could also view the files. I've altered lxr.conf mainly like this: 'baseurl' =3D> 'https://info.srv/cvs/lxr', 'virtroot' =3D> '/cvs/lxr', 'range' =3D> sub { return ($files->allreleases($LXR::Common::pathname), $files->allrevisions($LXR::Common::pathname)) }, # deferred function call. 'default' =3D> '0.1.0'}, 'range' =3D> [qw(i386)]}, #'htmltail' =3D> 'html-tail.html', 'sourceroot' =3D> 'cvs:/var/cvsroot', #'incprefix' =3D> ['/include', '/include/linux'], Also, of course, dbname, dbpass and dbuser are correctly configured, but withheld :) Does anyone have any suggestion? BTW, although LXR is very cool, the INSTALL doc is a nightmare! :) Hugs, rms --=20 + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Ghandi + So let's do it...? |