Subject: | curl-config does not work on debian/stretch |
Automatic configuration fails on debian/stretch systems, though libcurl4-gnutls-dev is installed:
...
Output from '/opt/perl-5.25.11/bin/perl5.25.11 Makefile.PL INSTALLDIRS=site':
Locating required external dependency bin:curl-config... found at /usr/bin/curl-config.
The version is libcurl 7.52.1
Cannot find curl.h - cannot build constants files - see Makefile.PL at Makefile.PL line 96.
...
Problem seems to be that curl-config does not work correctly:
$ curl-config --cflags
(no output)
However, pkg-config works fine:
$ pkg-config --cflags libcurl
-I/usr/include/x86_64-linux-gnu
I filed a bug report at debian, but maybe you want to switch to use pkg-config instead of curl-config on such systems?