in reply to Re^3: Installing mod_perl 2.0
in thread Installing mod_perl 2.0

Hi,
I have successfully installed MSVC in my system. I guess i can able to see all the lib files in my machine.But still i got the error message "Note (probably harmless): No library found for msvcrt.lib" like this. Also, I have downloaded 'nmake' utility.But it's too failed.
C:\HardDisk\source\mod_perl-2.0.2>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cd "src/modules/perl" && NMAKE Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cl -IC:/HardDisk/source/mod_perl-2.0.2/src/modules/perl -IC:/H +ardDisk/s urce/mod_perl-2.0.2/xs -IC:\PROGRA~1\Apache\Apache2/include -nologo -G +f -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DBU +ILT_BY_AC IVESTATE -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -D +PERL_IMPL CIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -I"C:\Perl\lib\CORE" -DMOD_ +PERL -DMP COMPAT_1X -MD -Zi -DNDEBUG -O1 -c mod_perl.c && C:\Perl\bin\perl.exe + -MExtUti s::Command -e mv mod_perl.obj mod_perl.lo '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.

Can you help me to install successfully ?

Replies are listed 'Best First'.
Re^5: Installing mod_perl 2.0
by Corion (Patriarch) on Jan 18, 2006 at 08:33 UTC

    The file msvcrt.lib is a core component of MSVC. Whenever it cannot be found, that means that you did not run the vcvars32.cmd (or vcvars32.bat) command. If you open a new command prompt, likely it is enough to type "%VCToolsInstallDir%\vcvars32" (including the quotes) to start it. If that is not sufficient, you need to locate the file vcvars32 by searching for it, either using the Windows Explorer or by using Perl:

    perl -MFile::Find -le "File::Find::find(sub{print $File::Find::name if + /vcvars32/i},@ARGV)" C:/

    If you have installed MSVC into any other drive than C:, you need to put it on the command line instead of C:.