Excellent advice, IMHO.
Cheers, Rob | [reply] |
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. | [reply] |
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
| [reply] |
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
| [reply] [d/l] |
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
| [reply] |