Hi all, I am trying to install DBD-Oracle-1.74 on my sun solaris machine

uname -a SunOS apvs2a 5.10 Generic_147440-25 sun4v sparc SUNW,Netra-T2000

but when I run the make command it is giving me the below error.

cc -c -I/opt/oracle/product/11g/db_1/rdbms/public -I/opt/oracle/produ +ct/11g/db_1/rdbms/demo -I/opt/oracle/product/11g/db_1/rdbms/public -I +/opt/oracle/product/11g/db_1/plsql/public -I/opt/oracle/product/11g/d +b_1/network/public -I/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int/ +auto/DBI -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8 -D_TS_ +ERRNO -xO3 -xspace -xildoff -DVERSION=\"1.23\" -DXS_VERSION=\"1.2 +3\" -KPIC "-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE" -DUTF8_SU +PPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"11.1.0.7\" Oracle.c sh: cc: not found *** Error code 1 make: Fatal error: Command failed for target `Oracle.o'

I searched in net and found this link http://www.perlmonks.org/?node_id=765053 but in DBD-Oracle-1.74 those parameters are already not commented out. Then I also tried to install DBD-Oracle 1.23 by removing those comment outs like this

sword OCIXMLTypeCreateFromSrc( OCISvcCtx *svchp, OCIError *errhp, OCI +Duration dur, ub1 src_type, dvoid *src_ptr,sb4 ind, OCIXMLType **retI +nstance );

but still I am receiving the same error. also I can't use CPAN prompt method as I am facing connectivity issues...please help...thanks


In reply to Not able to install DBD::Oracle on sun solaris. by Ankur_kuls

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.