I'm trying to install 5.18 with perlbrew like so: perlbrew install perl-5.18.0 --as padre-perl But I'm getting the strangest error message I've ever seen in the error logs (below)

I've already installed a few Perls, including 5.18 on this machine with PerlBrew. It's running Mac OS X 10.8.4,

gcc -v gives "gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) installed by XCode 4.6.3."

cc -v gives "Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)"

(I'm not sure if it's using CC or GCC). I'm stumped. Any advice appreciated.

/usr/bin/awk: syntax error at source line 1 context is { print $ >>> } <<< /usr/bin/awk: illegal statement at source line 1 /usr/bin/awk: illegal statement at source line 1 <stdarg.h> NOT found. /usr/bin/awk: syntax error at source line 1 context is { print $ >>> } <<< /usr/bin/awk: illegal statement at source line 1 /usr/bin/awk: illegal statement at source line 1 <varargs.h> NOT found, but that's ok (I hope). *** WHOA THERE!!! *** Your C compiler "cc" doesn't seem to support stdarg or varargs! I'm giving up; maybe you can try again with a different compiler?

In reply to Installing Perl 5.18.0 in Mac OS X with PerlBrew by coolmichael

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.