I am using SunOS and Oracle as a DB. To Install DBI I'm using below command
perl -MCPAN -e 'install Bundle::DBI' I m getting Messages like .............. .............. x DBI-1.54/t/85gofer.t, 6359 bytes, 13 tape blocks x DBI-1.54/t/pod.t, 144 bytes, 1 tape blocks x DBI-1.54/TASKS.pod, 1048 bytes, 3 tape blocks x DBI-1.54/test.pl, 5288 bytes, 11 tape blocks x DBI-1.54/TODO_2005.txt, 21305 bytes, 42 tape blocks x DBI-1.54/typemap, 64 bytes, 1 tape blocks Removing previously used /.cpan/build/DBI-1.54 CPAN.pm: Going to build T/TI/TIMB/DBI-1.54.tar.gz ************************************************************************ ** Perl versions below 5.6.1 are no longer supported by the DBI. Perl versions 5.6.x may fail during installation with a complaint about the use of =head3 in the pod documentation. ************************************************************************ ** Press return to continue... ~~~ST~~~ -----Original Message----- From: Garrett, Philip (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 7:38 PM To: Sanjay Tripathi; dbi-users@perl.org Subject: RE: Perl DBI Urgent It looks like you need to install DBI. - Philip Sanjay Tripathi wrote: > Hi, > > I getting problem with Perl/Cgi/DBI. Can you guys help me out. > > > > Please see the log below. > > > > Aapche Logs: > > > > Can't locate DBI.pm in @INC (@INC contains: /app/custom/steve/perl > /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib > /usr/perl5/site_perl/5.6.1/sun4-solaris-64int > /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl > /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int > /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl . > /app/custom/steve/perl /app/custom/perl /heb/appl/ewa/perl/bin/perl) > at /app/w3/steve/cgi/ewa_new_user.cgi line 3. > > BEGIN failed--compilation aborted at > /app/w3/steve/cgi/ewa_new_user.cgi line 3. > > [Tue Mar 27 06:47:06 2007] [error] [client x.x.x.x] Premature end of > script headers: /app/w3/steve/cgi/ewa_new_user.cgi > > > > > > Then I tried > > [EMAIL PROTECTED] # perl -e 'use DBI; print $DBI::VERSION,"\n";' > > > > Can't locate loadable object for module DBI in @INC (@INC contains: > /usr/perl5/5.6.1/lib/sun4-solaris-64int /usr/perl5/5.6.1/lib > /usr/perl5/site_perl/5.6.1/sun4-solaris-64int > /usr/perl5/site_perl/5.6.1 /usr/perl5/site_perl > /usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int > /usr/perl5/vendor_perl/5.6.1 /usr/perl5/vendor_perl .) at DBI.pm line > 254 > > BEGIN failed--compilation aborted at DBI.pm line 254. > > Compilation failed in require at -e line 1. > > BEGIN failed--compilation aborted at -e line 1. > > > > > > > > Thanks > > ST