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

martos guess is quite right. You do seem to have neither nmake.exe nor the MSVC6 package installed, or it is not set up correctly. The lines about the missing libraries mean that Perl could not find those files, and chances are that they are not installed. You are better off downloading a precompiled mod_perl instead of trying to compile it if all you want is mod_perl. If you want to be able to compile and install other Perl extensions with a part written in C, it might be worthwhile to pursue the installation of MSVC.

Replies are listed 'Best First'.
Re^4: Installing mod_perl 2.0
by kulls (Hermit) on Jan 18, 2006 at 08:20 UTC
    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 ?

      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:.