Hi, Im having problems making WWW::Curl 2. I'm running Perl 5.8.0 threaded, both cpan and manual installations produce the same error. I had a look around but couldn't find a solution.

Here's how make fails:

Writing Makefile for WWW::Curl cp lib/WWW/Curl/form.pm blib/lib/WWW/Curl/form.pm cp lib/WWW/Curl/easy.pm blib/lib/WWW/Curl/easy.pm AutoSplitting blib/lib/WWW/Curl/easy.pm (blib/lib/auto/WWW/Curl/easy) cp lib/Curl/easy.pm blib/lib/Curl/easy.pm cp lib/WWW/Curl.pm blib/lib/WWW/Curl.pm /usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp -typemap /System/L +ibrary/Perl/ExtUtils/typemap -typemap typemap Curl.xs > Curl.xsc && +mv Curl.xsc Curl.c cc -c -I/usr/include -pipe -fno-common -no-cpp-precomp -fno-strict-al +iasing -O3 -DVERSION=\"2.0\" -DXS_VERSION=\"2.0\" "-I/System/Libra +ry/Perl/darwin-thread-multi/CORE" -DHAVE_INTERNAL_VARS Curl.c cc1: warning: changing search order for system directory "/usr/include +" cc1: warning: as it has already been specified as a non-system direc +tory 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 3 of `Perl_sv_2pv_flags' from incomp +atible 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
any pointers would be warmly recieved,
thanks, tobie

2003-06-21 edit ybiC: <code> and <readmore> tags


In reply to WWW-Curl-2.0 won't make on os x 10.2.6 by tobie

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.