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

Hi.

I am trying to use the module Net::SCP::Expect in a perl script on a windows XP box. The script runs just fine on a GNU/Linux box and I am not a windows person normally.

I have installed strawberry perl and am trying to use cpan(m) to install the Net::SCP module. The problem is that the dependencies do not build because "the POSIX macro VEOF has not been defined by your vendor".

Can anybody help me get this module running in windows XP?

Thanks.

Replies are listed 'Best First'.
Re: Net::SCP::Expect Windows XP
by salva (Canon) on Mar 29, 2014 at 00:04 UTC

      Hello all,

      Many thanks for the replies. I tried Net::SSH but it also failed with a message that I should "Install a proper OS"! :)

      I guess I will have to write my own uploader. Shame because the GNU/Linux version in perl is working perfectly.

        I think you mean Net::OpenSSH which does not support Windows. Net::SSH is a different unrelated module which, BTW, works on Windows but doesn't support password authentication.
Re: Net::SCP::Expect Windows XP
by PerlSufi (Friar) on Mar 28, 2014 at 15:17 UTC
    I haven't used Strawberry Perl on windows yet, but I have used Active State Perl on windows. Once installed, you can try the command:
    ppm install Net::SCP
Re: Net::SCP::Expect Windows XP
by Anonymous Monk on Mar 28, 2014 at 21:46 UTC

    The problem is that the dependencies do not build because "the POSIX macro VEOF has not been defined by your vendor".

    Which one?

    See also rt://Net-SCP