I'm trying to install WWW::Curl on OS X 10.2/Perl 5.6.0 and Curl 7.7.2.
From cpan I'm getting this:
cc1: warning: changing search order for system directory "/usr/include +" cc1: warning: as it has already been specified as a non-system directo +ry Curl.xs: In function `perl_curl_easy_duphandle': Curl.xs:147: warning: assignment makes pointer from integer without a +cast Curl.xs: In function `XS_WWW__Curl__easy_setopt': Curl.xs:656: warning: passing arg 2 of `Perl_sv_2pv' from incompatible + pointer type Curl.xs: In function `boot_WWW__Curl': Curl.xs:504: `CURL_GLOBAL_ALL' undeclared (first use in this function) Curl.xs:504: (Each undeclared identifier is reported only once Curl.xs:504: for each function it appears in.) make: *** [Curl.o] Error 1 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible

All the other modules I've ever installed have been fine so
I don't think it's a compiler problem per se.
Has anybody else seen this?

In reply to Problem installing WWW::Curl on OS X by phildobbin

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.