It looks like you have installed a binary version of perl. Since it also looks like you misunderstood my last email, you will find which C compiler your perl was built with by executing perl -V, not perl -v. It also looks like you do not have the Sun C compiler installed. You should really talk with your SysAdmin about all this, but the bottom line is either: a. Install the Sun C compiler and try to continue from there ... OR b. Install gcc properly; Downgrade it per the Oracle install docs; build Perl from source; install DBI/DBD::Oracle from CPAN Continued good luck.
----------------- Ron Reidy Lead DBA Array BioPharma, Inc. -----Original Message----- From: Chekuri, Lalitha [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 2:22 PM To: Reidy, Ron; Michael Nhan Cc: dbi-users@perl.org Subject: 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:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 4:14 PM To: Chekuri, Lalitha; Michael Nhan Cc: dbi-users@perl.org 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:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 2:06 PM To: Reidy, Ron; Michael Nhan Cc: dbi-users@perl.org 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:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 6:28 PM To: Chekuri, Lalitha; Michael Nhan Cc: dbi-users@perl.org Subject: RE: Can't locate DBI.pm Google is your friend ... http://www.google.com/search?q=install+perl+modules <http://www.google.com/search?q=install+perl+modules&sourceid=mozilla-sea> &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:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 3:33 PM To: Michael Nhan Cc: dbi-users@perl.org Subject: RE: Can't locate DBI.pm How do I compile? -----Original Message----- From: Michael Nhan [ mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 5:28 PM To: Chekuri, Lalitha Cc: dbi-users@perl.org 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" <[EMAIL PROTECTED]> > To: dbi-users@perl.org > 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. 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.