[Lxr-general] Help, Can't get LXR to work
Brought to you by:
ajlittoz
|
From: Curran, D. <dc...@ti...> - 2003-08-24 00:26:08
|
Hi 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 http://lxr.linux.no/New-INSTALL. 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): http://madduck.mycomp.com/http/source/ BUT I just get a standard directory listing like apache would normally handle it. - 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: /etc/security/access.conf - 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 dom This is my lxr.conf: # Configuration file. # Define typed variable "v", read valueset from file. #variable: v, Version, [/var/www/html/lxr/source/versions], [/local/lxr/source/defversion] # 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. baseurl: http://madduck.mycomp.com/lxr/http/ # These are the templates for the HTML heading, directory listing and # footer, respectively. htmlhead: /var/www/html/lxr/http/template-head htmltail: /var/www/html/lxr/http/template-tail htmldir: /var/www/html/lxr/http/template-dir # The source is here. sourceroot: /var/www/html/lxr/source/ srcrootname: MyCode # "#include <foo.h>" is mapped to this directory (in the LXR source # tree) incprefix: /include # The database files go here. dbdir: /var/www/html/lxr/source/ # Glimpse can be found here. #glimpsebin: /local/bin/glimpse # The power of regexps. This is pretty Linux-specific, but quite # useful. Tinker with it and see what it does. (How's that for # documentation?) map: /include/asm[^\/]*/ /include/asm-$a/ map: /arch/[^\/]+/ /arch/$a/ |