Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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!!

Comment on Patching Perl
Download Code
(tye)Re: Patching Perl
by tye (Cardinal) 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!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://63524]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2014-12-29 01:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls