Problem getting Perl and DBI to work in Win32 environment
am 06.02.2007 14:32:22 von Allen.R.Alloway
Don't follow the installation order for Perl and DBI module.
Getting the following error:
C:\Admin\COBRA\Cobra>trigger_cognos-DEV.pl
Can't locate loadable object for module DBI in @INC (@INC contains: C:/Prog=
ram Files/Perl/lib C:/Program Files/Perl/site/lib .) at C:/Program Files/Pe=
rl/site/lib/DBI.pm line 259
BEGIN failed--compilation aborted at C:/Program Files/Perl/site/lib/DBI.pm =
line 259.
Compilation failed in require at C:\Admin\COBRA\Cobra\trigger_cognos-DEV.pl=
line 4.
BEGIN failed--compilation aborted at C:\Admin\COBRA\Cobra\trigger_cognos-DE=
V.pl line 4.
DBI.pm says "# If you get an error here like "Can't find loadable object ..=
.."
# then you haven't installed the DBI correctly. Read the README
# then install it again."
but I did run makefile.pl, but am confused about exactly what and in what o=
rder things need to be done.
Kind regards,
Allen Alloway
Private Label Technology Services
Chase Card Services
Phone: (804) 727 6722
SDN network: 59-6722
************************************************************ **********
This transmission may contain information that is privileged, confidential,=
legally privileged, and/or exempt from disclosure under applicable law. If=
you are not the intended recipient, you are hereby notified that any discl=
osure, copying, distribution, or use of the information contained herein (i=
ncluding any reliance thereon) is STRICTLY PROHIBITED. Although this transm=
ission and any attachments are believed to be free of any virus or other de=
fect that might affect any computer system into which it is received and op=
ened, it is the responsibility of the recipient to ensure that it is virus =
free and no responsibility is accepted by JPMorgan Chase & Co., its subsidi=
aries and affiliates, as applicable, for any loss or damage arising in any =
way from its use. If you received this transmission in error, please immedi=
ately contact the sender and destroy the material in its entirety, whether =
in electronic or hard copy format. Thank you.
************************************************************ **********
RE: Problem getting Perl and DBI to work in Win32 environment
am 06.02.2007 14:41:30 von Ron.Reidy
Running makefile.pl is not quite all there is. You need to follow it up
with 'make', 'make test', and 'make install'.
Why don't you just install it with ppm?
--
Ron Reidy
Lead DBA
Array BioPharma, inc.
-----Original Message-----
From: Allen.R.Alloway@chase.com [mailto:Allen.R.Alloway@chase.com]=20
Sent: Tuesday, February 06, 2007 6:32 AM
To: dbi-users@perl.org
Subject: Problem getting Perl and DBI to work in Win32 environment
Don't follow the installation order for Perl and DBI module.
Getting the following error:
C:\Admin\COBRA\Cobra>trigger_cognos-DEV.pl
Can't locate loadable object for module DBI in @INC (@INC contains:
C:/Program Files/Perl/lib C:/Program Files/Perl/site/lib .) at
C:/Program Files/Perl/site/lib/DBI.pm line 259
BEGIN failed--compilation aborted at C:/Program
Files/Perl/site/lib/DBI.pm line 259.
Compilation failed in require at
C:\Admin\COBRA\Cobra\trigger_cognos-DEV.pl line 4.
BEGIN failed--compilation aborted at
C:\Admin\COBRA\Cobra\trigger_cognos-DEV.pl line 4.
DBI.pm says "# If you get an error here like "Can't find loadable object
...."
# then you haven't installed the DBI correctly. Read the README
# then install it again."
but I did run makefile.pl, but am confused about exactly what and in
what order things need to be done.
Kind regards,
Allen Alloway
Private Label Technology Services
Chase Card Services
Phone: (804) 727 6722
SDN network: 59-6722
************************************************************ **********
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure under
applicable law. If you are not the intended recipient, you are hereby
notified that any disclosure, copying, distribution, or use of the
information contained herein (including any reliance thereon) is
STRICTLY PROHIBITED. Although this transmission and any attachments are
believed to be free of any virus or other defect that might affect any
computer system into which it is received and opened, it is the
responsibility of the recipient to ensure that it is virus free and no
responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and
affiliates, as applicable, for any loss or damage arising in any way
from its use. If you received this transmission in error, please
immediately contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.
************************************************************ **********
This electronic message transmission is a PRIVATE communication which =
contains
information which may be confidential or privileged. The information is =
intended=20
to be for the use of the individual or entity named above. If you are =
not the=20
intended recipient, please be aware that any disclosure, copying, =
distribution=20
or use of the contents of this information is prohibited. Please notify =
the
sender of the delivery error by replying to this message, or notify us =
by
telephone (877-633-2436, ext. 0), and then delete it from your system.