Re: --with-perl=/path/to/prefered/perl?
От | Bruce Momjian |
---|---|
Тема | Re: --with-perl=/path/to/prefered/perl? |
Дата | |
Msg-id | 200010252012.QAA16838@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: --with-perl=/path/to/prefered/perl? (Peter Eisentraut <peter_e@gmx.net>) |
Список | 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@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: