in reply to Perl Dialup In Windows

I got the module Win32::RASE and and am having trouble loading it? After typing the command perl makefile.plon Windows 98 I get the following error message. The path in my autoexec.bat file is set correctly and Perl 5 exists on my computer. There were a couple of perl experts(?) in my office trying to help me figure this out. It would be nice to find this module in ActiveState .ppm format.
C:\Downloads\RasDial\Win32-RASE-1.01>perl makefile.pl Warning: prerequisite enum 1.014 not found at C:/Perl/lib/ExtUtils/Mak +eMaker.pm line 340. Bad command or file name Bad command or file name Unable to find a perl 5 (by these names: C:\WINDOWS\Perl.exe miniperl +perl perl5 perl5.6.0, in these dirs: C:\ C:\WINDOWS C:\WINDOWS\COMMAND C:\PERL\B +IN C:\PERL \BIN\LIB C:\PERL\BIN\LIB\EXTUTILS C:\JDK C:\JDK\BIN C:\PROGRA~1\INTERN +~1 C:\WIND OWS\SYSTEM\WBEM C:\VXIPNP\WIN95\BIN C:\Perl\bin) Writing Makefile for Win32::RASE

Replies are listed 'Best First'.
RE: Re: Perl Dialup In Windows
by the_slycer (Chaplain) on Nov 08, 2000 at 10:22 UTC
    If you can't find a ppm of the above, you could also try win32::serialport. I know there is a ppm of that available on activestates site, and from reading the write-up in the spring 1999 tpj issue, it appears as though example demo5.plx bundled with this module provides a good starting point for dialing up an ISP..
(tye)Re: Perl Dialup In Windows
by tye (Sage) on Nov 08, 2000 at 05:46 UTC

    I think you'll get this trying to install any CPAN modules under Win9x. I'd love for someone to tell me that I'm wrong.

    Look for a PPM version of this module. Sorry I don't have time to provide a more useful answer at this time.

            - tye (but my friends call me "Tye")
      I am not sure about this. I have managed to install quite a few modules from CPAN on Win98. I have only had one or two problems with CPAN modules.

      However, that reference to miniperl is interesting - I remember something about miniperl in this month's TPJ. I think that miniperl is something to do with building Perl, but I can't rememeber - the article was quite technical and I have never built Perl before!
RE: Re: Perl Dialup In Windows
by clemburg (Curate) on Nov 08, 2000 at 20:29 UTC

    Could you please tell us the output of perl -V on your platform? It is very hard to tell what is going on given your information (e.g., where is your perl really?).

    You could try looking up the necessary keys in the registry, and try to change that. Also, in the ExtUtils::MakeMaker documentation they mention some variables that can be used to customize which libraries and executables are used to build a module.

    I suspect that inside the Makefile.PL there is code that calls an external command via the shell (and this won't necessarily have the right environment variables set, since it might not execute your autoexec.bat). I don't know much about Win98, since I am nearly always working on WinNT - are there ways to set environment variables for the whole system, and not just for the current user - ways that don't rely on execution of an autoexec.bat file? Then I'd suggest to try that.

    Christian Lemburg
    Brainbench MVP for Perl
    http://www.brainbench.com