Re: Suggestion: Which Binary? - Mailing list pgsql-hackers

From David Fetter
Subject Re: Suggestion: Which Binary?
Date
Msg-id 20060401013109.GA18277@fetter.org
Whole thread Raw
In response to Re: Suggestion: Which Binary?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
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!


pgsql-hackers by date:

Previous
From: Agent M
Date:
Subject: listen not schema-aware
Next
From: "Mike Rylander"
Date:
Subject: Re: First Aggregate Funtion?