Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Good Day monks, While installing Image::Magick (CPAN not ppm) module, i am getting following errors

D:\Modules\PerlMagick-6.24.tar\PerlMagick-6.24>perl makefile.pl Checking if your kit is complete... Looks good Note (probably harmless): No library found for -lMagick Note (probably harmless): No library found for -ltiff Note (probably harmless): No library found for -ljpeg Note (probably harmless): No library found for -lpng Note (probably harmless): No library found for -ldpstk Note (probably harmless): No library found for -ldps Note (probably harmless): No library found for -lXext Note (probably harmless): No library found for -lXt Note (probably harmless): No library found for -lSM Note (probably harmless): No library found for -lICE Note (probably harmless): No library found for -lX11 Note (probably harmless): No library found for -lbz2 Note (probably harmless): No library found for -lxml2 Note (probably harmless): No library found for -lpthread Note (probably harmless): No library found for -lm Note (probably harmless): No library found for -lpthread Writing Makefile for Image::Magick

After that, i am executing nmake, nmake test, nmake install commands and it gives the following error.

Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten. cp Magick.pm blib\lib\Image\Magick.pm AutoSplitting blib\lib\Image\Magick.pm (blib\lib\auto\Image\Magick) C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils/xsubpp -typemap C:\ +Perl\lib\E xtUtils\typemap Magick.xs > Magick.xsc && C:\Perl\bin\perl.exe -MExtU +tils::Comm and -e mv Magick.xsc Magick.c cl -c -I../ -I.. -I/usr/include/freetype2 -I/usr/X11R6/includ +e -I/usr/X 11R6/include/X11 -I/usr/include/libxml2 -nologo -Gf -W3 -MD -Zi -DNDE +BUG -O1 -D WIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_ +IMPLICIT_C ONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -O3 -g - +Wall -pthr ead -MD -Zi -DNDEBUG -O1 -DVERSION=\"6.2.4\" -DXS_VERSION=\"6.2.4\ +" "-IC:\P erl\lib\CORE" -DHAVE_CONFIG_H Magick.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x1' Stop.

What is the problem? What i do for this problem? Help me.

Replies are listed 'Best First'.
Re:Installation Problem in Image::Magick module
by kulls (Hermit) on Dec 14, 2005 at 04:49 UTC
    Readme for installing Image::Magick module.

    For Windows systems, type
    perl Makefile.nt
    nmake install


    can you try this ?
    -kulls

      kulls, I tried the above mention commands, but again i am getting the same error.

      My system configuration is : Windows 2000 and Perl 5.8

        hi,
        you're correct.It required some win 2000 support in order to proceed further. check the prerequest for installing this.
        -kulls
Re: Installation Problem in Image::Magick module
by spiritway (Vicar) on Dec 14, 2005 at 05:35 UTC

    It looks like it's trying to compile some parts of the module. Do you have a compiler, linker, etc. on your box?

    Just out of curiosity, is there some reason you're *not* using ppm to do this?

      Do you have a compiler, linker, etc. on your box?
      It doesn't look like he has a compiler (cl.exe)

      MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
      I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
      ** The third rule of perl club is a statement of fact: pod is sexy.