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

Xampp (Latest, 172) is all nice and monkitory and offers `cpan` Having set http_proxy=http://whatever:8080 off it goes to install Apache::Registry. I assume this is what I have to do. All runs OK and is busy chattin to me, when suddenly it croaks. Make is trying to run `cl` " Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp Leak.pm ..\blib\lib\Apache\Leak.pm C:\xampp\perl\bin\perl.exe C:\xampp\perl\lib\ExtUtils\xsubpp -typemap C:\xampp\perl\lib\ExtUtils\typemap -typemap typemap Leak.xs > Leak.xsc && C:\xampp\perl\bin\perl.exe -MExtUtils::Command -e "mv" -- Leak.xsc Leak.c cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPER L_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" "-IC:\xampp\per l\lib\CORE" Leak.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. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. GOZER/mod_perl-1.31.tar.gz nmake.exe -- NOT OK Warning (usually harmless): 'YAML' not installed, will not store persistent state Running make test Can't test without successful make Running make install Make had returned bad status, install seems impossible Failed during this command: GOZER/mod_perl-1.31.tar.gz : make NO cpan[2 " I am in Win XP and using cygwin trying to get an RT install done. Current on the Mason step.

Replies are listed 'Best First'.
Re: Install Xampp mod_perl addon to Xampp
by marto (Cardinal) on Oct 23, 2009 at 12:45 UTC
Re: Install Xampp mod_perl addon to Xampp
by cdarke (Prior) on Oct 23, 2009 at 12:52 UTC
    cl works OK for me on Windows XP - but that is probably because I have Microsoft Visual C/C++ installed. If you do then make sure you run vsvars32.bat in the environment, if not, then use a perl that does not require it.

    I'm a little confused. Cygwin has perl already bundled, does it not? Should you not be trying to install under Cygwin - that should be using gcc rather than the Microsoft compiler. Try this:
    perl -MConfig -e 'print "$Config{cc}\n"'
    On my version of Cygwin it gives gcc.

    By the way, please use <code> ... </code> tags, and <br> when posting.
      Ummm - Cygwin. Yes it has perl in it but I took it all out and plumped for Xampp. I guess I am just trying to take the easy way out in getting RT up in XP. In Cywin I get all the way to installing RT via `configure`, but fails on a couple of Cpan module versions being > config list. My frigging with that got no where. So Xampp is just another way to gat at RT.