RE: Perl DBI Urgent
am 27.03.2007 16:08:23 von Philip.Garrett
It looks like you need to install DBI.
- Philip
Sanjay Tripathi wrote:
> Hi,
>=20
> I getting problem with Perl/Cgi/DBI. Can you guys help me out.
>=20
>=20
>=20
> Please see the log below.
>=20
>=20
>=20
> Aapche Logs:
>=20
>=20
>=20
> 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.=20
>=20
> BEGIN failed--compilation aborted at
> /app/w3/steve/cgi/ewa_new_user.cgi line 3.
>=20
> [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
>=20
>=20
>=20
>=20
>=20
> Then I tried
>=20
> root@sys # perl -e 'use DBI; print $DBI::VERSION,"\n";'
>=20
>=20
>=20
> 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=20
>=20
> BEGIN failed--compilation aborted at DBI.pm line 254.
>=20
> Compilation failed in require at -e line 1.
>=20
> BEGIN failed--compilation aborted at -e line 1.
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> Thanks
>=20
> ST
RE: Perl DBI Urgent
am 27.03.2007 16:22:29 von Sanjay.Tripathi
Here one more thing I want to add that, I am using perl-5.6.1 and
DBI-1.48. Whenever I/m trying to install DBI. It display me messages
like below.
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 =3Dhead3 in the pod documentation.
I see you're using perl 5.006001 on sun4-solaris-64int, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this working
directory before unpacking and building any DBD::* drivers.
Any Idea !!
~~ST~~
=20
-----Original Message-----
From: Garrett, Philip (MAN-Corporate)
[mailto:Philip.Garrett@manheim.com]=20
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,
>=20
> I getting problem with Perl/Cgi/DBI. Can you guys help me out.
>=20
>=20
>=20
> Please see the log below.
>=20
>=20
>=20
> Aapche Logs:
>=20
>=20
>=20
> 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.=20
>=20
> BEGIN failed--compilation aborted at
> /app/w3/steve/cgi/ewa_new_user.cgi line 3.
>=20
> [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
>=20
>=20
>=20
>=20
>=20
> Then I tried
>=20
> root@sys # perl -e 'use DBI; print $DBI::VERSION,"\n";'
>=20
>=20
>=20
> 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=20
>=20
> BEGIN failed--compilation aborted at DBI.pm line 254.
>=20
> Compilation failed in require at -e line 1.
>=20
> BEGIN failed--compilation aborted at -e line 1.
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> Thanks
>=20
> ST
RE: Perl DBI Urgent
am 27.03.2007 16:31:16 von Sanjay.Tripathi
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=20
...............
...............
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 =3Dhead3 in the pod documentation.
************************************************************ ************
**
Press return to continue...
~~~ST~~~
-----Original Message-----
From: Garrett, Philip (MAN-Corporate)
[mailto:Philip.Garrett@manheim.com]=20
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,
>=20
> I getting problem with Perl/Cgi/DBI. Can you guys help me out.
>=20
>=20
>=20
> Please see the log below.
>=20
>=20
>=20
> Aapche Logs:
>=20
>=20
>=20
> 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.=20
>=20
> BEGIN failed--compilation aborted at
> /app/w3/steve/cgi/ewa_new_user.cgi line 3.
>=20
> [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
>=20
>=20
>=20
>=20
>=20
> Then I tried
>=20
> root@sys # perl -e 'use DBI; print $DBI::VERSION,"\n";'
>=20
>=20
>=20
> 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=20
>=20
> BEGIN failed--compilation aborted at DBI.pm line 254.
>=20
> Compilation failed in require at -e line 1.
>=20
> BEGIN failed--compilation aborted at -e line 1.
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> Thanks
>=20
> ST
Re: Perl DBI Urgent
am 27.03.2007 18:26:39 von jonathan.leffler
------=_Part_17296_14279171.1175012799483
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
On 3/27/07, Sanjay Tripathi wrote:
>
> Here one more thing I want to add that, I am using perl-5.6.1 and
> DBI-1.48. Whenever I/m trying to install DBI. It display me messages
> like below.
>
> 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.
>
> I see you're using perl 5.006001 on sun4-solaris-64int, okay.
> Remember to actually *read* the README file!
> Use 'make' to build the software (dmake or nmake on Windows).
> Then 'make test' to execute self tests.
> Then 'make install' to install the DBI and then delete this working
> directory before unpacking and building any DBD::* drivers.
>
> Any Idea !!
>
Looks normal - what's your concern? In case of doubt, upgrade to Perl
5.8.8(but leave the system copy of Perl strictly alone - well, I would
(and do)
leave the system Perl well alone and install my own version of Perl
elsewhere).
--
Jonathan Leffler #include
Guardian of DBD::Informix - v2007.0226 - http://dbi.perl.org
"I don't suffer from insanity - I enjoy every minute of it."
------=_Part_17296_14279171.1175012799483--