tobie has asked for the wisdom of the Perl Monks concerning the following question:

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

Replies are listed 'Best First'.
•Re: WWW-Curl-2.0 won't make on os x 10.2.6
by merlyn (Sage) on Jun 22, 2003 at 00:07 UTC
      Got the same error here with 5.8.1-RC4, threads.