How to install the GD library using Strawberry Perl

I am trying to install the GD library using Strawberry perl and GnuWin32 . However, when I enter "install GD" in the CPAN shell, the following message appears:

'gdlib-config' is not recognized as an internal or external command, operable program or batch file. **UNRECOVERABLE ERROR** Could not find gdlib-config in the search path. Please install libgd 2.0.28 or higher.

I find that perl has difficulty finding the GD library installed in C: \ Program Files \ GnuWin32 \ bin, but I'm not sure how to fix it. I'm still new to perl, so any help would be appreciated.

+1
source share
4 answers

Your error has been confirmed to cpan testers .

It looks like you need to manually compile and install gdlib.

+3
source

, C:\Program Files\GnuWin32\bin PATH ($PATH? %PATH%? , GnuWin32 ), CPAN, gdlib-config , , .

+2

"Makefile.PL" . . "-lib_gd_path".

GD - Strawberry 5.10.1.0. - IRC- irc://irc.perl.org/#win32.

+2

Strawberry Perl ? , Padre, GD :

C:\opt> perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
  Platform:
    osname=MSWin32, osvers=5.2, archname=MSWin32-x86-multi-thread
    uname = 'Win32 padre 5.10.0.7.beta_1 # 1 20 i386'
...

and

C: \ opt> perl -MGD -Mfeature = say -e "say $ GD :: VERSION"
2.44
+1
source

All Articles