Re: [Lxr-general] My configuration complications
Brought to you by:
ajlittoz
From: Michael O. <mic...@fr...> - 2007-05-13 08:16:31
|
Shahbaz Khan wrote: > I have switched from version 0.3 to version 0.9.5 after a continuous > failure in configuration. > > Currently, after all configurations I do http://localhost/source, it > dumps the source.pl script from lxr directory as text! I cannot not > figure out how to run the various tests that come with lxr. > Did you read the INSTALL file carefully enough? I found it sufficient to install lxr-0.9.5. Your problem happens when the Apache server doesn't run perl to execute the perl script, but dumps the script instead. Make sure followed all instructions. > In the lxr.conf do I need to set username, password if I use initdb_mysql? > I also checked my /etc/passwd and did not find any lxr user so is this > user local to mysql server? > Did you read the comments in templates/lxr.conf? # The DBI identifier for the database to use # For mysql, the format is dbi:mysql:dbname=<name> # for Postgres, it is dbi:Pg:dbname=<name> # for Oracle, it is dbi:Oracle:host=localhost;sid=DEVMMS;port=1521 'dbname' => 'dbi:mysql:dbname=lxr', # If you need to specify the username or password for the database connection, # uncomment the following two lines # 'dbpass' => 'foo', # 'dbuser' => 'lxr', > lxr database in mysql has not been populated even after generating the > indexes and genxref command. > > I wish if someone could write a decent howto or guide on such a useful > tool so that it becomes useful for newbies like me! > Take your time to read the instruction files and even the source files... This is always helpful at the end. My advise: you should first solve your Apache / Perl issue. Good luck! Michael. -- Michael Opdenacker, Free Electrons Free Embedded Linux Training Materials on http://free-electrons.com/training (More than 1500 pages!) |