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

O wise Monks

I need to get Net::SFTP working on a NT system using cygwin's Perl.
One of the required modules for this is Crypt::IDEA but when I
attempt to install this module (I have to use the perl Makefile.PL &&
make && make test way of installing
since the machine I am installing on does not have internet access)

I get gcc compiler error endian.h: No such file ...

Well to make a long story short I went to look for a patch here
The good news is that there appears to be a "patch".
The bad news is how do I install this "patch".
The "patch" I am speaking of appears to
be a output of diffs ???

Do I have to hand edit the files that are diffed or is there an easier way?

Also I would like to sneak in a second question:

I eventaully have to have my Net::SFTP script working
on Solaris 2.8 and the CPAN test results don't look good.
Should I just settle for a shell script to accomplish this task?

Thank you O Wise and Helpful Monks!

Replies are listed 'Best First'.
Re: Crypt::IDEA & Cygwin woes
by xmath (Hermit) on Feb 28, 2003 at 19:35 UTC
    patch

    :-)

    There's a unix command named "patch" that's the opposite of "diff"; see its manpage

      I guess that when I install cygwin I did not install the
      package that contains patch ... so I don't have patch.
      Do you know what package I need to install? :)
      Or where I can find patch?
        It seems to be a separate package called simply called patch

        (This note originally erroneously said it was in diffutils.. apologies for rewriting history, next time I'll use an "Update:" addendum)