Skip Menu |

This queue is for tickets about the PDF-Create CPAN distribution.

Report information
The Basics
Id: 46036
Status: resolved
Priority: 0/
Queue: PDF-Create

People
Owner: MARKUSB [...] cpan.org
Requestors: hjp [...] hjp.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.03
Fixed in: 1.04



Subject: Installation from CPAN needs git
Show quoted text
cpan> install PDF::Create
[...] Fetching with LWP: ftp://cpan.inode.at/authors/id/M/MA/MARKUSB/PDF-Create-1.03.tar.gz [...] CPAN.pm: Going to build M/MA/MARKUSB/PDF-Create-1.03.tar.gz Checking if your kit is complete... Looks good Writing Makefile for PDF::Create cp sample.pl blib/lib/PDF/sample.pl cp lib/PDF/Image/GIF.pm blib/lib/PDF/Image/GIF.pm cp sample-cgi.pl blib/lib/PDF/sample-cgi.pl cp lib/PDF/Create/Outline.pm blib/lib/PDF/Create/Outline.pm cp lib/PDF/Create.pm blib/lib/PDF/Create.pm cp lib/PDF/Create/Page.pm blib/lib/PDF/Create/Page.pm cp lib/PDF/Image/JPEG.pm blib/lib/PDF/Image/JPEG.pm Manifying blib/man3/PDF::Create.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" Changes.PL Changes Can't exec "git": No such file or directory at Changes.PL line 11. Can not run git make: *** [Changes] Error 2 /usr/bin/make -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Show quoted text
cpan>
Changes.PL seems to be used to create the Changes file from git. This should only be done by the author before uploading to CPAN, not by every user of the module. I'm not sure what's the best way to avoid this: The rule in the Makefile is created automatically by makemaker and is probably a good thing. Maybe Changes.PL can be changed to try to update changes only if a special environment variable is set, or we are in a git working directory, or something like that?
On Wed May 13 10:18:41 2009, hjp@hjp.at wrote: Show quoted text
> I'm not sure what's the best way to avoid this: The > rule in the Makefile is created automatically by makemaker and is > probably a good thing. Maybe Changes.PL can be changed to try to update > changes only if a special environment variable is set, or we are in a > git working directory, or something like that?
I've modified Changes.PL so it checks if git is installed and if I am the git user.