These releases contain numerous bugs, some of which can be qualified "blocking". If you are considering installing a fresh LXR service, always prefer the latest release. You will experience a dramatic performance boost and installation is a lot easier.
Bug reports will not be accepted.
lxr.conf
which MUST be located in the LXR root directory.
templates/
subdirectory.
lxr.conf
to the LXR source directory:
You must tell LXR which search engine you installed and where, if the default paths are incorrect:
or:
Since only one search engine can be used,
comment out either 'glimpsebin'
or 'swishbin'
by prefixing the line with a pound sign (#
).
Next, adjust the location of the ectags configuration file for proper operation:
or:
According to your choice of a search engine,
have the 'htmlsearch'
point to the
right template;
choose one of the following:
Make 'stylesheet'
point to
lxr.css in the templates directory
or, better, copy this file to the LXR root directory
(in case you want to change the styles).
'genericconf'
to the location
of the parser configuration file:
or:
The access URL is the concatenation of the host name and the virtual root to the script.
The host name (complete with protocol and port) comes from
parameter 'host_names'
,
a list of the different names under which your host is
known to your web server and the DNS servers.
http:
.
If LXR finds no 'host_names'
,
it reverts to compatibility mode using 'baseurl'
(see next subsection).
The full access URL is given by parameter 'baseurl'
with aliases in 'baseurl_aliases'
.
You cannot omit the protocol (the convenience has not been backported).
Parameter 'virtroot'
is equal to what
comes after the hostname to complete the access URL.
Set parameter 'sourceroot'
to the
absolute path of the directory containing the different
versions (as subdirectories):
Give a name for the root of relative paths in your tree:
Insert into parameter 'range'
the names of the subdirectories containing
the versions:
And modify 'default'
to preselect
which version LXR will display at start-time.
If your source files use include
directives,
set 'incprefix'
to the list of
include directories.
Tell which data base to use in
'dbname'
among the following three:
lxr
is the name given
when creating the database (see the previous step).
Do not forget to set the access parameters to the values you defined in the previous step:
And last, give the search engine some room for its private usage:
You're now ready to load the database with your data.