just to prove TMTOWTDI: perl -MDBI '' On Fri, 2002-02-08 at 15:53, Balint, Jess wrote: > Or if you are one of the unfortunate one of us who doesn't have locate, try > > perl -e 'use DBI;' > > Here is my output on a non-DBI system: > > [jbalint@davinci|rmds02]/qmds/jbalint/20020128% perl -e 'use DBI;' > Can't locate DBI.pm in @INC (@INC contains: > /usr/local/lib/perl5/5.00503/sun4-solaris /usr/local/lib/perl5/5.00503 > /usr/local/lib/perl5/site_perl/5.005/sun4-solaris > /usr/local/lib/perl5/site_perl/5.005 .) at -e line 1. > BEGIN failed--compilation aborted at -e line 1. > > -----Original Message----- > From: Brett W. McCoy [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 08, 2002 3:48 PM > To: [EMAIL PROTECTED] > Cc: perl > Subject: Re: dbi modules > > > On Fri, 8 Feb 2002, Eric Jones wrote: > > > Hello, I have perused the archives but can't find an answer to my problem. > > I have built a perl program, I use DBI.pm in it. > > Upon running the program I get the following return: > > > > "Can't locate loadable object for module DBI in @INC (@INC contains: > > /usr/lib/perl5/site_perl//5.6.0/i586-linux > > /usr/lib/perl5/site_perl//5.6.0 /usr/lib/perl5/site_perl/ > > /usr/lib/perl5/5.6.0/i586-linux /usr/lib/perl5/5.6.0 > > /usr/lib/perl5/site_perl/5.6.0/i586-linux /usr/lib/perl5/site_perl/5.6.0 > > /usr/lib/perl5/site_perl .) at ./updatedb.pl line 4 > > Compilation failed in require at ./updatedb.pl line 4. > > BEGIN failed--compilation aborted at ./updatedb.pl line 4." > > > > I have tried using the pragma > > use lib '/usr/lib/perl5/site_perl/' > > use DBI; > > and various other ideas found but it doesn't work I get different errors > > and very close to a running program but no joy. > > Apparently my program can't tell where the DBI.pm mod is even when I > > tell it specifically where it is. > > I am using the book "Perl for System Administration" put out by O'Reilly. > > Are you sure DBI is installed on your system? Type 'locate DBI.pm' and > see what that tells you. > > -- Brett > http://www.chapelperilous.net/ > ------------------------------------------------------------------------ > <Tali> be vewwy vewwy qwuiet .. I'm huntin wuntime ewwos > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Today is Prickle-Prickle the 39th day of Chaos in the YOLD 3168 You are what you see.
Missle Address: 33:48:3.521N 84:23:34.786W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]