On Fri, Mar 31, 2006 at 06:52:51PM -0500, Tom Lane wrote:
> David Wheeler <david@kineticode.com> writes:
> > But that's a PITA. I'd much rather have been able to tell configure
> > *which* perl to use:
>
> > ./configure --with-perl=/usr/bin/perl5.8.6
>
> The more usual way to handle this sort of thing is to put each
> version of perl in a different directory, and then you can alter
> PATH while running configure to pick which one you want. I've got
> several versions of perl on this machine that I select that way ...
> it doesn't require any special smarts on the part of the perl-using
> program, and it scales to handle multiple versions of other things
> like Tcl, too.
You mean something more like this?
PATH=/path/to/perl:/usr/bin:/bin ./configure ...
Sounds good, except when the perl people have in mind is on the same
path as other perls. How would changing $PATH help with a situation
like that?
Cheers,
D
--
David Fetter <david@fetter.org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter
Remember to vote!