Skip Menu |

This queue is for tickets about the Primesieve CPAN distribution.

Report information
The Basics
Id: 132185
Status: resolved
Priority: 0/
Queue: Primesieve

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

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



Subject: pkg-config fails even with primesieve installed
Makefile.PL fails even if a primesieve package is installed: ... pkg-config error running: `pkg-config --cflags primesieve`: at Makefile.PL line 11. (/opt/perl-5.30.1t/bin/perl Makefile.PL exited with 65280) ... This is the installed version (from package on Ubuntu 18.04): $ pkg-config --modversion primesieve 6.3 Maybe the problem is that there are no special cflags needed: $ pkg-config --cflags primesieve (empty) So an empty result must not be treated as an error.
On 2020-03-21 03:12:04, SREZIC wrote: Show quoted text
> Makefile.PL fails even if a primesieve package is installed: > > ... > pkg-config error running: `pkg-config --cflags primesieve`: at > Makefile.PL line 11. > (/opt/perl-5.30.1t/bin/perl Makefile.PL exited with 65280) > ... > > This is the installed version (from package on Ubuntu 18.04): > $ pkg-config --modversion primesieve > 6.3 > > Maybe the problem is that there are no special cflags needed: > $ pkg-config --cflags primesieve > (empty) > > So an empty result must not be treated as an error.
BTW, pkg-config has an option --exists which might be used to check if something is installed: $ pkg-config --exists primesieve; echo $? 0 $ pkg-config --exists does-not-exist; echo $? 1
On 2020-03-21 03:16:02, SREZIC wrote: Show quoted text
> On 2020-03-21 03:12:04, SREZIC wrote:
> > Makefile.PL fails even if a primesieve package is installed: > > > > ... > > pkg-config error running: `pkg-config --cflags primesieve`: at > > Makefile.PL line 11. > > (/opt/perl-5.30.1t/bin/perl Makefile.PL exited with 65280) > > ... > > > > This is the installed version (from package on Ubuntu 18.04): > > $ pkg-config --modversion primesieve > > 6.3 > > > > Maybe the problem is that there are no special cflags needed: > > $ pkg-config --cflags primesieve > > (empty) > > > > So an empty result must not be treated as an error.
> > BTW, pkg-config has an option --exists which might be used to check if > something is installed: > > $ pkg-config --exists primesieve; echo $? > 0 > $ pkg-config --exists does-not-exist; echo $? > 1
0.02 seems to work.