RE: [Lxr-dev] No database name passed to Index.pm
Brought to you by:
ajlittoz
From: Tom C. <to...@in...> - 2002-04-22 14:41:02
|
Ah, I hadn't noticed that you included your lxr.conf as an attachment. Yep, you might want to add the dbdir parameter... here's what mine looks like: <snip> # Global configuration 'glimpsebin' => '/usr/local/bin/glimpse', 'ectagsbin' => '/usr/bin/ctags', 'tmpdir' => '/tmp', 'dbdir' => '/home/lxr/lxr', <snip> Yours, Tom -----Original Message----- From: lxr...@li... [mailto:lxr...@li...] On Behalf Of Darragh Sherwin Sent: Monday, April 22, 2002 8:24 AM To: lxr...@li... Subject: [Lxr-dev] No database name passed to Index.pm Hi, I ran the script 'source' on the command line as it gave me no output in my browser, I get the following error: [Mon Apr 22 09:01:14 2002] fatal: LXR::Index, line 39: Can't find database, at lib/LXR/Index.pm line 39. [@INC ./lib /usr/perl5/5.6.1/sun4-solaris /usr/perl5/5.6.1 /usr/perl5 . $0 ./source <h4 align="center"><i>** Fatal: Can't find database, at lib/LXR/Index.pm line 39. </i></h4> I looked at Index.pm and put in some debug statements to print out $dbname, but nothing existed, can somebody tell where else I may need to put in debug statements?? The information is already in the database and everything in the database looks good. I have attached my conf file for some fun, I am using mysql Thanks for any help -- _______________________ Darragh Sherwin Dar...@Su... "To alcohol, the cause of, and solution to, all of life's problems" Homer Simpson |