[Tilesathome] PerlMagick on Windows?
Ed Loach
ed at loach.me.uk
Tue Sep 30 13:43:51 BST 2008
Matthias asked:
> So, do you have PerlMagick installed? Is it maybe part of
> ActivePerl
> or can you install it from their repository?
I've spent my lunch hour trying to install it. It isn't included in
the 64-bit Windows distribution, which I installed first, but if you
install the 32-bit version there is a checkbox in the setup wizard
that defaults to unchecked, but gives the option:
Install PerlMagick for ActiveState Perl v5.10.0 build 1004
(and I'm hoping it has detected the version of Perl I have
installed, rather than only supporting that one build).
The Windows source distribution includes a file PerlMagick-PPM.txt
which contains:
--- Start quote ---
This directory contains PerlMagick built for ActiveState ActivePerl.
Installing PerlMagick
=====================
Normally PerlMagick is installed via a checkbox in the ImageMagick
setup program. If PerlMagick was not installed at that time, it may
be
installed from within this directory by executing the command
ppm install Image-Magick.ppd
You should see output similar to:
Installing package 'Image-Magick.ppd'...
Writing C:\Perl\site\lib\auto\Image\Magick\.packlist
...\PerlMagick>
If you see the above, it means it's worked. If you get:
...\PerlMagick>>ppm install Image-Magick.ppd
'ppm' is not recognized as an internal or external command,
operable program or batch file.
...\PerlMagick>
it means your installation of ActivePerl isn't installed, or isn't
configured properly - you need to make sure that the folder
containing
ppm.bat (usually c:\perl\bin) is in your system path.
--- End quote (it carries on about uninstalling and demo) ---
The file is in the VisualMagick\installer subfolder of the source
distribution zip. There doesn't seem to be a .ppd file in the source
zip though, so it may be something that needs to be built. After
installing the 32 bit version the ppd is in the PerlMagick subfolder
of the installation path.
So, installation seemed fairly easy, once I found the checkbox in
the 32 bit installer. I've now got both 64 and 32 bit versions
installed, so no idea which it will try and use - I'd guess the one
I installed last (32-bit)...
As per instructions for anyone else that wants to install it:
* Go to this page:
http://www.imagemagick.org/script/binary-releases.php#windows
* Download the first listed binary distribution (name ends
-Q16-windows-dll.exe)
* Run the downloaded file
* During the setup process ensure you tick the checkbox to install
PerlMagick
Ed
More information about the Tilesathome
mailing list