I'm trying to get lxr to run on some source code that I have to work
with, but I keep getting an internal server error when running the
scripts on Apache.
Here is the output:
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1] [
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1] Thu Jun 2 23:18:04 2=
005
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1] ] fatal:
LXR::Config, line 110: Can't find config for
http://127.0.0.1/lxr/diff/
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1]=20
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1] [@INC=20
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1]
/usr/local/lxr/lib . /usr/lib/perl5/5.8.6/i386-linux
/usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1] $0=20
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1] /usr/local/lxr/diff
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1]=20
[Thu Jun 02 23:18:04 2005] [error] [client 127.0.0.1] Premature end of
script headers: diff
I can see the index of the directory correctly, but if I try to run a
script(all are same), the above error occurs.
Here is my config file(sans pw/login):
# Path to Exuberant Ctags executable
'ectagsbin' =3D> '/usr/bin/ctags',
# Place where lxr can write temporary files
'tmpdir' =3D> '/tmp',
# Location of the Generic.pm config file
'genericconf' =3D>
'/usr/lib/perl5/site_perl/LXR/Lang/generic.conf',
# Location of the ectags.conf file
'ectagsconf' =3D> '/usr/lib/perl5/site_perl/LXR/Lang/ectags=
.conf',
# Paths for CVS module
'cvspath' =3D> '/bin:/usr/local/bin:/usr/bin:/usr/sbin',
},
{
'baseurl' =3D> 'http://192.168.254.3/lxr', # Put your UR=
L here
'baseurl_aliases' =3D> [ 'http://localhost/lxr',
'http://mydomain/lxr' ],
'virtroot' =3D> '/lxr', # The
bit after the / above
'variables' =3D> {
# Define typed variable "v". This is the list
of versions to index.
'v' =3D> {
'name' =3D> 'Version',
'range' =3D> [ 'AE','ComCode','Symbian' ],
'default' =3D> 'AE'
},
# Define typed variable "a". First value is defaul=
t.
'a' =3D> {
'name' =3D> 'Architecture',
'range' =3D> [qw(i386 alpha arm m68k
mips ppc sparc sparc64)]
},
},
'maps' =3D> {
'/include/asm[^\/]*/' =3D> '/include/asm-$a/',
'/arch/[^\/]+/' =3D> '/arch/$a/',
},
# Templates used for headers and footers
'htmlhead' =3D> 'html-head.html',
'htmltail' =3D> 'html-tail.html',
'htmldir' =3D> 'html-dir.html',
'htmlident' =3D> 'html-ident.html',
'htmlident_refs' =3D> 'html-ident-refs.html',
'htmlfind' =3D> 'html-find.html',
'htmlsearch' =3D> 'html-search-swish.html',
'sourcehead' =3D> 'html-head.html',
'sourcedirhead' =3D> 'html-head.html',
'stylesheet' =3D> 'lxr.css',
'sourceroot' =3D> '/home/micah/program/proprietary/esdk',
# The name to display for this source tree
'sourcerootname' =3D> 'Example',
Hope someone can fill me in on how to fix this.
genxref runs fine.
--=20
Micah Villmow
FSU Graduate Student
Computer Science
|