Can"t locate DBI.pm error

Can"t locate DBI.pm error

am 27.08.2005 20:42:54 von j_pravin

---MOQ1125166374a4410c076650ac0eea7ed7ce7d552397
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

Hi,

I've installed NETDIFF and mysql in FC2 and while running "netdiff --all" am getting the following error.Please help me in this regard.

Can't locate DBI.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/sbin/netdiff line 4.
BEGIN failed--compilation aborted at /usr/sbin/netdiff line 4.

ThanX in Advance....

Regards,
Pravin
---MOQ1125166374a4410c076650ac0eea7ed7ce7d552397--

Re: Can"t locate DBI.pm error

am 27.08.2005 22:18:41 von jonathan.leffler

------=_Part_1077_31620425.1125173921106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 8/27/05, pravin jayakumar wrote:
>=20
> Hi,
>=20
> I've installed NETDIFF and mysql in FC2 and while running "netdiff --all"=
=20
> am getting the following error.Please help me in this regard.
>=20
> Can't locate DBI.pm in @INC (@INC contains:=20
> /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3=20
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi=20
> /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi=20
> /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi=20
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi=20
> /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2=20
> /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0=20
> /usr/lib/perl5/site_perl=20
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi=20
> /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi=20
> /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi=20
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi=20
> /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2=20
> /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0=20
> /usr/lib/perl5/vendor_perl .) at /usr/sbin/netdiff line 4.
> BEGIN failed--compilation aborted at /usr/sbin/netdiff line 4.



Looks like NetDiff expects DBI to be available, so maybe you should make it=
=20
available?

perl -MCPAN -e 'install DBI'

You'll probably end up having to install a suitable driver too:

perl -MCPAN -e 'install DBD::MySQL'


--=20
Jonathan Leffler #include
Guardian of DBD::Informix - v2005.02 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."

------=_Part_1077_31620425.1125173921106--