Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Suggestion: Which Binary?



On Fri, Mar 31, 2006 at 06:52:51PM -0500, Tom Lane wrote:
> David Wheeler <david(at)kineticode(dot)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(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778        AIM: dfetter666
                              Skype: davidfetter

Remember to vote!



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group