[Lxr-general] Newbie help for invoking and using LXR
Brought to you by:
ajlittoz
From: <ru...@ya...> - 2002-03-20 10:50:12
|
Hello Everybody ! I came to know about the strong abilties of LXR recently and want to use it browse through the linux kernel-2.4.16 source present on my PC . For this I have installed lxr-0.3 and glimpse-4.15 . I'am unable to configure the lxr.conf file and make use of the lxr facilities . The details of my lxr installation are as follows : The lxr is installed in /usr/local/lxr which has subdirectories http, source and bin . The glimpse binary is in /usr/local/bin/glimpse . I have edited the lxr.conf as shown below . ****************************************** # Configuration file. # Define typed variable "v", read valueset from file. variable: v, Version, [/usr/local/lxr/source/versions], [/usr/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: file:/usr/local/lxr/http # These are the templates for the HTML heading, directory listing and # footer, respectively. htmlhead: /usr/local/lxr/http/template-head htmltail: /usr/local/lxr/http/template-tail htmldir: /usr/local/lxr/http/template-dir # The source is here. sourceroot: /usr/src/linux/ srcrootname: linux # "#include <foo.h>" is mapped to this directory (in the LXR source # tree) incprefix: /usr/src/linux/include # The database files go here. dbdir: /usr/local/lxr/source # Glimpse can be found here. glimpsebin: /usr/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/ ****************************************************** Then I have run the command (1) /usr/local/lxr/bin/genxref /usr/src/linux (2) glimpseindex -H . /usr/src/linux This has resulted in directories :- fileidx and xref . Also it has files :- .glimpse_filenames,.glimpse_filenames_index, .glimpse_filetimes,.glimpse_messages, .glimpse_statistics,.glimpse_partitions I'am using Red-hat 7.1 with linux-2.4.2 kernel. The browser used is Netscape on a x86 machine . As I think I have done most of the things as directed in the install.readme I have included all the details . In most of the archives I have seen others using a server . Is it not possible to use lxr to browse local source ? Where do I find and manipulate Browser related files ? How do I verify that everything is done correctly ? Please Kindly tell me where I have gone wrong ? I think I should be missing something crucial .Please guide me . Thanks in advance . With Best Regards ________________________________________________________________________ For live cricket scores download Yahoo! Score Tracker at: http://in.sports.yahoo.com/cricket/tracker.html |