Subject: | Database integration in svn 341 |
Date: | Sun, 03 Jun 2007 00:18:32 -0400 |
To: | bug-www-myspace [...] rt.cpan.org |
From: | James Hughes <hughesjames [...] bellsouth.net> |
I have tried to get this working for nearly two days. I think it's my
setup with DBI::Loader. I use DBI with PostgreSQL and it works great,
they don't use DBI::Loader though. Here is what I get with Pg and mysql...
With PgSQL...
Couldn't require loader class "Class::DBI::Loader::Pg", "Can't locate
Class/DBI/Pg.pm in @INC (@INC contains: ../lib
/usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl . ../lib) at
/usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader/Pg.pm line 9, <STDIN>
line 2.
Compilation failed in require at (eval 791) line 2, <STDIN> line 2.
BEGIN failed--compilation aborted at (eval 791) line 2, <STDIN> line 2.
" at /usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader.pm line 81, <STDIN>
line 2.
With mysql...
Couldn't require loader class "Class::DBI::Loader::mysql", "Can't locate
Class/DBI/mysql.pm in @INC (@INC contains: ../lib
/usr/lib/perl5/5.8.7/i486-linux /usr/lib/perl5/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i486-linux /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl . ../lib) at
/usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader/mysql.pm line 8, <STDIN>
line 2.
Compilation failed in require at (eval 791) line 2, <STDIN> line 2.
BEGIN failed--compilation aborted at (eval 791) line 2, <STDIN> line 2.
" at /usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader.pm line 81, <STDIN>
line 2.
Did you do anything unusual to the DBI and DBI::Loader to get yours
working? I am considering building some scripts to interact with PgSQL
if I can't get this working. I'd rather contribute to what you guys are
working on though.
Thanks,
~james
--
Check out "The BlueWall Groove" @ Myspace http://www.myspace.com/bluewallgroove