I just received the Martien Verbruggen bood "Graphics Programming with Perl". After reading the first 20 pages, I liked the book and decided to install the GD module.
I am running Windows 10 with Active Perl: "perl 5, version 20, subversion 2 (v5.20.2) built for MSWin32-x64-multi-thread"
When I try to install GD via cpanm I receive the following:
C:>cpanm GD
--> Working on GD
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/GD-2.71.tar.gz ...
+ OK
Configuring GD-2.71 ... N/A
! Configure failed for GD-2.71. See C:\Users\Jerry\.cpanm\work\1590342
+755.3924\build.log for details.
The build log has the following error:
cpanm (App::cpanminus) 1.7044 on perl 5.020002 built for MSWin32-x64-m
+ulti-thread
Work directory is C:\Users\Jerry/.cpanm/work/1590342755.3924
You have make C:\Perl64\site\bin\dmake.exe
You have LWP 6.44
Falling back to Archive::Tar 2.04
Searching GD () on cpanmetadb ...
--> Working on GD
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/GD-2.71.tar.gz
-> OK
Unpacking GD-2.71.tar.gz
Entering GD-2.71
Checking configure dependencies from META.json
Checking if you have ExtUtils::PkgConfig 0 ... Yes (1.16)
Checking if you have ExtUtils::Constant 0.22 ... Yes (0.23)
Configuring GD-2.71
Running Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.
'gdlib-config' is not recognized as an internal or external command,
operable program or batch file.
Package gdlib was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdlib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdlib' found
at Makefile.PL line 449.
*** can not find package gdlib
*** check that it is properly installed and available in PKG_CONFIG_PA
+TH
at Makefile.PL line 449.
-> N/A
-> FAIL Configure failed for GD-2.71. See C:\Users\Jerry\.cpanm\work\1
+590342755.3924\build.log for details.
I searched my computer and the gdlib.pc file is not on my machine.
Being very much a novice on debugging these types of errors, I am hoping other can help me with getting this GD module installed.
Any help you can provide is appreciated.