Thanks Jonathan & Lincoln for the quick response.... I will install Sun C Compiler and retry compiling DBI...
Thanks a lot again..... -----Original Message----- From: Lincoln A. Baxter [mailto:[email protected]] Sent: Tuesday, September 08, 2009 6:28 AM To: Jonathan Leffler Cc: Chethan M N (WI01 - Manage IT); DBI Users Mailing List Subject: Re: DBI compiling error on solaris box On Mon, 2009-09-07 at 12:32 -0700, Jonathan Leffler wrote: > On Mon, Sep 7, 2009 at 4:24 AM, <[email protected]> wrote: > > > I am trying to install DBI on a solaris box hosting oracle. > > > > [...] > > sh: cc: not found > > > > > > You need to install the Sun C compiler. > > (No, using GCC is not a serious option.) > > It works fine compiled with gcc... *provided* Perl itself is compileed with gcc. In other words... you have to compile your own perl. Otherwise, the man is right. If you want to use the perl that is native to Solaris, you need the Sun C compiler. If you want to build your own perl, I believe there is a makefile I used to use in the DBD-Oracle readme's for HPUX. I used to use that makefile to build perl on all OSes I was supporting at the time, which included Solaris on Sun hardware, AIX, and HPUX. Wow... why did I feel moved to chime in now? I haven't sent an email to this list in years... ;-) Lincoln Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
