Skip Menu |
 

This queue is for tickets about the Imager-Screenshot CPAN distribution.

Report information
The Basics
Id: 56793
Status: resolved
Priority: 0/
Queue: Imager-Screenshot

People
Owner: Nobody in particular
Requestors: kmx [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.008
Fixed in: 0.009



Subject: Failure on Strawberry 5.12.0 (beta2)
Hi,

I have tested Imager::Screenshot with Win32 Strawberry Perl 5.12.0 beta2 - the installation fails with the following error:

Could not find X11/Xlib.h (X11 header)
Could not find windows.h (Win32 header)
OS unsupported: Headers or libraries not found for a supported GUI

Sorry, I can't find headers or libraries for a supported GUI
You need to install development headers and libraries for your GUI
For Win32: Platform SDK or a substitute
For X11: X11 headers and libraries, eg. the libX11-dev package on Debian

The problem is that Strawberry Perl 5.12.0 switched to the new gcc toolchain provided by mingw-w64.sf.net (from previoisly used gcc toolchain by mingw.org) which has "windows.h" header in a different location:
- c:\strawberry\c\i686-w64-mingw32\include\windows.h (on 32bit systems)
- c:\strawberry\c\x86_64-w64-mingw32\include\windows.h (on 64bit systems)

To use #include <windows.h> you do not need to set any special -I.. params but trying to find windows.h file in $Config{incpath} (=c:\strawberry\c\include) fails.

--
kmx
Subject: Re: [rt.cpan.org #56793] Failure on Strawberry 5.12.0 (beta2)
Date: Tue, 15 Jun 2010 22:05:30 +1000
To: kmx via RT <bug-Imager-Screenshot [...] rt.cpan.org>
From: Tony Cook <tony [...] develop-help.com>
Download (untitled) / with headers
text/plain 1.2k
On Wed, Apr 21, 2010 at 03:36:24PM -0400, kmx via RT wrote: Show quoted text
> I have tested Imager::Screenshot with Win32 Strawberry Perl 5.12.0 beta2 - the > installation fails with the following error: > > Could not find X11/Xlib.h (X11 header) > Could not find windows.h (Win32 header) > OS unsupported: Headers or libraries not found for a supported GUI > > Sorry, I can't find headers or libraries for a supported GUI > You need to install development headers and libraries for your GUI > For Win32: Platform SDK or a substitute > For X11: X11 headers and libraries, eg. the libX11-dev package on Debian > > The problem is that Strawberry Perl 5.12.0 switched to the new gcc toolchain > provided by mingw-w64.sf.net (from previoisly used gcc toolchain by mingw.org) > which has "windows.h" header in a different location: > - c:\strawberry\c\i686-w64-mingw32\include\windows.h (on 32bit systems) > - c:\strawberry\c\x86_64-w64-mingw32\include\windows.h (on 64bit systems) > > To use #include <windows.h> you do not need to set any special -I.. params but > trying to find windows.h file in $Config{incpath} (=c:\strawberry\c\include) > fails.
Sorry for the delay on this. Imager-Screenshot 0.009 should fix this. Should be on fast CPAN mirrors now, or on slow ones in a few days. Tony


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.