Monday, January 25, 2010

Perl 5.10 Install GD library

In Perl 5.10, the ActiveState ppm server no longer includes the GD package because it's difficult to include it in the automated build process [1]. The GD module however is available from the repository of the University of Winnipeg at http://theoryx5.uwinnipeg.ca/ppms/ (for Perl 5.8) or http://cpan.uwinnipeg.ca/PPMPackages/10xx/ (for Perl 5.10) [2].

So when use ppm to install GD module, one needs to add the second repository.

[1] http://docs.activestate.com/activeperl/5.10/faq/ActivePerl-faq2.html
[2] http://trouchelle.com/perl/ppmrepview.pl

[Added 3/6/2010]
On Centos, installing GD library for PHP can be easily done by: yum -install php-gd

No comments:

Blog Archive

Followers