Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PkgConfig CPAN distribution.

Report information
The Basics
Id: 84174
Status: resolved
Priority: 0/
Queue: PkgConfig

People
Owner: Nobody in particular
Requestors: somian08 [...] gmail.com
Cc:
AdminCc:

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

Attachments


Subject: Executable script does not get installed
NATURE OF MALFUNCTION: build / install process. OBSERVED IN RELEASE: current release, 0.05020. DESCRIPTION OF BEHAVIOR: A script named scripts/pkg-config.pl is present in the distribution (src kit). Nothing is 'done' with it when the package is configured, tested, built and installed. EXPECTED BEHAVIOR: I expected that the EU-MakeMaker toolchain would generate a Makefile with commands / recipes to, when 'amke' is run, create a file under blib/script. This file would then be installed if tests passed (or if install was forced). No file is copied to blib/script/. And that when I did 'make install' the script would be installed in some location as configured into EU-MM / cpan client (cpanplus). PATCHED BEHAVIOR: When I 'make all' the terminal console output is cp lib/PkgConfig.pm blib/lib/PkgConfig.pm cp script/pkg-config.pl blib/script/PkgConfig /usr/bin/perl.exe -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/PkgConfig Manifying blib/man1/pkg-config.pl.1 Manifying blib/man3/PkgConfig.3pm This is what would be expected if a build configury has properly proceeded so that an executable script is going to be installed when the user does 'make install'. PATCH SUBMITTED: PkgConfig-0.05020_EXEFILES.udiff - a minimal suggestion for how to achieve the expected behavior.
Subject: PkgConfig-0.05020_EXEFILES.udiff
Download PkgConfig-0.05020_EXEFILES.udiff
application/octet-stream 1004b

Message body not shown because it is not plain text.

Can you submit a PR on the relevant github project? https://github.com/mnunberg/perl-PkgConfig On Sun Mar 24 02:05:07 2013, Perlsomian wrote: Show quoted text
> > NATURE OF MALFUNCTION: build / install process. > > OBSERVED IN RELEASE: current release, 0.05020. > > DESCRIPTION OF BEHAVIOR: > > A script named scripts/pkg-config.pl is present in the distribution > (src kit). Nothing is 'done' with it when the package is configured, > tested, built and installed. > > EXPECTED BEHAVIOR: > > I expected that the EU-MakeMaker toolchain would generate a Makefile > with commands / recipes to, when 'amke' is run, create a file under > blib/script. This file would then be installed if tests passed (or > if install was forced). No file is copied to blib/script/. > > And that when I did 'make install' the script would be installed in > some location as configured into EU-MM / cpan client (cpanplus). > > PATCHED BEHAVIOR: > > When I 'make all' the terminal console output is > > cp lib/PkgConfig.pm blib/lib/PkgConfig.pm > cp script/pkg-config.pl blib/script/PkgConfig > /usr/bin/perl.exe -MExtUtils::MY -e 'MY->fixin(shift)' -- > blib/script/PkgConfig > Manifying blib/man1/pkg-config.pl.1 > Manifying blib/man3/PkgConfig.3pm > > This is what would be expected if a build configury has properly > proceeded so that an executable script is going to be installed when > the > user does 'make install'. > > PATCH SUBMITTED: PkgConfig-0.05020_EXEFILES.udiff - a minimal > suggestion for how > to achieve the expected behavior.
This should be fixed as of version 0.06020. Script is installed as ppkg-config everywhere and pkg-config.pl where the OS supports it nicely (ie not windows).