CPAN complains of missing nmake.exe

Problems with the Windows version of XAMPP, questions, comments, and anything related.

CPAN complains of missing nmake.exe

Postby snoopy20 » 26. September 2011 22:04

New user, very impressed by this collection it really does have everything a web programmer needs.

One problem, cpan complains that nmake.exe can't be found when compiling Perl modules. I've checked the Perl\bin folder and it is indeed in it. I added the folder to the system env as well but no joy.

Andrew
snoopy20
 
Posts: 14
Joined: 26. September 2011 22:00

Re: CPAN complains of missing nmake.exe

Postby hackattack142 » 26. September 2011 23:20

which environment variable did you add it to?

I was able to add "C:\xampp\perl\bin" to my PATH env variable and it seemed to work for me.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Re: CPAN complains of missing nmake.exe

Postby snoopy20 » 28. September 2011 22:24

yup that, I'll try again and report back. Cheers, Andrew
snoopy20
 
Posts: 14
Joined: 26. September 2011 22:00

Image::Magick (Perl)

Postby snoopy20 » 05. October 2011 09:30

Standard install, just run CPAN and get this...

./PerlMagick-6.72/t/reference/composite/Minus.miff
./PerlMagick-6.72/t/reference/composite/Multiply.miff
./PerlMagick-6.72/t/reference/composite/Copy.miff
./PerlMagick-6.72/t/reference/jpeg/
./PerlMagick-6.72/t/reference/jpeg/write_plane_interlaced.miff
./PerlMagick-6.72/t/reference/jpeg/write_non_interlaced.miff
./PerlMagick-6.72/t/reference/jpeg/read_plane_interlaced.miff
./PerlMagick-6.72/t/reference/jpeg/read_non_interlaced.miff
./PerlMagick-6.72/t/reference/cgm/
./PerlMagick-6.72/t/reference/cgm/read.miff
./PerlMagick-6.72/t/reference/ttf/
./PerlMagick-6.72/t/reference/ttf/annotate.miff
./PerlMagick-6.72/t/reference/ttf/read.miff
./PerlMagick-6.72/t/reference/ttf/label.miff
./PerlMagick-6.72/t/reference/read/
./PerlMagick-6.72/t/reference/read/gradient.miff
./PerlMagick-6.72/t/reference/read/input_cmyk.miff
./PerlMagick-6.72/t/reference/read/input_null_white.miff
./PerlMagick-6.72/t/reference/read/input_im8.miff
./PerlMagick-6.72/t/reference/read/input_rgba.miff
./PerlMagick-6.72/t/reference/read/input_ppm_p3.miff
./PerlMagick-6.72/t/reference/read/input_mat.miff
./PerlMagick-6.72/t/reference/read/input_null_DarkOrange.miff
./PerlMagick-6.72/t/reference/read/input_fits.miff
./PerlMagick-6.72/t/reference/read/input_gray_msb_08bit_mat.miff
./PerlMagick-6.72/t/reference/read/input_uyvy.miff
./PerlMagick-6.72/t/reference/read/input_gray.miff
./PerlMagick-6.72/t/reference/read/input_bmp24.miff
./PerlMagick-6.72/t/reference/read/input_rgb.miff
./PerlMagick-6.72/t/reference/read/input_gray_lsb_double_mat.miff
./PerlMagick-6.72/t/reference/read/input_mtv.miff
./PerlMagick-6.72/t/reference/read/input_xbm.miff
./PerlMagick-6.72/t/reference/read/input_dib.miff
./PerlMagick-6.72/t/reference/read/input_gray_lsb_08bit_mat.miff
./PerlMagick-6.72/t/reference/read/input_xwd.miff
./PerlMagick-6.72/t/reference/read/input_pbm_p4.miff
./PerlMagick-6.72/t/reference/read/input_xc_black.miff
./PerlMagick-6.72/t/reference/read/granite.miff
./PerlMagick-6.72/t/reference/read/input_null_black.miff
./PerlMagick-6.72/t/reference/read/input_avs.miff
./PerlMagick-6.72/t/reference/read/input_ppm_p6.miff
./PerlMagick-6.72/t/reference/read/input_wbmp.miff
./PerlMagick-6.72/t/reference/read/input_rgb_lsb_08bit_mat.miff
./PerlMagick-6.72/t/reference/read/input_ico.miff
./PerlMagick-6.72/t/reference/read/input_rle.miff
./PerlMagick-6.72/t/reference/read/input_psd.miff
./PerlMagick-6.72/t/reference/read/input_bmp.miff
./PerlMagick-6.72/t/reference/read/input_dcx.miff
./PerlMagick-6.72/t/reference/read/input_tim.miff
./PerlMagick-6.72/t/reference/read/input_im1.miff
./PerlMagick-6.72/t/reference/read/input_tile.miff
./PerlMagick-6.72/t/reference/read/input_pgm_p2.miff
./PerlMagick-6.72/t/reference/read/input_pbm_p1.miff
./PerlMagick-6.72/t/reference/read/input_im24.miff
./PerlMagick-6.72/t/reference/read/input_pict.miff
./PerlMagick-6.72/t/reference/read/input_xpm.miff
./PerlMagick-6.72/t/reference/read/input_gif.miff
./PerlMagick-6.72/t/reference/read/input_tga.miff
./PerlMagick-6.72/t/reference/read/input_pcx.miff
./PerlMagick-6.72/t/reference/read/input_pgm_p5.miff
./PerlMagick-6.72/t/reference/read/input_p7.miff
./PerlMagick-6.72/t/reference/read/input_viff.miff
./PerlMagick-6.72/t/reference/read/input_gif87.miff
./PerlMagick-6.72/t/reference/read/input_miff.miff
./PerlMagick-6.72/t/reference/read/input_wpg.miff
./PerlMagick-6.72/t/reference/read/input_sgi.miff
./PerlMagick-6.72/t/input_70x46.rgb
./PerlMagick-6.72/t/bzlib/
./PerlMagick-6.72/t/bzlib/input.miff
./PerlMagick-6.72/t/bzlib/write.t
./PerlMagick-6.72/t/bzlib/read.t
./PerlMagick-6.72/t/write.t
./PerlMagick-6.72/t/input.rle
./PerlMagick-6.72/t/input.tga
./PerlMagick-6.72/t/input.bmp24
./PerlMagick-6.72/t/jng/
./PerlMagick-6.72/t/jng/input_rose.jng
./PerlMagick-6.72/t/jng/input_gray_prog_jdaa.jng
./PerlMagick-6.72/t/jng/input_prog.jng
./PerlMagick-6.72/t/jng/input_prog_idat.jng
./PerlMagick-6.72/t/jng/input_gray_prog_idat.jng
./PerlMagick-6.72/t/jng/input_jdaa.jng
./PerlMagick-6.72/t/jng/input_gray_idat.jng
./PerlMagick-6.72/t/jng/write.t
./PerlMagick-6.72/t/jng/input_idat.jng
./PerlMagick-6.72/t/jng/input_gray_prog.jng
./PerlMagick-6.72/t/jng/input_gray.jng
./PerlMagick-6.72/t/jng/input_prog_jdaa.jng
./PerlMagick-6.72/t/jng/input_gray_jdaa.jng
./PerlMagick-6.72/t/jng/read.t
./PerlMagick-6.72/t/input_p2.pgm
./PerlMagick-6.72/t/x11/
./PerlMagick-6.72/t/x11/congrats.miff
./PerlMagick-6.72/t/x11/congrats.fig
./PerlMagick-6.72/t/x11/input.xwd
./PerlMagick-6.72/t/x11/write.t
./PerlMagick-6.72/t/x11/read.t
./PerlMagick-6.72/t/input_p5.pgm
./PerlMagick-6.72/t/input.mtv
./PerlMagick-6.72/t/jbig/
./PerlMagick-6.72/t/jbig/input.jbig
./PerlMagick-6.72/t/jbig/write.t
./PerlMagick-6.72/t/jbig/read.t
./PerlMagick-6.72/t/fpx/
./PerlMagick-6.72/t/fpx/input_grayscale.fpx
./PerlMagick-6.72/t/fpx/input_256.fpx
./PerlMagick-6.72/t/fpx/input_jpeg.fpx
./PerlMagick-6.72/t/fpx/input_truecolor.fpx
./PerlMagick-6.72/t/fpx/write.t
./PerlMagick-6.72/t/fpx/input_bw.fpx
./PerlMagick-6.72/t/fpx/read.t
./PerlMagick-6.72/t/input.psd
./PerlMagick-6.72/t/input.gif
./PerlMagick-6.72/t/png/
./PerlMagick-6.72/t/png/input_bw.png
./PerlMagick-6.72/t/png/input.mng
./PerlMagick-6.72/t/png/input_16.png
./PerlMagick-6.72/t/png/input_mono.png
./PerlMagick-6.72/t/png/write.t
./PerlMagick-6.72/t/png/read-16.t
./PerlMagick-6.72/t/png/input_256.png
./PerlMagick-6.72/t/png/write-16.t
./PerlMagick-6.72/t/png/read.t
./PerlMagick-6.72/t/png/input_truecolor.png
./PerlMagick-6.72/t/input.p7
./PerlMagick-6.72/t/input.gif87
./PerlMagick-6.72/t/input.dcx
./PerlMagick-6.72/t/input.wpg
./PerlMagick-6.72/t/input.pcx
./PerlMagick-6.72/t/input_gray_lsb_08bit.mat
./PerlMagick-6.72/t/setattribute.t
./PerlMagick-6.72/t/tiff/
./PerlMagick-6.72/t/tiff/input_gray_4bit_matte.tiff
./PerlMagick-6.72/t/tiff/input_gray_4bit.tiff
./PerlMagick-6.72/t/tiff/input_256_planar_separate.tiff
./PerlMagick-6.72/t/tiff/input_256_planar_contig.tiff
./PerlMagick-6.72/t/tiff/input_truecolor_16.tiff
./PerlMagick-6.72/t/tiff/input_gray_12bit.tiff
./PerlMagick-6.72/t/tiff/input_256.tiff
./PerlMagick-6.72/t/tiff/input_16.tiff
./PerlMagick-6.72/t/tiff/input_truecolor_stripped.tiff
./PerlMagick-6.72/t/tiff/input_truecolor_tiled32x32.tiff
./PerlMagick-6.72/t/tiff/input_mono.tiff
./PerlMagick-6.72/t/tiff/write.t
./PerlMagick-6.72/t/tiff/input_truecolor.tiff
./PerlMagick-6.72/t/tiff/input_256_matte.tiff
./PerlMagick-6.72/t/tiff/input_gray_8bit.tiff
./PerlMagick-6.72/t/tiff/input_gray_8bit_matte.tiff
./PerlMagick-6.72/t/tiff/read.t
./PerlMagick-6.72/t/tiff/input_16_matte.tiff
./PerlMagick-6.72/t/tiff/input_gray_16bit.tiff
./PerlMagick-6.72/t/filter.t
./PerlMagick-6.72/t/mpeg/
./PerlMagick-6.72/t/mpeg/input.mpg
./PerlMagick-6.72/t/mpeg/input.m2v
./PerlMagick-6.72/t/mpeg/read.t
./PerlMagick-6.72/t/input_70x46.cmyk
./PerlMagick-6.72/t/hdf/
./PerlMagick-6.72/t/hdf/input_truecolor.hdf
./PerlMagick-6.72/t/hdf/input_256.hdf
./PerlMagick-6.72/t/hdf/write.t
./PerlMagick-6.72/t/hdf/read.t
./PerlMagick-6.72/t/wmf/
./PerlMagick-6.72/t/wmf/wizard.wmf
./PerlMagick-6.72/t/wmf/clock.wmf
./PerlMagick-6.72/t/wmf/read.t
./PerlMagick-6.72/t/input_gray_msb_08bit.mat
./PerlMagick-6.72/t/getattribute.t
./PerlMagick-6.72/t/input_p4.pbm
./PerlMagick-6.72/t/read.t
./PerlMagick-6.72/t/jpeg/
./PerlMagick-6.72/t/jpeg/input.jpg
./PerlMagick-6.72/t/jpeg/input_plane.jpg
./PerlMagick-6.72/t/jpeg/write.t
./PerlMagick-6.72/t/jpeg/read.t
./PerlMagick-6.72/t/input_rgb_lsb_08bit.mat
./PerlMagick-6.72/t/input.xbm
./PerlMagick-6.72/t/MasterImage_70x46.ppm
./PerlMagick-6.72/t/input.bie
./PerlMagick-6.72/t/cgm/
./PerlMagick-6.72/t/cgm/input.cgm
./PerlMagick-6.72/t/cgm/read.t
./PerlMagick-6.72/t/input.im24
./PerlMagick-6.72/t/ttf/
./PerlMagick-6.72/t/ttf/input.ttf
./PerlMagick-6.72/t/ttf/read.t
./PerlMagick-6.72/t/ps/
./PerlMagick-6.72/t/ps/input.ps
./PerlMagick-6.72/t/ps/input.miff
./PerlMagick-6.72/t/ps/write.t
./PerlMagick-6.72/t/ps/input.eps
./PerlMagick-6.72/t/ps/read.t
./PerlMagick-6.72/check
./PerlMagick-6.72/MANIFEST.SKIP
./PerlMagick-6.72/typemap
./PerlMagick-6.72/README.txt
./PerlMagick-6.72/Makefile.nt
./PerlMagick-6.72/check.sh
./PerlMagick-6.72/Magick.xs
./PerlMagick-6.72/MANIFEST
./PerlMagick-6.72/Makefile.am
./PerlMagick-6.72/check.sh.in
./PerlMagick-6.72/Changelog
./PerlMagick-6.72/Magick.pm
./PerlMagick-6.72/demo/
./PerlMagick-6.72/demo/single_pixels.pl
./PerlMagick-6.72/demo/src.png
./PerlMagick-6.72/demo/Generic.ttf
./PerlMagick-6.72/demo/tree.pl
./PerlMagick-6.72/demo/steganography.pl
./PerlMagick-6.72/demo/settings.pl
./PerlMagick-6.72/demo/red_flower.gif
./PerlMagick-6.72/demo/composite.pl
./PerlMagick-6.72/demo/shadow_text.pl
./PerlMagick-6.72/demo/Makefile
./PerlMagick-6.72/demo/pink_flower.gif
./PerlMagick-6.72/demo/pixel_fx.pl
./PerlMagick-6.72/demo/demo.pl
./PerlMagick-6.72/demo/dst.png
./PerlMagick-6.72/demo/README
./PerlMagick-6.72/demo/button.pl
./PerlMagick-6.72/demo/compose_specials.pl
./PerlMagick-6.72/demo/piddle.pl
./PerlMagick-6.72/demo/shapes.pl
./PerlMagick-6.72/demo/Turtle.pm
./PerlMagick-6.72/demo/smile.gif
./PerlMagick-6.72/demo/tile.gif
./PerlMagick-6.72/demo/annotate.pl
./PerlMagick-6.72/demo/yellow_flower.gif
./PerlMagick-6.72/demo/lsys.pl
./PerlMagick-6.72/demo/model.gif
./PerlMagick-6.72/Makefile.PL.in
./PerlMagick-6.72/Magick.pm.in
./PerlMagick-6.72/Makefile.PL
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.40)
'YAML' not installed, will not store persistent state

CPAN.pm: Building J/JC/JCRISTY/PerlMagick-6.72.tar.gz

'MagickCore-config' is not recognized as an internal or external command,
operable program or batch file.
'MagickCore-config' is not recognized as an internal or external command,
operable program or batch file.
'MagickCore-config' is not recognized as an internal or external command,
operable program or batch file.
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for -lMagickCore
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Writing Makefile for Image::Magick
Could not read metadata file. Falling back to other methods to determine prerequ
isites

Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.

cp Magick.pm blib\lib\Image\Magick.pm
AutoSplitting blib\lib\Image\Magick.pm (blib\lib\auto\Image\Magick)
C:\xampp\perl\bin\perl.exe C:\xampp\perl\lib\ExtUtils\xsubpp -typemap \
xampp\perl\lib\ExtUtils\typemap -typemap typemap Magick.xs > Magick.xsc && C:\x
ampp\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Magick.xsc Magick.c
cl -c -I../ -I.. -I"/usr/include/ImageMagick" -fopenmp -g -O2 -Wall -p
thread -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAV
E_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MS
VCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"6.72\" -DXS_VERSION=\"6.72\"
"-I\xampp\perl\lib\CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code '0x1'
Stop.
JCRISTY/PerlMagick-6.72.tar.gz
nmake.exe -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
JCRISTY/PerlMagick-6.72.tar.gz : make NO

cpan[3]>
snoopy20
 
Posts: 14
Joined: 26. September 2011 22:00

Re: Image::Magick (Perl)

Postby snoopy20 » 05. October 2011 09:36

Is it .net v4 that is required to fix it?
snoopy20
 
Posts: 14
Joined: 26. September 2011 22:00

Re: CPAN complains of missing nmake.exe

Postby snoopy20 » 06. October 2011 09:33

cl.exe can be found in this package

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6506

(second one down, the c++ one)
snoopy20
 
Posts: 14
Joined: 26. September 2011 22:00

Compiling Perl Modules

Postby snoopy20 » 06. October 2011 19:28

What was Perl compiled with? I'm trying to install Perl::Magick and it's a no go as asking for cl.exe. I found that and installed but have various other problems.

Cheers, Andrew
snoopy20
 
Posts: 14
Joined: 26. September 2011 22:00

Re: CPAN complains of missing nmake.exe

Postby michaelkpate » 28. October 2011 18:05

I had trouble getting the environment variable to work so I just copied nmake.exe and nmake.err over to c:\windows\system32\. That solved the problem nicely.

I would also recommend YAML early on to cut down on some of the warning messages.
michaelkpate
 
Posts: 1
Joined: 28. October 2011 18:00
Operating System: Windows


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 46 guests