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?
Installation PerMagick Windows7 strawberry
Re: Installation PerMagick Windows7 strawberry
What we do in AppVeyor is the following:
Code: Select all
perl Makefile.PL MAKE=nmake
nmake
nmake release
Re: Installation PerMagick Windows7 strawberry
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?
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
Are you executing the command in a 'Developer Command Prompt' (https://msdn.microsoft.com/en-us/library/dd9y37ha.aspx)?
Re: Installation PerMagick Windows7 strawberry
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
Has somebody an idea to install PerlMagick without Visual Studio?
Re: Installation PerMagick Windows7 strawberry
I ask again, does somebody know how to install PerlMagick without having Visual Studio installed?