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

Hello,

I am using Apache2triad package in Windows.

I want to install File::Grep.pm.

How to do ?

Replies are listed 'Best First'.
Re: Perl Module Installation in Windows XP
by Corion (Patriarch) on Feb 25, 2008 at 08:11 UTC

    Maybe you want to tell us what you have tried already and where you encounter problems? In the CB you told us far more than in this node.

      In CPAN when I fired "make" command the following error came :
      cpan> make File::Grep Running make for module File::Grep Running make for M/MN/MNEYLON/File-Grep-0.02.tar.gz Is already unwrapped into directory C:\.cpan\build\File-Grep-0.02 CPAN.pm: Going to build M/MN/MNEYLON/File-Grep-0.02.tar.gz Checking if your kit is complete... Looks good Writing Makefile for File::Grep The system cannot find the path specified. C:\VStudio\VC98\bin\nmake.EXE -- NOT OK
      After that I installed nmake.exe as mentioned here:

      http://johnbokma.com/perl/make-for-windows.html

      I got the following things :-
      C:\apache2triad\perl\bin\File-Grep-0.02>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for File::Grep C:\apache2triad\perl\bin\File-Grep-0.02>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. NMAKE : fatal error U1073: don't know how to make 'C:\apache2triad\Per +l\libConfi g.pm' Stop.

        At least your directory for running nmake.exe is different. In the anonymous post above, you have C:\.cpan\build\File-Grep-0.02 as the directory where File::Grep got unpacked into, but here you run the stuff in C:\apache2triad\perl\bin\File-Grep-0.02. I'm not sure what Makefile.PL or nmake are trying to do here. You should better try what you did within the cpan shell again.