[Lxr-general] No identifier and freetext search, html templates not found
Brought to you by:
ajlittoz
From: Martin F. <mar...@or...> - 2005-12-05 16:29:26
|
Hello I've been trying to set up LXR 0.9.4 but ran into loads of problems. Setup: - Gentoo Linux (but installed LXR manually, ie not via emerge since last LXR ebuild is 0.3.1) - Apache 2.0.54 - mod_perl 2.0.1 - Perl 5.8.6 - PostgreSQL 8.0.4 - swish-e 2.2.2 I followed the provided INSTALL file (not without problems, there are some minor bugs in there, drop me an email if you want info on that) and checked if the prerequisites worked with these results: - Apache loads mod_perl and uses it - genxref runs through without error and populates the tables (checked with pgsql as user lxr and ran a perl script to access the database) - swish-e index is generated, can query it by calling swish-e from command line Then I tried to browse LXR, but it failed because the Apache::Registry PerlHandler in the .htaccess file could not be found. I replaced that with "PerlResponseHandler ModPerl::Registry" and now I am able to do the following: - Browsing the indexed source tree, ie source directories are displayed - Viewing source code, all identifier are links to the ident script First problem: Nothing from the html templates is shown, no header, no footer, and the 'ident' and 'search' pages show only two head rulers. The Apache log shows that the template files are simply not found. To address that, I added the full path to the template filenames in lxr.conf, and the templates are found and used. Second problem: The search pages do not give any results, just nothing is found. Since the identifier links in the source code view refer to the 'ident' script, following those links yields no results either. As I said before, the info is in the database, I can query it manually and from a little test script I wrote myself. (I also tried the CGI alternative with the same result. Additionally, the lxr.css file could not be loaded.) I tried to isolate the problems in the code itself, but I am no perl guru and gave up after several hours. Any ideas? Thanks a lot! Martin |