Vpopmail installation - KABOOM - has to do with DBD

Started by atoyf, March 20, 2004, 05:30:34 PM

Previous topic - Next topic

atoyf

Sorry, i can't figure this one out, any help would be great!

Thank you

couldn't import DBI: Can't locate DBI.pm in @INC (@INC contains: lib . /usr/local/lib/perl5/site_perl/5.8.2/mach /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.2/BSDPAN /usr/local/lib/perl5/5.8.2/mach /usr/local/lib/perl5/5.8.2) at (eval 19) line 3.


Would you like me to install DBI:
at /usr/local/lib/perl5/site_perl/5.8.2/MATT/Mysql.pm line 62
(y/n): y
CheckPortsAge: Ports file is current (enough).
InstallPort: p5-DBI               installed as (p5-DBI-1.41).

couldn't import DBD::mysql: Can't locate DBD/mysql.pm in @INC (@INC contains: lib . /usr/local/lib/perl5/site_perl/5.8.2/mach /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.2/BSDPAN /usr/local/lib/perl5/5.8.2/mach /usr/local/lib/perl5/5.8.2) at (eval 20) line 3, <STDIN> line 1.


Would you like me to install DBD::mysql:
at /usr/local/lib/perl5/site_perl/5.8.2/MATT/Mysql.pm line 63
(y/n): y
CheckPortsAge: Ports file is current (enough).
InstallPort: p5-DBD-mysql         installed as (p5-DBD-mysql-2.9003).
Can't locate object method "connect" via package "DBI" at /usr/local/lib/perl5/site_perl/5.8.2/MATT/Mysql.pm line 250, <STDIN> line 2.
Kind regards, Anton

happytommy

uninstall all your order perl ports (make deinstall) then:

cd /usr/ports/lang/perl5.8;
make -DENABLE_SUIDPERL install clean;
rehash; use.perl port;

portupgrade -f `pkg_info | grep p5- | cut -d" " -f1`

toaster_setup.pl -s mattbundle

perl -e 'use MATT::Utility; InstallMailToaster';

happytommy

Whatever you do, don't do:

toaster_setup.pl -s apache2

This apparantly installs apache2 package and not port and it installs perl 5.6.  Just do:

cd /usr/ports/www/p5-libwww; make install clean
cd /usr/ports/www/apache2; make install clean

atoyf

Kind regards, Anton