Page 1 of 1

Installation PerMagick Windows7 strawberry

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

Re: Installation PerMagick Windows7 strawberry

Posted: 2015-11-17T06:18:15-07:00
by dlemstra
What we do in AppVeyor is the following:

Code: Select all

perl Makefile.PL MAKE=nmake
nmake
nmake release

Re: Installation PerMagick Windows7 strawberry

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

Re: Installation PerMagick Windows7 strawberry

Posted: 2015-11-18T02:49:32-07:00
by dlemstra
Are you executing the command in a 'Developer Command Prompt' (https://msdn.microsoft.com/en-us/library/dd9y37ha.aspx)?

Re: Installation PerMagick Windows7 strawberry

Posted: 2015-11-18T03:43:57-07:00
by Baffo
No, I don't have installed Visual Studio. That was not necessary for the development of perl scripts until now.

Re: Installation PerlMagick Windows7 strawberry

Posted: 2015-11-20T00:56:31-07:00
by Baffo
Has somebody an idea to install PerlMagick without Visual Studio?

Re: Installation PerMagick Windows7 strawberry

Posted: 2015-11-27T00:13:56-07:00
by Baffo
I ask again, does somebody know how to install PerlMagick without having Visual Studio installed?