cURL / Mailing Lists / curl-library / Single Mail

curl-library

can't compile perl WWW-Curl-2.0 with 7.11.1

From: Haluk Durmus <haluk.durmus_at_gmx.de>
Date: Sun, 11 Apr 2004 17:51:24 +0200

Hello,

I was not able to compile the current libcurl version (7.11.1)
with the perl module WWW-Curl-2.0.

1.) perl Makefile.PL
2.) make

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/perl5.8.3 /usr/lib/perl5/5.8.3/ExtUtils/xsubpp -typemap
/usr/lib/perl5/5.8.3/ExtUtils/typemap -typemap typemap Curl.xs >
Curl.xsc && mv Curl.xsc Curl.c
cc -c -I/usr/local/include -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=i486 -mcpu=i686
-DVERSION=\"2.0\" -DXS_VERSION=\"2.0\" -fPIC
"-I/usr/lib/perl5/5.8.3/i486-linux/CORE" -DHAVE_INTERNAL_VARS Curl.c
Curl.xs: In function `callback_index':
Curl.xs:113: error: duplicate case value
Curl.xs:112: error: previously used here
Curl.xs: In function `perl_curl_form_delete':
Curl.xs:209: warning: passing arg 1 of `curl_formfree' from incompatible
pointer type
Curl.xs: In function `XS_WWW__Curl__easy_setopt':
Curl.xs:639: error: duplicate case value
Curl.xs:630: error: previously used here
make: *** [Curl.o] Error 1

I was trying to fixing it by removing some parts of the module source.
But then the tests runs into errors.

Is someone is working on a new perl-module ?

thx,
    Haluk Durmus
Received on 2004-04-11