I am attempting 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 believe perl is having difficulty locating the GD library installed at C:\Program Files\GnuWin32\bin, but I am not sure how to fix this. I am still new to perl, so any help would be appreciated.
Your error is confirmed on cpan testers.
Looks like you need to manually compile and install gdlib.
Which version of Strawberry Perl are you using? I am using the one bundled with Padre and GD came with it:
And:
If you make sure that
C:\Program Files\GnuWin32\bin
is in yourPATH
variable ($PATH
?%PATH%
? I'm not sure which one GnuWin32 uses) before you start CPAN, the installer should find thegdlib-config
program and you will at least be able to get through that step of the installation.Run 'Makefile.PL' manually. It will show you list of parameters. Try running it with parameter "-lib_gd_path".
GD may be included in Strawberry 5.10.1.0 beta. A good place to ask is irc://irc.perl.org/#win32 IRC channel.