My master-monks,

I use Perl in Solaris 10 (sun built 5.4.8) for development of scripts and programs in a corporate environment and get on just fine - except fortunately we've only ever had to add ONE module to get MySql interactivty, and I got round gcc compiling problems by eventually getting "Net::MySQL" to work (after quite alot of tweaking in the Makefile!) ..

Anyway, Ive always thought that using a pre-compiled sunfreeware.com distribution of Perl and gcc would make things much better (i.e. download a Module and any relevant dependencies and it should all build without an issue).

But:

Ive used VirtualBox to create myself an Opensolaris installation - (ok, not quite as 'good' as Solaris in terms of all the extra software you get packaged, but I don't think it matters - let me know if this is wrong!) - and Ive downloaded Perl 5.12 and gcc 3.4.6 from SunFreeware.com.

However, I am still running into huge problems compiling modules using gcc - I haven't managed to build/make a single module except Net::MySQL (which this time went through almost flawlessly!) ..

So after 7hours and 5 modules and alot of googling, I gave up and thought "ok, Ive got gcc, let's compile my own Perl and see how that goes" - so I go download the latest Perl distro from perl.org and I can't get even close to compiling the damn thing ..

Does anyone have any experience running Perl and Gcc distro's on Solaris which end in 'happy tales'? I know it must be possible, I just must be being dumb somewhere!

Thanks! Fellow-Perl-follower, Hugo


In reply to Solaris, perl and gcc by 6crazy9

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.