Satish@Stag has asked for the wisdom of the Perl Monks concerning the following question:

Hi I'm using perl 5.8.3 for MsWin32 and I have problems installing Filesys::DfPortable module. Here is the error that I get:
cl -c -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_S HAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CON +TE L_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 ION=\"0.85\" -DXS_VERSION=\"0.85\" "-IC:\Perl\lib\CORE" DfPortable.c not recognized as an internal or external command, e program or batch file. fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Any help would be greatly appreciated. Thanks

Replies are listed 'Best First'.
Re: Filesys::DfPortable installation problem
by Corion (Patriarch) on Sep 07, 2007 at 07:28 UTC

    You did not paste the complete console output. There are some of the first columns missing. But the lines

    not recognized as an internal or external command, e program or batch file.

    can be completed like:

    cl.exe is not recognized as an internal or external command, operable program or batch file.

    ... which means that you don't have Visual C installed or did not run the cmd files that set up your compilation environment. So, do that, or use PPM if there is a PPM for that module.

Re: Filesys::DfPortable installation problem
by marto (Cardinal) on Sep 07, 2007 at 08:53 UTC
    In addition to Corion's great advice running the following from the command line should install it for you:

    ppm install http://trouchelle.com/ppm/Filesys-DfPortable.ppd.

    Also take a look at PPM Repositories, which may prove useful to you.

    Hope this helps

    Martin