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

yes,
here is my output of initial run
Writing Makefile for ModPerl::Const Writing Makefile for ModPerl Writing Makefile for ModPerl::XS Writing Makefile for mod_perl2 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 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 [warning] mod_perl dso library will be built as mod_perl.so [warning] You'll need to add the following to httpd.conf: [warning] [warning] LoadModule perl_module modules/mod_perl.so [warning] [warning] depending on your build, mod_perl might not live in [warning] the modules/ directory.

I'll go through morto suggestion and i'll try once again.
Thanx for your suggestion too.
-kulls

Replies are listed 'Best First'.
Re^3: Installing mod_perl 2.0
by Corion (Patriarch) on Jan 16, 2006 at 10:30 UTC

    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.

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