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

  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Problem of DBI build
    ... I installed Oracle Application Server 4.0.8.2 included perl module. ... I need to installe DBI and DBD::Oracle module. ... You can install them any time after installing the DBI. ... line 318: error 1705: Function prototypes are an ANSI feature. ...
    (perl.dbi.users)
  • Installing DBI and DBD::TSM
    ... I am having trouble installing DBI. ... This is perl, v5.8.0 built for aix-thread-multi ... blib/lib/DB ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • Problem of installing DBI packages
    ... my curent configuration of HP Unix system is as below: ... When i do>>perl makefile.PL, ... You can install them any time after installing the DBI. ...
    (perl.dbi.users)
  • RE: Perl DBI Urgent
    ... I thought you said you are on perl 5.8 not perl 5.6? ... DBI is failing so there is no ... If you have a c compiler and just need to install perl modules get any ... eventually compile DBI and DBD Oracle. ...
    (perl.dbi.users)