Re: Perl 5.26 and windows build system

Поиск
Список
Период
Сортировка
От Victor Wagner
Тема Re: Perl 5.26 and windows build system
Дата
Msg-id 20181017173726.12083023@fafnir.local.vm
обсуждение исходный текст
Ответ на Re: Perl 5.26 and windows build system  (Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>)
Список pgsql-hackers
On Wed, 17 Oct 2018 18:45:42 +0530
Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> wrote:


> > Simple adding
> >
> > use lib ".";
> >
> > to the beginning of these script solves problem.
> >

> >
> > We observed the same issue with Strawberry Perl 5.26. We use 5.24
> > to  
> execute the build.pl.

Of course. This is (mis)feature of upstream Perl 5.26 and above and it
is not limited to Windows. I've fought with it on various modern linux
distributions (Ubuntu, Debian, Fedora), where I want to run pgbuildfarm
scripts.

I know two ways to work around this:
1. Add use lib "." to the beginning of the script (as I've mentioned in
my first letter)
2. execute command
Set PERL5LIB=%WHERE_IS_YOUR_POSTGRES_UNPACKED%\src\tools\msvc
before running perl scripts.

And I think that first should be commited into postgres.

You tell you use Strawberry Perl 5.24 to build postgres?
1. Do you run tap tests with it?
2. Do you compile and use PL/Perl with it?
3. Do you use only 64-bit builds or both 64 and 32?


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PG vs macOS Mojave
Следующее
От: Hubert Zhang
Дата:
Сообщение: Re: Is there any way to request unique lwlock inside a backgroundworker in PG9.4?