Re: [GENERAL] PG 10 and perl

Поиск
Список
Период
Сортировка
От
Тема Re: [GENERAL] PG 10 and perl
Дата
Msg-id 20170929072825.F1BD6484@m0117566.ppops.net
обсуждение исходный текст
Ответ на [GENERAL] PG 10 and perl  (Andy Colson <andy@squeakycode.net>)
Ответы Re: [GENERAL] PG 10 and perl  (Andy Colson <andy@squeakycode.net>)
Список pgsql-general
>Andy Colson wrote:
>In PG 9.5 this worked fine, and compiling and running PG used the 5.26 version of perl:
>root@firefly:/usr/local/pg95/lib/postgresql# ldd plperl.so
>    libperl.so => /opt/perl5/perls/perl-5.26/lib/5.26.1/x86_64-linux-thread-multi/CORE/libperl.so
(0x00007f81e8bde000)
>
>I started playing with 10, and cannot get it to use the right version of perl.  I'll only use the system version:
>root@firefly:/usr/local/pg10/lib/postgresql# ldd plperl.so
>    libperl.so => /usr/lib64/perl5/CORE/libperl.so (0x00007fc9c67d4000)
>
>But, here's the thing.  The config.log reports 5.26 version:
>
>configure:7752: checking for perl
>configure:7770: found /opt/perl5/perls/perl-5.26/bin/perl
>configure:7782: result: /opt/perl5/perls/perl-5.26/bin/perl
>configure:7804: using perl 5.26.1
>...


I'm about to go down this path to prepare for 10.0, but I haven't had time yet.

You don't show your configure command, but did you set PERL there as well as have it in your PATH? Here's what I've
donein the past:
 
   ./configure --prefix=/opt/pg-9.5 --with-system-tzdata --with-perl PERL=/opt/perl/bin/perl

and it used our custom Perl just fine. If you did that, I'm not sure what else to say at the moment. I hope to get
aroundto checking out RC1 early next week though and I'll be using 5.26 as well.
 

Hmm, given your report, I'll try to move it up my ToDo list to give myself more time. I'll report back here if I get it
towork and haven't seen a reply by you about you getting it to work also.
 

Kevin


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jehan-Guillaume (ioguix) de Rorthais"
Дата:
Сообщение: Re: [GENERAL] Speed of conversion from int to bigint
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] PG 10 and perl