RE: Can't locate DBI.pm



It is fresh install:
magma:oracle $uname -a
SunOS magma 5.9 Generic_117171-12 sun4u sparc SUNW,Ultra-60

My perl -v
magma:oracle $perl -v

This is perl, v5.6.1 built for sun4-solaris-64int
(with 48 registered patches, see perl -V for more detail)

For CC:
magma:oracle $what cc
can't open cc (26)
magma:oracle $which cc
/usr/ucb/cc
magma:oracle $cc
/usr/ucb/cc: language optional software package not installed




-----Original Message-----
From: Reidy, Ron [mailto:Ron.Reidy@xxxxxxxxxxxxxxxxxx]
Sent: Wednesday, April 27, 2005 4:14 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@xxxxxxxx
Subject: RE: Can't locate DBI.pm

1. Which C compiler was your Perl built with (perl -V)?
2. Do you have that C compiler on your system (which cc OR which (name
of C compiler from #1 above)?

If not, you will need to fix this situation by:

a. Install the C compiler used to build your Perl and then try to
install DBI and DBD::Oracle

-OR-

b. Install gcc properly (**AND** you will need to downgrade from the
3.x version to 2.96 as described in the Oracle installation manuals)
c. Build Perl from source (I am using 5.8.6 w/o trouble)
d. Build DBI and DBD::Oracle from CPAN as described in one of the hits
in my previous link.

Good luck.

-----------------
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-----Original Message-----
From: Chekuri, Lalitha [mailto:lchekuri@xxxxxxxx]
Sent: Wednesday, April 27, 2005 2:06 PM
To: Reidy, Ron; Michael Nhan
Cc: dbi-users@xxxxxxxx
Subject: RE: Can't locate DBI.pm


Hi ron, thanks for your input. When I try to install, it is saying cc is
not there. Then I started installed gcc3.3 from gcc site. Now to install
that also it is saying cc is not there.. what is going on

Can you please help...Lalitha


-----Original Message-----
From: Reidy, Ron [mailto:Ron.Reidy@xxxxxxxxxxxxxxxxxx]
Sent: Tuesday, April 26, 2005 6:28 PM
To: Chekuri, Lalitha; Michael Nhan
Cc: dbi-users@xxxxxxxx
Subject: RE: Can't locate DBI.pm

Google is your friend ...

http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea
rch&start=0&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:e
n-US:official

-----------------
Ron Reidy
Lead DBA
Array BioPharma, Inc.


-----Original Message-----
From: Chekuri, Lalitha [mailto:lchekuri@xxxxxxxx]
Sent: Tuesday, April 26, 2005 3:33 PM
To: Michael Nhan
Cc: dbi-users@xxxxxxxx
Subject: RE: Can't locate DBI.pm


How do I compile?

-----Original Message-----
From: Michael Nhan [mailto:mnhan@xxxxxxxxxxxxxxxx]
Sent: Tuesday, April 26, 2005 5:28 PM
To: Chekuri, Lalitha
Cc: dbi-users@xxxxxxxx
Subject: Re: Can't locate DBI.pm

Are you sure this is the perl where DBI is installed. If you reinstall
solaris 9, the prebuilt perl on the box from the install will not have
the
DBI and DBD-Oracle installed. You will need to compile these yourself.



> Date: Tue, 26 Apr
2005 12:10:21 -0400
> From: "Chekuri, Lalitha" <lchekuri@xxxxxxxx>
> To: dbi-users@xxxxxxxx
> Subject: Can't locate DBI.pm
>
> Hi,
>
> I have fresh install Solaris 9. We have some perl scripts to run. I am
> getting "Can't locate DBI.pm" error to execute the file. We access
> oracle 9 from this perl script. Can some one help me to fix this
> problem?
>
> My Perl version is:
> This is perl, v5.6.1 built for sun4-solaris-64int
> (with 48 registered patches, see perl -V for more detail)
>
> Copyright 1987-2001, Larry Wall
>
> Thanks
> Lalitha Chekuri
> 703-526-2025
>
>
>

---//---
"He who learns must suffer. And even in our sleep,
pain that cannot forget, falls drop by drop upon the heart;
and, in our own despair, against our will,
comes wisdom to us by the awful grace of God."
--- Aeschylus

This electronic message transmission is a PRIVATE communication which
contains
information which may be confidential or privileged. The information is
intended
to be for the use of the individual or entity named above. If you are
not the
intended recipient, please be aware that any disclosure, copying,
distribution
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.


This electronic message transmission is a PRIVATE communication which
contains
information which may be confidential or privileged. The information is
intended
to be for the use of the individual or entity named above. If you are
not the
intended recipient, please be aware that any disclosure, copying,
distribution
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.



Relevant Pages

  • Re: attempt to build 64 bit on Solaris fails
    ... > libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... > Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • Re: attempt to build 64 bit on Solaris fails
    ... libraries needed to link with a 64-bit Tk. ... We were running a 32-bit version of Perl ... Each section below is a summary of the commands used to install it. ...
    (comp.lang.perl.tk)
  • RE: Installing DBD::File via CPAN
    ... I built this directly from source. ... > Did you build Perl from source, or install via a RPM or binary distro? ... > CPAN module so I wasn't expecting to get myself confused with multiple ...
    (perl.dbi.users)
  • RE: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... Solaris 10 with gcc 3.4.6 ... Make problem Building 64 bit Perl 5.8.8 from source on ... INSTALL notes and have looked through the hints script. ... compiler or make any changes to the system directories. ...
    (perl.dbi.users)
  • RE: Installing DBD::File via CPAN
    ... I built this directly from source. ... > Did you build Perl from source, or install via a RPM or binary distro? ... > CPAN module so I wasn't expecting to get myself confused with multiple ...
    (perl.dbi.users)