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

I'm trying to apply the TRIAL1 && TRIAL2 patches to perl5.6.0 so I can get AxKit to work on my system (linux). I've never used patch before so I'm not sure if I'm doing this correctly. This is what I've done so far;
1) cd to /usr/src/perl/perl-5.6.0 2) /bin/sh /usr/local/src/perl-5.6.1-TRIAL1.patch 3) patch -p1 -N < /usr/local/src/perl-5.6.1-TRIAL1.patch
Everything seemed to go smoothly, but when I typed 'perl -V' it still said it was 5.6.0 and that it was last compiled on Dec 2 2000. Did I miss a step here? Any help you could offer would be most appreciated.

Get Strong Together!!

Replies are listed 'Best First'.
(tye)Re: Patching Perl
by tye (Sage) on Mar 11, 2001 at 02:22 UTC

    Yes! You patched the source code. Now you have to recompile! For example, here is my favorite method:

    > mv -f config.sh config.sh.old > ./Configure -dsE ; You can edit config.sh here > ./Configure -S > make > make test ; Become "root", if you aren't already. # make install ; Answer "yes" that you want /usr/bin/perl set up.
            - tye (but my friends call me "Tye")
      d'oh! I knew I forgot something. Thanks tye and everyone who helped me out in the CB, you made my Saturday a better place to be 8-)

      I tried tye's config flags and everything went smoothly. Here are what the those Configure flags mean:

      -d : use defaults for all answers
      -s : silent mode, only echoes questions and essential information
      -E : stop at the end of questions, after having produced config.sh
      -S : perform variable substitutions on all .SH files

      Get Strong Together!!