Gossamer Forum
Quote Reply
DBI.pm
Hi

Where can I find this? I installed the cpan module Bundle::DBD::mysql, but that didnīt help on this error:

Error: GT::SQL (2522): Unable to load driver GT/SQL/Driver/MYSQL.pm (Can't locate DBI.pm in @INC (@INC contains: /usr/local/lib/perl5/5.6.0/i686-linux /usr/local/lib/perl5/5.6.0 /usr/local/lib/perl5/site_perl/5.6.0/i686-linux /usr/local/lib/perl5/site_perl/5.6.0 /usr/local/lib/perl5/site_perl .) at GT/SQL/Driver.pm line 30, line 1.
BEGIN failed--compilation aborted at GT/SQL/Driver.pm line 30, line 1.
Compilation failed in require at GT/SQL/Driver/MYSQL.pm line 4, line 1.
BEGIN failed--compilation aborted at GT/SQL/Driver/MYSQL.pm line 4, line 1.
Compilation failed in require at GT/SQL.pm line 164, line 1.
). at /usr/www/cgi-bin/links/admin/setup.cgi line 230.

Stack Trace
======================================
Links (2522): Links::environment called at Links.pm line 375.Links (2522): Links::fatal called at GT/Base.pm line 257.Links (2522): GT::Base::error_handler called at GT/Base.pm line 203.Links (2522): GT::Base::error called at GT/SQL.pm line 165.Links (2522): GT::SQL::set_connect called at /usr/www/cgi-bin/links/admin/setup.cgi line 230.Links (2522): main::init_setup called at /usr/www/cgi-bin/links/admin/setup.cgi line 43.Links (2522): main::main called at /usr/www/cgi-bin/links/admin/setup.cgi line 20.


Quote Reply
Re: DBI.pm In reply to
Install Bundle::DBI from CPAN. This should put DBI.pm in your /usr/local/lib/perl5/site_perl library.

Quote Reply
Re: DBI.pm In reply to
Hi

It doesnīt seem to be downloaded in that folder...I downloaded newest perl, and the tried Bundle::DBI and Bundle::MySql, but recieves error....


Is there anyway I can make a clean install again, and get it to work?

Quote Reply
Re: DBI.pm In reply to
And now, when I put in the mysql user/passwd, I get "Internal Server Error" after pushing the submit button.

Any reason for this?

Quote Reply
Re: DBI.pm In reply to
Now it worked (Why, I donīt know, but...)