Skip Menu |

This queue is for tickets about the GD-SecurityImage CPAN distribution.

Report information
The Basics
Id: 15323
Status: resolved
Worked: 5 min
Priority: 0/
Queue: GD-SecurityImage

People
Owner: burak [...] cpan.org
Requestors: dmuey [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.58
Fixed in: 1.581



Subject: GD::SecurityImage 1.58 won't make
Installing GD::SecurityImage 1.58 via CPAN or source fails with this: Too early to specify a build action 'Build'. Do 'Build Build' instead. [dan@hal9000 ~]$ perl -MGD::SecurityImage -le 'print $GD::SecurityImage::VERSION' 1.55 [dan@hal9000 ~]$ [root@hal9000 ~]# tar xzf GD-SecurityImage-1.58.tar.gz [root@hal9000 ~]# cd GD-SecurityImage-1.58 [root@hal9000 GD-SecurityImage-1.58]# perl Makefile.PL .------------------------------------------------------------. | You are about to install "GD::SecurityImage". | | | | Although it is in the GD:: namespace, the module is also | | compatible with Image::Magick. If you have "Image::Magick" | | installed, the required tests for "Image::Magick" will be | | performed (if you do a `make test`). | | | | Note that "Image::Magick" is *not* a prerequisite for | | "GD::SecurityImage", but "GD" is. | ------------------------------------------------------------ Checking if your kit is complete... Looks good Writing Makefile for GD::SecurityImage [root@hal9000 GD-SecurityImage-1.58]# make cp lib/GD/SecurityImage/AC.pm blib/lib/GD/SecurityImage/AC.pm cp lib/GD/SecurityImage.pm blib/lib/GD/SecurityImage.pm cp lib/GD/SecurityImage/Magick.pm blib/lib/GD/SecurityImage/Magick.pm cp lib/GD/SecurityImage/Styles.pm blib/lib/GD/SecurityImage/Styles.pm cp lib/GD/SecurityImage/GD.pm blib/lib/GD/SecurityImage/GD.pm Manifying blib/man3/GD::SecurityImage::AC.3pm Manifying blib/man3/GD::SecurityImage::Styles.3pm Manifying blib/man3/GD::SecurityImage::Magick.3pm Manifying blib/man3/GD::SecurityImage.3pm Manifying blib/man3/GD::SecurityImage::GD.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Build Too early to specify a build action 'Build'. Do 'Build Build' instead. make: *** [Build] Error 9 [root@hal9000 GD-SecurityImage-1.58]# So we had to 1) change the Makefile: [root@hal9000 GD-SecurityImage-1.58]# diff Makefile.orig Makefile.modified 424c424 < $(PERLRUNINST) Build.PL Build --- Show quoted text
> $(PERLRUNINST) Build.PL
[root@hal9000 GD-SecurityImage-1.58]# 2) then make it: [root@hal9000 GD-SecurityImage-1.58]# make Manifying blib/man3/GD::SecurityImage::AC.3pm Manifying blib/man3/GD::SecurityImage::Styles.3pm Manifying blib/man3/GD::SecurityImage::Magick.3pm Manifying blib/man3/GD::SecurityImage.3pm Manifying blib/man3/GD::SecurityImage::GD.3pm /usr/bin/perl "-Iblib/arch" "-Iblib/lib" Build.PL Checking whether your kit is complete... Looks good Creating new 'Build' script for 'GD-SecurityImage' version '1.58' [root@hal9000 GD-SecurityImage-1.58]# 3) "Build" it [root@hal9000 GD-SecurityImage-1.58]# perl Build Manifying blib/lib/GD/SecurityImage.pm -> blib/libdoc/GD::SecurityImage.3pm Manifying blib/lib/GD/SecurityImage/AC.pm -> blib/libdoc/GD::SecurityImage::AC.3pm Manifying blib/lib/GD/SecurityImage/GD.pm -> blib/libdoc/GD::SecurityImage::GD.3pm Manifying blib/lib/GD/SecurityImage/Magick.pm -> blib/libdoc/GD::SecurityImage::Magick.3pm Manifying blib/lib/GD/SecurityImage/Styles.pm -> blib/libdoc/GD::SecurityImage::Styles.3pm [root@hal9000 GD-SecurityImage-1.58]# 4) install it: [root@hal9000 GD-SecurityImage-1.58]# make install Installing /usr/lib/perl5/site_perl/5.8.5/GD/SecurityImage.pm Installing /usr/lib/perl5/site_perl/5.8.5/GD/SecurityImage/Magick.pm Installing /usr/lib/perl5/site_perl/5.8.5/GD/SecurityImage/Styles.pm Installing /usr/lib/perl5/site_perl/5.8.5/GD/SecurityImage/AC.pm Installing /usr/lib/perl5/site_perl/5.8.5/GD/SecurityImage/GD.pm Installing /usr/share/man/man3/GD::SecurityImage::Styles.3pm Installing /usr/share/man/man3/GD::SecurityImage::AC.3pm Installing /usr/share/man/man3/GD::SecurityImage.3pm Installing /usr/share/man/man3/GD::SecurityImage::GD.3pm Installing /usr/share/man/man3/GD::SecurityImage::Magick.3pm Writing /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/GD/SecurityImage/.packlist Appending installation info to /usr/lib/perl5/5.8.5/i386-linux-thread-multi/pe Then its good :) [dan@hal9000 ~]$ perl -MGD::SecurityImage -le 'print $GD::SecurityImage::VERSION' 1.58 [dan@hal9000 ~]$
FYI, Above example was on: [dan@hal9000 ~]$ perl -le 'print $^O;print $]' linux 5.008005 [dan@hal9000 ~]$ but its happended on every server we tried to do it on (all *nix/BSD) have no winders to test it on :)
Makefile.PL conflicts with Build.PL. I couldn't reproduce that error on my system: Windows XP Pro SP2 CPAN 1.7656 ExtUtils::MakeMaker 6.30 Module::Build 0.2611 nmake 6.00.8168.0 either nmake works differently, or this was fixed in ExtUtils::MakeMaker. Anyway, a google search shows that I'm not the only victim :) I've released a new version (1.581) to solve this problem...