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 » 2015-11-17T05:13:11-07:00

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: 1386
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Installation PerMagick Windows7 strawberry

Post by dlemstra » 2015-11-17T06:18:15-07:00

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 » 2015-11-17T09:22:17-07:00

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: 1386
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Installation PerMagick Windows7 strawberry

Post by dlemstra » 2015-11-18T02:49:32-07:00

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 » 2015-11-18T03:43:57-07:00

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 » 2015-11-20T00:56:31-07:00

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 » 2015-11-27T00:13:56-07:00

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

Post Reply