Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Patching Perl

by aardvark (Pilgrim)
on Mar 11, 2001 at 01:18 UTC ( #63524=perlquestion: print w/replies, xml ) Need Help??
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 > ./Configure -dsE ; You can edit 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
      -S : perform variable substitutions on all .SH files

      Get Strong Together!!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://63524]
Approved by root
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2018-05-26 21:57 GMT
Find Nodes?
    Voting Booth?