Hi gregor! On So, 01 Jan 2023, gregor herrmann wrote:
> > > In file included from Curl.xs:578: > > > curlopt-constants.c: In function ‘constant’: > > > curlopt-constants.c:19:51: error: ‘CURL_DEPRECATED’ undeclared (first use > > > in this function) > > > 19 | if (strEQ(name, "DEPRECATED")) return CURL_DEPRECATED; > > > | ^~~~~~~~~~~~~~~ > > I think this is related to the following change in curl 7.87.0: > https://github.com/curl/curl/pull/9667 > https://github.com/curl/curl/commit/6967571bf20624bc4cfa68fb8f90cbc53a87c6f2 > > If I remove the new *DEPRECAT* macros from the generated curlopt-constants.c > after `perl Makefile.PL' and before `make', we get a bit further I'm not fully sure how to do this (seems it should be possible to realize this by patching Makefile.PL). > until we hit this error: > > In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3195: > Curl.xs:692:25: error: void value not ignored as it ought to be > 692 | curl_easy_setopt(clone->curl, 10000 + i, > clone->strings[i]); This one can be worked around using WWW-Curl-4.17-Work-around-a-macro-bug-in-curl-7.87.0.patch from https://rt.cpan.org/Public/Bug/Display.html?id=145992 Greetings Roland
signature.asc
Description: PGP signature