I'm having trouble getting LXR to work.
Firstly, I'm not trying it on the Linux Kernel, but on some of my own code.
However, I don't think that difference is the cause of the problem.
I have followed the install instructions from
My perl didn't have a DB_File module, but I installed it with CPAN.
I run genxref like this:
# cd /var/www/html/lxr/source
# /var/www/html/lxr/bin/genxref v-095
The genxref seems to run till completion.
It creates the files:
/var/www/html/lxr/source/fileidx 12288 bytes
/var/www/html/lxr/source/xref 749568 bytes
- All files/dir inside /var/www/html/lxr have apache:apache permissions
- I access the source as follows (it an intranet address):
BUT I just get a standard directory listing like apache would normally
- I have placed a .htaccess file inside the /www/var/html/lxr/http
- I added 'Cross Reference Stuff' to the only access.conf file I could find
on my system:
- I have restarted apache.
- I am using Redhat 8.0
What log files can I look at to see why its not working ?
Please help, I think that LXR for the kernel is an excellent resource, which
would really help me with my own code too.
Thank you for your time
This is my lxr.conf:
# Configuration file.
# Define typed variable "v", read valueset from file.
#variable: v, Version, [/var/www/html/lxr/source/versions],
# Define typed variable "a". First value is default.
#variable: a, Architecture, (i386, alpha, m68k, mips, ppc, sparc, sparc64)
# Define the base url for the LXR files.
# These are the templates for the HTML heading, directory listing and
# footer, respectively.
# The source is here.
# "#include <foo.h>" is mapped to this directory (in the LXR source
# The database files go here.
# Glimpse can be found here.
# The power of regexps. This is pretty Linux-specific, but quite
# useful. Tinker with it and see what it does. (How's that for
map: /include/asm[^\/]*/ /include/asm-$a/
map: /arch/[^\/]+/ /arch/$a/