Skip Menu |

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

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

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

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



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?
On 2017-03-24 03:16:15, SREZIC wrote: Show quoted text
> 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,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858592 Show quoted text
> but maybe you want to switch to use > pkg-config instead of curl-config on such systems?
On 2017-03-24 03:51:50, SREZIC wrote: Show quoted text
> On 2017-03-24 03:16:15, SREZIC wrote:
> > 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,
> > → https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858592 >
> > but maybe you want to switch to use > > pkg-config instead of curl-config on such systems?
> >
Patch (preferring the usage of pkg-config over curl-config) is now available at: http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/WWW-Curl-4.17-RT120736.patch Note that still the patch found in RT #117793 is additionally needed for a successful build on debian/stretch.
On 2017-04-17 05:57:08, SREZIC wrote: Show quoted text
> On 2017-03-24 03:51:50, SREZIC wrote:
> > On 2017-03-24 03:16:15, SREZIC wrote:
> > > 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,
> > > > → https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858592 > >
> > > but maybe you want to switch to use > > > pkg-config instead of curl-config on such systems?
> > > >
> > Patch (preferring the usage of pkg-config over curl-config) is now > available at: > http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/WWW-Curl- > 4.17-RT120736.patch > > Note that still the patch found in RT #117793 is additionally needed > for a successful build on debian/stretch.
Same problem with debian/buster (current testing).