From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Larry Rosenman <ler(at)lerctr(dot)org>, pgsql-hackers(at)hub(dot)org |
Subject: | Re: --with-perl=/path/to/prefered/perl? |
Date: | 2000-10-25 20:12:44 |
Message-ID: | 200010252012.QAA16838@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > On BSD/OS, there is perl (perl4) and perl5 (perl5). You have to set the
> > name of the perl executable.
>
> The standard interface to any Autoconf configure script to override the
> name of a program has always been and will always be setting environment
> variables like this:
>
> PERL=perl3 CC=cc YACC='bison -y' TCLSH=/usr/local/bin/tclsh AWK=mawk ./configure --options ...
>
> (Okay, I lied, in Autoconf 2.50-to-be you can also put the variable
> assignments after the "./configure", but that doesn't change the overall
> principle.)
>
> The idea here is that you might set some of these environment variables
> permanently on your system and then every configure script you run will
> use the same defaults.
The trick here is that the software not call perl directly, but use the
PREL environment variable if defined. I wish all software followed that
practice like we do.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Patrick Welche | 2000-10-25 20:22:23 | Re: failed runcheck |
Previous Message | Peter Eisentraut | 2000-10-25 18:59:08 | Re: --with-perl=/path/to/prefered/perl? |