X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4B6756B3.5090003@x-ray.at> Date: Mon, 01 Feb 2010 23:33:23 +0100 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.7) Gecko/20100104 SeaMonkey/2.0.2 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: perl GD - can find gd.h References: <37bd06461002010708i34fcf950hf98ed0379565d3fc AT mail DOT gmail DOT com> In-Reply-To: <37bd06461002010708i34fcf950hf98ed0379565d3fc@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Paul Cantalupo schrieb: > Hello, > > Yesterday Dave Korn helped me get my gcc compiler working. Now I'm > running into a new issue when trying to compile the Perl GD module. > Here is the 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_G > IF 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, Cannot reproduce. You need libgd-devel of course. Then perl Makefile.PL && make works fine for me. make test fails at test 10, but this error is bogus. It's comparing the generated jpeg to a stored jpeg, the generated jpeg is perfectly fine. make install is fine. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple