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 ~]$