Skip Menu |

This queue is for tickets about the Imager CPAN distribution.

Report information
The Basics
Id: 87829
Status: open
Priority: 0/
Queue: Imager

People
Owner: Nobody in particular
Requestors: Ying.Wang [...] calix.com
Cc:
AdminCc:

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



Subject: Help needed for installing CPAN imager module with JPEG/PNG/GIT/TIFF on windows
Date: Tue, 13 Aug 2013 20:49:29 +0000
To: "bug-Imager [...] rt.cpan.org" <bug-Imager [...] rt.cpan.org>
From: Ying Wang <Ying.Wang [...] calix.com>
Dear Sir/Madam, I would like to install cpan imager module with JPEB/PNG/GIF/TIFF file format on my windows 2008 and failed. Could anyone there help me out? Thanks! Ying Here is what I have done. I have installed /ligjpeg/libpng/libgif/libtiff on my pc under C:\GnuWin32 (See attachment GnuWin32_Capture.png). I have downloaded Imager-0.97.tar.gz from cpan. From command Prompt, C:\Users\ywang\Downloads\Imager-0.97>where perl C:\Perl\bin\perl.exe C:\cygwin\bin\perl.exe C:\Users\ywang\Downloads\Imager-0.97>where make C:\cygwin\bin\make.exe C:\Users\ywang\Downloads\Imager-0.97>perl Makefile.PL --libpath=C:\GnuWin32\lib --incpath=C:\GnuWin32\include Set up gcc environment - 3.4.5 (mingw-vista special r3) done. TT-fonts: includes not found - libraries not found Win32 threads Writing Makefile for Imager::CountColor Writing MYMETA.yml and MYMETA.json Writing Makefile for Imager::Filter::DynTest Writing MYMETA.yml and MYMETA.json FreeType 2: main: includes not found - libraries not found FreeType 2: alt 1: includes not found - libraries not found FreeType 2: alt 2: includes not found - libraries not found FreeType 2: Checking if the compiler can find them on its own Note (probably harmless): No library found for -lfreetype FreeType 2: Test code failed: Can't link/include 'ft2build.h', 'freetype' Writing Makefile for Imager::Filter::Flines Writing MYMETA.yml and MYMETA.json GIF: main: includes found - libraries not found GIF: Checking if the compiler can find them on its own Note (probably harmless): No library found for -lgif GIF: Test code failed: Can't link/include 'gif_lib.h', 'stdio.h', 'errno.h', 'st ring.h', 'gif' Writing Makefile for Imager::File::ICO Writing MYMETA.yml and MYMETA.json JPEG: main: includes found - libraries not found JPEG: Checking if the compiler can find them on its own Note (probably harmless): No library found for -ljpeg JPEG: Test code failed: Can't link/include 'jpeglib.h', 'jpeg' Writing Makefile for Imager::Filter::Mandelbrot Writing MYMETA.yml and MYMETA.json cygwin warning: MS-DOS style path detected: C:/Users/ywang/Downloads/Imager-0.97/JPEG Preferred POSIX equivalent is: /cygdrive/c/Users/ywang/Downloads/Imager-0.97/J PEG CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames cygwin warning: MS-DOS style path detected: C:/Users/ywang/Downloads/Imager-0.97/JPEG Preferred POSIX equivalent is: /cygdrive/c/Users/ywang/Downloads/Imager-0.97/J PEG CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames cygwin warning: MS-DOS style path detected: C:/Users/ywang/Downloads/Imager-0.97/JPEG Preferred POSIX equivalent is: /cygdrive/c/Users/ywang/Downloads/Imager-0.97/J PEG CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames cygwin warning: MS-DOS style path detected: C:/Users/ywang/Downloads/Imager-0.97/JPEG Preferred POSIX equivalent is: /cygdrive/c/Users/ywang/Downloads/Imager-0.97/J PEG CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames cygwin warning: MS-DOS style path detected: C:/Users/ywang/Downloads/Imager-0.97/JPEG Preferred POSIX equivalent is: /cygdrive/c/Users/ywang/Downloads/Imager-0.97/J PEG CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames cygwin warning: MS-DOS style path detected: C:/Users/ywang/Downloads/Imager-0.97/JPEG Preferred POSIX equivalent is: /cygdrive/c/Users/ywang/Downloads/Imager-0.97/J PEG CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames PNG: Not found via pkg-config PNG: Generic: includes found - libraries not found PNG: v1.6: includes not found - libraries not found PNG: v1.5: includes not found - libraries not found PNG: v1.4: includes not found - libraries not found PNG: v1.2: includes found - libraries not found PNG: v1.0: includes not found - libraries not found PNG: base (+libz): includes found - libraries not found PNG: v1.6 (+libz): includes not found - libraries not found PNG: v1.5 (+libz): includes not found - libraries not found PNG: v1.4 (+libz): includes not found - libraries not found PNG: v1.2 (+libz): includes found - libraries not found PNG: v1.0 (+libz): includes not found - libraries not found PNG: Checking if the compiler can find them on its own Note (probably harmless): No library found for -lpng PNG: Test code failed: Can't link/include 'png.h', 'stdio.h', 'png' Writing Makefile for Imager::File::SGI Writing MYMETA.yml and MYMETA.json T1Lib: main: includes not found - libraries not found T1Lib: Checking if the compiler can find them on its own Note (probably harmless): No library found for -lt1 T1Lib: Test code failed: Can't link/include 't1lib.h', 't1' TIFF: main: includes found - libraries not found TIFF: Checking if the compiler can find them on its own Note (probably harmless): No library found for -ltiff TIFF: Test code failed: Can't link/include 'tiffio.h', 'stdio.h', 'string.h', 't iff' Win32: main: includes not found - libraries not found Win32: Checking if the compiler can find them on its own Win32: Passed code check Writing Makefile for Imager::Font::W32 Writing MYMETA.yml and MYMETA.json Writing Makefile for Imager::plugins Writing MYMETA.yml and MYMETA.json Writing Makefile for Imager Writing MYMETA.yml and MYMETA.json Libraries found: Win32 Libraries *not* found: FT2 GIF JPEG PNG T1 TIFF C:\Users\ywang\Downloads\Imager-0.97>

Message body is not shown because it is too large.

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #87829] Help needed for installing CPAN imager module with JPEG/PNG/GIT/TIFF on windows
Date: Wed, 14 Aug 2013 09:11:50 +1000
To: Ying Wang via RT <bug-Imager [...] rt.cpan.org>
From: Tony Cook <tony [...] develop-help.com>
On Tue, Aug 13, 2013 at 04:49:51PM -0400, Ying Wang via RT wrote: Show quoted text
> I would like to install cpan imager module with JPEB/PNG/GIF/TIFF file format on my windows 2008 and failed. Could anyone there help me out? > Thanks! > Ying
... Show quoted text
> C:\Users\ywang\Downloads\Imager-0.97>perl Makefile.PL --libpath=C:\GnuWin32\lib --incpath=C:\GnuWin32\include > Set up gcc environment - 3.4.5 (mingw-vista special r3)
Please send me the output of: perl Makefile.PL --libpath=C:\GnuWin32\lib --incpath=C:\GnuWin32\include --verbose This includes more debugging information. Show quoted text
> C:\Users\ywang\Downloads\Imager-0.97>where make > C:\cygwin\bin\make.exe
Not that it matters at the point in the process that you're up to, but you should be using dmake or nmake when building modules on Win32. Since you appear to have the ActivePerl MinGW ppm installed you should have dmake available. Of course, if you want a simpler solution, installing strawberry perl will install gcc, tools, and whatever release of Imager was current the package was built. Tony
Subject: RE: [rt.cpan.org #87829] Help needed for installing CPAN imager module with JPEG/PNG/GIT/TIFF on windows
Date: Tue, 13 Aug 2013 23:42:30 +0000
To: "bug-Imager [...] rt.cpan.org" <bug-Imager [...] rt.cpan.org>
From: Ying Wang <Ying.Wang [...] calix.com>
Dear Tony, Thank you very much for responding my email. 1. Attached please find the result from perl Makefile.PL --libpath=C:\GnuWin32\lib --incpath=C:\GnuWin32\include --verbose 2. Yes, I do have dmake C:\Users\ywang\Downloads\Imager-0.97>where dmake C:\perl\site\bin\dmake.ext 3. I did try to install strawberry before I submitted the ticket several time. But I could not figure out the relationship between Strawberry and ActivePerl. I kept trying even after I submitted the ticket. Now I ended up to do the following copy/edit and then my script is able to create png file successfully. But I would prefer using dmake to install it automatically rather than manually copying/editing. I need to document the installation procedure. Thank you again for your help! Regards, Ying ----------------------------------------------------------------------------------------------------------------------- C:\strawberry\perl\vendor\lib\auto\Imager\File\GIF => C:\Perl\site\lib\auto\Imager\File\PNG C:\strawberry\perl\vendor\lib\auto\Imager\File\JPEG => C:\Perl\site\lib\auto\Imager\File\ JPEG C:\strawberry\perl\vendor\lib\auto\Imager\File\PNG => C:\Perl\site\lib\auto\Imager\File\ PNG C:\strawberry\perl\vendor\lib\auto\Imager\File\TIFF => C:\Perl\site\lib\auto\Imager\File\ TIFF C:\strawberry\perl\vendor\lib\Imager\File\GIF.pm => C:\Perl\site\lib\Imager\File\GIF.pm C:\strawberry\perl\vendor\lib\Imager\File\JPEG.pm => C:\Perl\site\lib\Imager\File\ JPEG.pm C:\strawberry\perl\vendor\lib\Imager\File\PNG.pm => C:\Perl\site\lib\Imager\File\ PNG.pm C:\strawberry\perl\vendor\lib\Imager\File\TIFF.pm => C:\Perl\site\lib\Imager\File\ TIFF.pm Edit the file C:\Perl\site\lib\auto\Imager\.packlist to include the above new *.bs and *.dll files ----------------------------------------------------------------------------------------------------------------------- Show quoted text
-----Original Message----- From: tony@develop-help.com via RT [mailto:bug-Imager@rt.cpan.org] Sent: Tuesday, August 13, 2013 4:12 PM To: Ying Wang Subject: Re: [rt.cpan.org #87829] Help needed for installing CPAN imager module with JPEG/PNG/GIT/TIFF on windows <URL: https://rt.cpan.org/Ticket/Display.html?id=87829 > On Tue, Aug 13, 2013 at 04:49:51PM -0400, Ying Wang via RT wrote:
> I would like to install cpan imager module with JPEB/PNG/GIF/TIFF file format on my windows 2008 and failed. Could anyone there help me out? > Thanks! > Ying
...
> C:\Users\ywang\Downloads\Imager-0.97>perl Makefile.PL > --libpath=C:\GnuWin32\lib --incpath=C:\GnuWin32\include Set up gcc > environment - 3.4.5 (mingw-vista special r3)
Please send me the output of: perl Makefile.PL --libpath=C:\GnuWin32\lib --incpath=C:\GnuWin32\include --verbose This includes more debugging information.
> C:\Users\ywang\Downloads\Imager-0.97>where make C:\cygwin\bin\make.exe
Not that it matters at the point in the process that you're up to, but you should be using dmake or nmake when building modules on Win32. Since you appear to have the ActivePerl MinGW ppm installed you should have dmake available. Of course, if you want a simpler solution, installing strawberry perl will install gcc, tools, and whatever release of Imager was current the package was built. Tony
Download out
application/octet-stream 15.1k

Message body not shown because it is not plain text.

On Tue Aug 13 19:42:45 2013, Ying.Wang@calix.com wrote: Show quoted text
> Dear Tony, > > Thank you very much for responding my email. > > 1. Attached please find the result from > perl Makefile.PL --libpath=C:\GnuWin32\lib > --incpath=C:\GnuWin32\include --verbose > > 2. Yes, I do have dmake > C:\Users\ywang\Downloads\Imager-0.97>where dmake > C:\perl\site\bin\dmake.ext > > 3. I did try to install strawberry before I submitted the ticket > several time. > But I could not figure out the relationship between Strawberry and > ActivePerl. > I kept trying even after I submitted the ticket. Now I ended up to do > the following copy/edit and then > my script is able to create png file successfully. But I would prefer > using dmake to install it automatically rather than manually > copying/editing. > I need to document the installation procedure. Thank you again for > your help! > > Regards, > Ying > > ----------------------------------------------------------------------------------------------------------------------- > C:\strawberry\perl\vendor\lib\auto\Imager\File\GIF => > C:\Perl\site\lib\auto\Imager\File\PNG > C:\strawberry\perl\vendor\lib\auto\Imager\File\JPEG => > C:\Perl\site\lib\auto\Imager\File\ JPEG > C:\strawberry\perl\vendor\lib\auto\Imager\File\PNG => > C:\Perl\site\lib\auto\Imager\File\ PNG > C:\strawberry\perl\vendor\lib\auto\Imager\File\TIFF => > C:\Perl\site\lib\auto\Imager\File\ TIFF > > C:\strawberry\perl\vendor\lib\Imager\File\GIF.pm => > C:\Perl\site\lib\Imager\File\GIF.pm > C:\strawberry\perl\vendor\lib\Imager\File\JPEG.pm => > C:\Perl\site\lib\Imager\File\ JPEG.pm > C:\strawberry\perl\vendor\lib\Imager\File\PNG.pm => > C:\Perl\site\lib\Imager\File\ PNG.pm > C:\strawberry\perl\vendor\lib\Imager\File\TIFF.pm => > C:\Perl\site\lib\Imager\File\ TIFF.pm > > Edit the file C:\Perl\site\lib\auto\Imager\.packlist to include the > above new *.bs and *.dll files
Sorry, I missed this reply, a very long time ago. Did you solve this, or more likely, abandon it? As for strawberry perl, I meant instead of using ActivePerl, you can use Strawberry Perl. Unfortunately I can't see the cause from your build. What happens if you build without the libraries detected? Tony