Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Perlbrew installing perl failed

by Anonymous Monk
on May 13, 2015 at 07:02 UTC ( [id://1126506]=note: print w/replies, xml ) Need Help??


in reply to Perlbrew installing perl failed

step 1, forget about perlbrew

step 1, sh Configure -Dprefix=/home/username/perl -des

Replies are listed 'Best First'.
Re^2: Perlbrew installing perl failed
by syphilis (Archbishop) on May 14, 2015 at 00:47 UTC
    Excellent advice, IMHO.

    Cheers,
    Rob
Re^2: Perlbrew installing perl failed
by dprovost1990 (Initiate) on May 17, 2015 at 04:29 UTC
    I'm reading a book called Beginning Perl and it suggests using perlbrew because you can switch between different versions if needed and even test your code on different versions of perl.
      To change from one version of perl to another, you generally just need to modify $PATH.
      You can use perlbrew if you wish ... or you could alter $PATH from the command line ... or you could run a script that effects the required change.
      I choose the last of those options and have not yet investigated the perlbrew approach. (Given that I'm satisfied with my chosen approach, it's unlikely that I will ever play with perlbrew.)

      In addition to AM's comments, it occurs to me that your problem might be unrelated to perlbrew.
      The problem you've struck seems to be a fairly rare one. Googling for "recipe for target 'test harness' failed" throws up only this thread.
      As AM noted, we really need a bit more information about the error.
      Could you give us some context by providing a few of the lines that precede the one you quoted in your original post ?
      Also, which version of perl are you trying to install, and what operating system are you using ?
      Do you know what "configure" command perlbrew ran ?


      Cheers,
      Rob
        To change from one version of perl to another, you generally just need to modify $PATH.
        And if you forget to reset $PATH to its original value, it is likely you have just messed up the link to your system Perl which can cause all kind of weird problems down the road.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        My blog: Imperial Deltronics

      I'm reading a book called Beginning Perl and it suggests using perlbrew because you can switch between different versions if needed and even test your code on different versions of perl.

      You don't need perlbrew to install two different versions of perl and to switch between them -- perlbrew is just a middleman, and if it isn't helping you, cut it out :)

      Also, if you want actual help , you need provide more information

      A single random message about some unknown makefile is not enough details... installing perl involves at least 100 makefiles

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-19 08:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found