Re: [Codestriker-user] Receiving configuration error while installing version 1.9.1
Brought to you by:
sits
|
From: Jason R. <jre...@ya...> - 2005-08-17 02:16:53
|
Hi,
I just updated to 1.9.1 and ran install.pl ok. The only way I could get it to fail was to run
install.pl from another directory besides bin. Did you cd into bin when you ran the script?
Here is the code that sends out the error from install.pl
# Make sure the $db configuration variable has been set, and if not
# complain and exit.
if (! defined $Codestriker::db) {
print STDERR
"The database configuration variable \$db has not been set.\n";
print STDERR
"Please edit the codestriker.conf file and run this command again.\n";
exit -1;
}
I think it is OK. So, if you where in the bin directory, please send out what OS and version of
perl you are using. I tested it under debian sarge, with perl 5.8.4.
Thanks
Jason.
--- Keith Levy <the...@gm...> wrote:
> I am receiving the following error when try to run the bin/install.pl script
> in version 1.9.1:
>
> The database configuration variable $db has not been set.
> Please edit the codestriker.conf file and run this command again.
>
>
> I know I have the $db variable set, here's the value of my config file:
>
> $db = 'DBI:mysql:dbname=codestrikerdb';
>
>
> I've checked the permissions on the files and everything looks OK. I've run
> the script as both root and the directory owner, but to no avail.
>
> I've checked the mailing list and have 'Googled' the error msg, but haven't
> found anything that will help me correct this issue. Any ideas?
>
>
> Thanks,
> Keith Levy
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|