Perl DBI Module
-
I'm trying to install the DBI module in perl to access mysql DBs through a perl script on my pfsense box, but I just keep hitting brick walls…
The Perl CPAN module throws an error because I don't have make installed (Why is that, BTW? Can we get a FULL full install made pretty please?)
and if I copy over the built module from the CPAN tar, or from a full FreeBSD 6.3 install, I get the following error:
Can't locate loadable object for module DBI in @INC (@INC contains: /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/lib/perl5/5.8.8/DBI.pm line 263
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/DBI.pm line 263.
Compilation failed in require at ./squidlog.pl line 4.
BEGIN failed--compilation aborted at ./squidlog.pl line 4.Anybody have ANY ideas? I'm pulling my hair out at this point...and yes, DBI.pm does exist in @INC, specifically in /usr/local/lib/perl5/5.8.8
-
Found a couple solutions…easiest one is```
pkg_add -r http://filename