I played a little with the -x options; there are three of them and my version of gcc doesn't seem to like any of them.

If I run

/.cpan/build/DBD-mysql-3.0002> make gcc -c -I/opt/lib/perl5/site_perl/5.8.7/sun4-solaris/auto/DBI/ -I/usr +/local/mysql/mysql/include -mt -D_FORTEC_ -DDBD_MYSQL_INSERT_ID_IS_GO +OD -g -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_ +BITS=64 -O -DVERSION=\"3.0002\" -DXS_VERSION=\"3.0002\" -fPIC "-I +/opt/lib/perl5/5.8.7/sun4-solaris/CORE" dbdimp.c cc1: error: invalid option `t' *** Error code 1 make: Fatal error: Command failed for target `dbdimp.o'
I get this 'cc1' error.. maybe there is something dreadfully wrong with my compiler?

In reply to Re^2: Problems installing DBD::mysql on Solaris 10 by graq
in thread Problems installing DBD::mysql on Solaris 10 by graq

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.