Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MojoMojo CPAN distribution.

Report information
The Basics
Id: 47236
Status: resolved
Priority: 0/
Queue: MojoMojo

People
Owner: Nobody in particular
Requestors: kmx [...] volny.cz
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Proposal - adding a test whether installed Imager module supports jpeg
Date: Mon, 22 Jun 2009 15:00:00 +0200
To: bug-MojoMojo [...] rt.cpan.org
From: kmx <kmx [...] volny.cz>
Hi, during installation of MojoMojo on Win32 I have dealt with failed test schema_DBIC_Attachment.t that was in the end caused by missing support for jpeg in my Imager module. The problem was that Imager was installed automatically as a dependence and on Win32 there is by default libjpeg not installed therefore also Imager was installed without jpeg support (all that happened during "make installdeps"). I propose adding this simple test somewhere before schema_DBIC_Attachment.t to explicitly check whether Imager has jpeg support or not. It could save some time other guys that will be trying to run MojoMojo on Win32. #!/usr/bin/perl -w use strict; use warnings; use Test::More tests => 1; use Imager; is(grep ( /^jpeg$/ , Imager->read_types()), 1, 'Imager supports jpeg'); -- kmx
On Mon Jun 22 09:00:28 2009, kmx@volny.cz wrote: Show quoted text
> I propose adding this simple test somewhere before > schema_DBIC_Attachment.t to explicitly check whether Imager has jpeg > support or not.
Good idea, thanks. Fixed by http://bit.ly/fhvjo
Fixed in trunk by SHA1-9572667