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.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|