Installation PerMagick Windows7 strawberry

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Baffo
Posts: 5
Joined: 2015-11-17T04:39:10-07:00
Authentication code: 1151

Installation PerMagick Windows7 strawberry

Post by Baffo »

Hallo,
I want to install PerMagick.
My environment is:
- Windows7, 64bit
- Strawberry Perl 5.18.2.1 64bit
I have already installed ImageMagick-6.9.2-6-Q16-x64-dll with ImageMagick's development files (libraries+headers) into
directory D:\Programme\ImageMagick-6.9.2-Q16
my Windows-Path starts with: PATH=D:\Programme\ImageMagick-6.9.2-Q16;C:\Progra...
I have unpacked the file ImageMagick-6.9.2-6.zip to C:\strawberry\cpan
I opened a cmd window,
changed to the directory C:\strawberry\cpan\ImageMagick-6.9.2-6\PerlMagick and
write the command perl makefile.pl

There I got some mistakes:
Gonna create 'libMagickCore.a' from 'D:\Programme\ImageMagick-6.9.2-Q16\CORE_RL_magick_.dll'
Warning (mostly harmless):
No library found for -lMagickCore-6.Q16
Gonna create 'libMagickCore.a' from 'D:\Programme\ImageMagick-6.9.2-Q16\CORE_RL_magick_.dll'
Warning (mostly harmless):
No library found for -lMagickCore-6.Q16
Generating a dmake-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
Gonna create 'libMagickCore.a' from 'D:\Programme\ImageMagick-6.9.2-Q16\CORE_RL_magick_.dll'
Warning (mostly harmless):
No library found for -lMagickCore-6.Q16
Generating a dmake-style Makefile
Writing Makefile for Image::Magick::Q16
Writing MYMETA.yml and MYMETA.json
Generating a dmake-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json


Than I tried dmake:
cp Magick.pm blib\lib\Image\Magick.pm
cp Magick.pm ..\blib\lib\Image\Magick.pm

dmake: Error: -- `Q16.pm' not found, and can't be made
dmake: Error code 255, while making 'subdirs'


What I have forgotten or what is missing? Who can help me please?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Installation PerMagick Windows7 strawberry

Post by dlemstra »

What we do in AppVeyor is the following:

Code: Select all

perl Makefile.PL MAKE=nmake
nmake
nmake release
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Baffo
Posts: 5
Joined: 2015-11-17T04:39:10-07:00
Authentication code: 1151

Re: Installation PerMagick Windows7 strawberry

Post by Baffo »

Sorry, but the proposal is not working:

C:\strawberry\cpan\ImageMagick-6.9.2-6\PerlMagick>perl Makefile.PL MAKE=nmake
Gonna create 'libMagickCore.a' from 'D:\Programme\ImageMagick-6.9.2-Q16\CORE_RL_magick_.dll'
Warning (mostly harmless): No library found for -lMagickCore-6.Q16
Gonna create 'libMagickCore.a' from 'D:\Programme\ImageMagick-6.9.2-Q16\CORE_RL_magick_.dll'
Warning (mostly harmless): No library found for -lMagickCore-6.Q16
Generating a dmake-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
Gonna create 'libMagickCore.a' from 'D:\Programme\ImageMagick-6.9.2-Q16\CORE_RL_magick_.dll'
Warning (mostly harmless): No library found for -lMagickCore-6.Q16
Generating a dmake-style Makefile
Writing Makefile for Image::Magick::Q16
Writing MYMETA.yml and MYMETA.json
Generating a nmake-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json

C:\strawberry\cpan\ImageMagick-6.9.2-6\PerlMagick>nmake
Der Befehl "nmake" ist entweder falsch geschrieben oder konnte nicht gefunden werden.
(The command "nmake" is either misspelled or was not found.)

I have not installed a compiler. What else can I do?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Installation PerMagick Windows7 strawberry

Post by dlemstra »

Are you executing the command in a 'Developer Command Prompt' (https://msdn.microsoft.com/en-us/library/dd9y37ha.aspx)?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Baffo
Posts: 5
Joined: 2015-11-17T04:39:10-07:00
Authentication code: 1151

Re: Installation PerMagick Windows7 strawberry

Post by Baffo »

No, I don't have installed Visual Studio. That was not necessary for the development of perl scripts until now.
Baffo
Posts: 5
Joined: 2015-11-17T04:39:10-07:00
Authentication code: 1151

Re: Installation PerlMagick Windows7 strawberry

Post by Baffo »

Has somebody an idea to install PerlMagick without Visual Studio?
Baffo
Posts: 5
Joined: 2015-11-17T04:39:10-07:00
Authentication code: 1151

Re: Installation PerMagick Windows7 strawberry

Post by Baffo »

I ask again, does somebody know how to install PerlMagick without having Visual Studio installed?
Post Reply