Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: How to patch this module?

by ultranerds (Hermit)
on Mar 28, 2017 at 09:39 UTC ( [id://1186226]=note: print w/replies, xml ) Need Help??


in reply to Re: How to patch this module?
in thread How to patch this module?

Ah you star - that did it. I missed the -p1 part from the query. I still get this though:
patch -p1 < 0001-Fix-a-pad-problem-with-Perl-5.21.4-on-threaded-build. +patch can't find file to patch at input line 19 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From ba92f4cba247c91d100e05f2b83dd093055e462b Mon Sep 17 00:00:00 200 +1 |From: Niko Tyni <ntyni@debian.org> |Date: Fri, 25 Dec 2015 18:53:08 +0200 |Subject: [PATCH] Fix a pad problem with Perl >= 5.21.4 on threaded bu +ilds | |This broke at least the Kavorka and Moops distributions. | |Bug-Debian: https://bugs.debian.org/808826 |--- | lib/Devel/CallParser.xs | 10 +++++++--- | t/pad2.t | 15 +++++++++++++++ | 2 files changed, 22 insertions(+), 3 deletions(-) | create mode 100644 t/pad2.t | |diff --git a/lib/Devel/CallParser.xs b/lib/Devel/CallParser.xs |index 6643739..847742c 100644 |--- a/lib/Devel/CallParser.xs |+++ b/lib/Devel/CallParser.xs -------------------------- File to patch:

UPDATE: Never mind, me being dumb! I was in the wrong directory, so it couldn't find the files ;)

Replies are listed 'Best First'.
Re^3: How to patch this module?
by marto (Cardinal) on Mar 28, 2017 at 09:40 UTC

    Can you show me the path you're doing this from, and an ls within the current working directory?

      YAY! I was finally able to install the module I needed:

      root@mail:~# cpanm Kavorka --> Working on Kavorka Fetching http://www.cpan.org/authors/id/T/TO/TOBYINK/Kavorka-0.037.tar +.gz ... OK Configuring Kavorka-0.037 ... OK Building and testing Kavorka-0.037 ... OK Successfully installed Kavorka-0.037 1 distribution installed
      ...and....
      root@mail:~# cpanm Net::Stripe --> Working on Net::Stripe Fetching http://www.cpan.org/authors/id/R/RC/RCONOVER/Net-Stripe-0.30. +tar.gz ... OK Configuring Net-Stripe-0.30 ... OK Building and testing Net-Stripe-0.30 ... OK Successfully installed Net-Stripe-0.30 1 distribution installed


      That was so painful! Thanks to everyone for walking me through how to sort it. I was loosing hair over that. Also good to learn how to apply patches, as I've never had to do that before

      Thanks again!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1186226]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (9)
As of 2024-03-28 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found