Skip Menu |

This queue is for tickets about the WWW-Curl CPAN distribution.

Report information
The Basics
Id: 103120
Status: new
Priority: 0/
Queue: WWW-Curl

People
Owner: Nobody in particular
Requestors: ZDM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Can't build on strawberry perl 5.20.2 x64
Hello. Please, help to build module for strawberry perl 5.20.2 x64. I download latest curl devel pack for mingw64 - http://curl.haxx.se/gknw.net/7.40.0/dist-w64/curl-7.40.0-devel-mingw64.7z Edit Makefile.PL, according to recommendations: comments lines: 15 - 23; comment line 108: # open(H_IN, "-|", "cpp", $curl_h) and $has_cpp++; my @includes = qw('d:/devel/curl/curl-7.40.0-devel-mingw64/include'); my ($cflags,$lflags, $ldflags) = ( '-Id:/devel/curl/curl-7.40.0-devel-mingw64/include', '-Ld:/devel/curl/curl-7.40.0-devel-mingw64/lib64', '-lcurl' ); then run perl Makefile.PL 'curl-config' is not recognized as an internal or external command, operable program or batch file. 'curl-config' is not recognized as an internal or external command, operable program or batch file. The version is Found curl.h in d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/curl.h No working cpp (). Parsing curl.h in Perl at Makefile.PL line 109. Building curlopt-constants.c for your libcurl version Building Easy.pm constants for your libcurl version Building Share.pm constants for your libcurl version Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lcurl Generating a dmake-style Makefile Writing Makefile for WWW::Curl Writing MYMETA.yml and MYMETA.json and dmake: cp lib/WWW/Curl/Easy.pm blib\lib\WWW\Curl\Easy.pm cp lib/WWW/Curl/Share.pm blib\lib\WWW\Curl\Share.pm cp lib/WWW/Curl/Form.pm blib\lib\WWW\Curl\Form.pm cp lib/WWW/Curl.pm blib\lib\WWW\Curl.pm cp lib/WWW/Curl/Multi.pm blib\lib\WWW\Curl\Multi.pm Running Mkbootstrap for WWW::Curl () "D:\devel\perl\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e chmod -- 644 "Curl.bs" "D:\devel\perl\perl\bin\perl.exe" "-Iinc" "D:\devel\perl\perl\lib\ExtUtils\xsubpp" -typemap "D:\devel\perl\perl\lib\ExtUtils\typemap" -typemap "typemap" C url.xs > Curl.xsc && "D:\devel\perl\perl\bin\perl.exe" "-Iinc" -MExtUtils::Command -e mv -- Curl.xsc Curl.c gcc -c -Id:/devel/curl/curl-7.40.0-devel-mingw64/include -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL _IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"4.17\" -DXS_VERSION=\"4.17\" "-ID:\devel\perl\perl\lib\COR E" Curl.c In file included from Curl.xs:574:0: curlopt-constants.c: In function 'constant': curlopt-constants.c:111:13: warning: overflow in implicit constant conversion [-Woverflow] if (strEQ(name, "SOCKET_BAD")) return CURL_SOCKET_BAD; ^ In file included from Curl.xs:15:0: Curl.xs: In function 'XS_WWW__Curl__Easy_init': D:\devel\perl\perl\lib\CORE/XSUB.h:526:20: error: 'PerlSIO_fread' undeclared (first use in this function) # define fread PerlSIO_fread ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:438:62: note: in expansion of macro 'fread' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fread)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:455:4: note: in expansion of macro '_curl_is_read_cb' (_curl_is_read_cb(expr) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:627:9: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(self->curl, CURLOPT_WRITEFUNCTION, write_callback_func); ^ D:\devel\perl\perl\lib\CORE/XSUB.h:526:20: note: each undeclared identifier is reported only once for each function it appears in # define fread PerlSIO_fread ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:438:62: note: in expansion of macro 'fread' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fread)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:455:4: note: in expansion of macro '_curl_is_read_cb' (_curl_is_read_cb(expr) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:627:9: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(self->curl, CURLOPT_WRITEFUNCTION, write_callback_func); ^ D:\devel\perl\perl\lib\CORE/XSUB.h:527:21: error: 'PerlSIO_fwrite' undeclared (first use in this function) # define fwrite PerlSIO_fwrite ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:456:62: note: in expansion of macro 'fwrite' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fwrite)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:627:9: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(self->curl, CURLOPT_WRITEFUNCTION, write_callback_func); ^ Curl.xs: In function 'XS_WWW__Curl__Easy_duphandle': D:\devel\perl\perl\lib\CORE/XSUB.h:526:20: error: 'PerlSIO_fread' undeclared (first use in this function) # define fread PerlSIO_fread ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:438:62: note: in expansion of macro 'fread' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fread)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:455:4: note: in expansion of macro '_curl_is_read_cb' (_curl_is_read_cb(expr) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:658:9: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(clone->curl, CURLOPT_WRITEFUNCTION, write_callback_func); ^ D:\devel\perl\perl\lib\CORE/XSUB.h:527:21: error: 'PerlSIO_fwrite' undeclared (first use in this function) # define fwrite PerlSIO_fwrite ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:456:62: note: in expansion of macro 'fwrite' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fwrite)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:658:9: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(clone->curl, CURLOPT_WRITEFUNCTION, write_callback_func); ^ Curl.xs: In function 'XS_WWW__Curl__Easy_setopt': D:\devel\perl\perl\lib\CORE/XSUB.h:526:20: error: 'PerlSIO_fread' undeclared (first use in this function) # define fread PerlSIO_fread ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:438:62: note: in expansion of macro 'fread' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fread)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:455:4: note: in expansion of macro '_curl_is_read_cb' (_curl_is_read_cb(expr) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:717:3: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(self->curl, CURLOPT_HEADERFUNCTION, SvOK(value) ? header_callback_func : NULL); ^ D:\devel\perl\perl\lib\CORE/XSUB.h:527:21: error: 'PerlSIO_fwrite' undeclared (first use in this function) # define fwrite PerlSIO_fwrite ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:456:62: note: in expansion of macro 'fwrite' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fwrite)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:717:3: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(self->curl, CURLOPT_HEADERFUNCTION, SvOK(value) ? header_callback_func : NULL); ^ Curl.xs: In function 'XS_WWW__Curl__Multi_info_read': D:\devel\perl\perl\lib\CORE/XSUB.h:526:20: error: 'PerlSIO_fread' undeclared (first use in this function) # define fread PerlSIO_fread ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:438:62: note: in expansion of macro 'fread' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fread)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:455:4: note: in expansion of macro '_curl_is_read_cb' (_curl_is_read_cb(expr) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:1100:3: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(easy, CURLINFO_PRIVATE, NULL); ^ D:\devel\perl\perl\lib\CORE/XSUB.h:527:21: error: 'PerlSIO_fwrite' undeclared (first use in this function) # define fwrite PerlSIO_fwrite ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:456:62: note: in expansion of macro 'fwrite' __builtin_types_compatible_p(__typeof__(expr), __typeof__(fwrite)) || \ ^ d:/devel/curl/curl-7.40.0-devel-mingw64/include/curl/typecheck-gcc.h:55:11: note: in expansion of macro '_curl_is_write_cb' if(!_curl_is_write_cb(value)) \ ^ Curl.xs:1100:3: note: in expansion of macro 'curl_easy_setopt' curl_easy_setopt(easy, CURLINFO_PRIVATE, NULL); ^ dmake: Error code 129, while making 'Curl.o'