Hello, I'm trying to install the Perl GD module (2.44) on cygwin (1.7.x). 'perl Makefile.PL' gives me this output:
(1008) sirius:~/downloads/GD-2.44 $ perl Makefile.PL Notice: Type perl Makefile.PL -h for command-line option summary. Configuring for libgd version 2.0.36. Checking for stray libgd header files... ** WARNING: found gd.h header file in /usr/include/gcc/i686-pc-cygwin/4.3.4/../../..gd.h, but it is expected + at /usr/include/gd.h. This may cause compile errors ! ** ** Possible problems found ** Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFANIM GD_OPENPOLYGON GD_UNCLOSEDPOLY GD +_ANIMGIF GD_FTCIRCLE VERSION_33 GD library used from: /usr Writing Makefile for GD
Note how it says my gd.h header file was not found in /usr/include/gd.h and that it was found in /usr/include/gcc/... But oddly enough, I don't even have a /usr/include/gcc/ directory and gd.h is in fact found in /usr/include on my system. See output below:
(1010) sirius:~/downloads/GD-2.44 $ ls -l /usr/include/gd.h -rw-r--r-- 1 LUPEY Administrators 32609 2009-09-15 06:14 /usr/include/ +gd.h (1011) sirius:~/downloads/GD-2.44 $ ls /usr/include/gcc ls: cannot access /usr/include/gcc: No such file or directory
What is going on here? Is this a problem with my cygwin/gcc installation or a GD problem? Thank you for your guidance,

In reply to perl GD - can find gd.h by lupey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.