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

i hav ebeen working on this damn problem all day and have gotten no where... when i run the makefile.pl, which is there. The output of the script is "Bad Command or file name" about 4 times. What program am I missing? I am running ActiveState Perl... ahh... help please...
  • Comment on installing a module under Win32 - spells trouble?

Replies are listed 'Best First'.
(jcwren) RE: installing a module under Win32 - spells trouble?
by jcwren (Prior) on Nov 06, 2000 at 00:04 UTC
    Dude, this is a seriously lame question.

    1. What module?
    2. What distribution of ActiveState?
    3. Have you looked at the makefile to see what commands it might be trying to run?
    4. Is Perl in your path?
    5. What O/S are you running (95/98/NT/2K)?
    6. What make utility are you using?
    You need to give us a lot more information before you can expect any sort of a reasonable answer.

    --Chris

    e-mail jcwren
      sorry just really frustrated... I've been working on this thing all day. This just proves things can't be done under Windows... Finally I just started to do it by hand...
      To answer your questions:
      1. Modem::Vgetty
      2. perl 5.00503
      3. Yes I have looked at the command, and I can't figure out what the bloody hell is going on.
      4. Yes.
      5. Windows 98
      6. dmake... which won't work until the makefile.pl works...
        Hmm.. maybe I'm wrong but.. the Makefile.pl that ships with modem::vgetty contains a call to gzip (which does not exist on windows) as well as trying to use "mv" (which again does not exist on Windows). Maybe this'd be why?
        I'm just a bit confused why you are trying to use Modem::Vgetty under Windows, since vgetty only runs under various forms of UNIX...

        --isotope
        http://www.skylab.org/~isotope/
Re: installing a module under Win32 - spells trouble?
by Macphisto (Hermit) on Nov 06, 2000 at 00:12 UTC
    I agree with jcwren's post. But...
    1. Transfer everything over to your working PERL directory
    2. Go out and download the make utility. Do a google search for it.
    3. Read the INSTALL/README documentation for the module and make sure you have all the needed requirements.

    That should get you a little bit further and you'll be able to figure it out on your own. It's really a simple answer, and once you get a step further or so, you'll be moving right along. Think of it as a learning experience.
    Just a note: It's not really worth going into bashing a Operating System, and I'm an die-hard Linux user, but I think it's a pretty shallow comment to say that things can't get done under Windows because you can't get something to work.

    Macphist0

    Everyone has their demons....
Problems with different Win32 module
by Anonymous Monk on Nov 07, 2000 at 23:40 UTC
    A am also having trouble with Win32 using a different module. I have been working on this for days and I am new to Perl.
    To answer your questions: 1. Win32::RASE 2. perl 5.6.0 3. Yes I have looked at the command, and I can't figure out what is go +ing on. 4. Yes. 5. Windows 98 6. nmake... which won't work until the makefile.pl works...

    After typing perl makefile.pl I get this error message:

    C:\Downloads\RasDial\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:\Perl\bin\Perl.exe miniperl + perl perl 5 perl5.6.0, in these dirs: C:\WINDOWS C:\WINDOWS\COMMAND C:\PERL\BIN\ + C:\JDK C: \JDK\BIN C:\PROGRA~1\INTERN~1 C:\WINDOWS\SYSTEM\WBEM C:\VXIPNP\WIN95\B +IN C:\Perl \bin) Writing Makefile for Win32::RASE

    One of the errors was that is was unable to find Perl. This is the path line from my Autoexec.bat file.

    SET PATH=C:\PERL\BIN\;C:\JDK;C:\JDK\BIN;C:\PROGRA~1\INTERN~1;C:\WINDOW +S\SYSTEM\WBEM;C:\VXIPNP\WIN95\BIN

    I think the error: Warning: prerequisite enum 1.014 not found was that it was looking for module Win32::API. I got the module from the activestate website and got this message when trying to load it.

    C:\Downloads\Win32Api>ppm install win32-api.ppd Error installing package 'win32-api.ppd': Could not locate a PPM binar +y of 'win3 2-api.ppd' for this platform
RE: installing a module under Win32 - spells trouble?
by BigJoe (Curate) on Nov 06, 2000 at 23:03 UTC
    Try using c:\perl\bin\perl.exe makefile.pl and see if this runs if it does then you need to put perl.exe into your path and/or associate it in your registry. And doing that can be found in activestates documentation.

    I believe your script isn't outputing this I think command.com is.

    --BigJoe

    Learn patience, you must.
    Young PerlMonk, craves Not these things.
    Use the source Luke.