in reply to Re^2: how to install perlmodules in windowsXP
in thread how to install perlmodules in windowsXP

You just need to add the mingw\bin folder to the path environment variable.

Does 'C:\Perl\lib\Config.pm' exist ? If it's not there, then you're perl is incomplete. You won't be able to build anything if Config.pm can't be found. ActiveState builds of perl always come with Config.pm ... so you should have it - if you are, in fact, running ActiveState perl.

Cheers,
Rob
  • Comment on Re^3: how to install perlmodules in windowsXP

Replies are listed 'Best First'.
Re^4: how to install perlmodules in windowsXP
by veeruch (Sexton) on Mar 06, 2007 at 05:39 UTC
    hi Rob,
    I have added the path mingw\bin.
    C:\Perl\lib\Config.pm is also there.
    but the same error showing
    dmake: Error: -- `C:\Perl\libConfig.pm' not found, and can't be made

    insted of C:\Perl\lib\Config.pm
      My apologies - I did not read your post carefully enough and failed to notice the missing '\'. I've seen this problem before ... damn, I can't recall where it comes from, and I don't have time to investigate right now .... is it a bug in Extutils::MakeMaker ? or a bug in the ActivePerl configuration ? I think ExtUtils::MakeMaker might be the culprit. What is revealed when you run:
      perl -MExtUtils::MakeMaker -e "print $ExtUtils::MakeMaker::VERSION"
      What's the build number of your Active Perl ? ('perl -v' will tell you, if you're unsure.)

      In the Makefile that was generated when you ran 'perl Makefile.PL', check that you have something like:
      # --- MakeMaker constants section: AR_STATIC_ARGS = cr DIRFILESEP = \\ DFSEP = $(DIRFILESEP)
      What do you have for "DIRFILESEP" ? Iirc, that's where the problem lies. I'll try to dig up more tomorrow, when I have time. In the meantime, hopefully someone else can fill in the gaps :-)

      Cheers,
      Rob
        Hi Rob,
        if iam giving,
        perl -MExtUtils::MakeMaker -e "print $ExtUtils::MakeMaker::VERSION"
        out put is:
        Set up gcc environment - 3.4.2 (mingw-special) 6.30
        perl -v
        This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 25 registered patches, see perl -V for more detail)
        Copyright 1987-2006, Larry Wall
        Binary build 817 257965 provided by ActiveState http://www.ActiveState.com Built Mar 20 2006 17:54:25
        Makefile Information

        AR_STATIC_ARGS = cr
        DIRFILESEP = ^\
        DFSEP = $(DIRFILESEP)
        NAME = Net::Telnet
        NAME_SYM = Net_Telnet
        VERSION = 3.03
        VERSION_MACRO = VERSION
        VERSION_SYM = 3_03
        DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
        XS_VERSION = 3.03
        XS_VERSION_MACRO = XS_VERSION
        XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
        INST_ARCHLIB = blib\arch