in reply to Installing mod_perl 2.0

Usually, it helps us if you show not only the commands you typed, but also the responses you got from typing the commands.

My guess is that you do not have a suitable C compiler installed for mod_perl, or forgot to start vcvars32.cmd to set up the path and include files.

".so files" is unix slang for dynamically loadable libraries. Under Windows, these are called DLLs and have the .dll file extension. If you don't find any of these in your mod_perl build directory, you are likely out of luck and have to install a version of the C compiler that was used to compile your Perl. This likely is Microsoft Visual C++ 6, if you're using an ActiveState build of Perl.

Replies are listed 'Best First'.
Re^2: Installing mod_perl 2.0
by kulls (Hermit) on Jan 16, 2006 at 10:26 UTC
    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

      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 ?