Re: Postgres Windows build system doesn't work with python installedin Program Files - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Postgres Windows build system doesn't work with python installedin Program Files
Date
Msg-id CAEudQAo38dfR_0Ugt2OHy4mq-6Hz93XPSBAGEUV67RhKdgp8Zg@mail.gmail.com
Whole thread Raw
In response to Postgres Windows build system doesn't work with python installed inProgram Files  (Victor Wagner <vitus@wagner.pp.ru>)
Responses Re: Postgres Windows build system doesn't work with python installedin Program Files  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Em qui., 30 de abr. de 2020 às 09:06, Victor Wagner <vitus@wagner.pp.ru> escreveu:

Collegues,

Accidently I've come over minor bug in the Mkvcbuild.pm.
It happens, that it doesn't tolerate spaces in the $config->{python}
path, because it want to call python in order to find out version,
prefix and so on, and doesn't properly quote command.

Fix is very simple, see attach.

Patch is made against REL_12_STABLE, but probably applicable to other
versions as well.

I don't know if it applies to the same case, but from the moment I installed python on the development machine, the Postgres build stopped working correctly.
Although perl, flex and bison are available in the path, the build does not generate files that depend on flex and bison.

Running bison on src/backend/bootstrap/bootparse.y
  'perl' nao é reconhecido como um comando interno
  ou externo, um programa operável ou um arquivo em lotes.
  Running flex on src/backend/bootstrap/bootscanner.l
  'perl' nao é reconhecido como um comando interno
  ou externo, um programa operável ou um arquivo em lotes.
  Running bison on src/backend/parser/gram.y
  'perl' nao é reconhecido como um comando interno
  ou externo, um programa operável ou um arquivo em lotes.
etc

Warning from build.pl
Use of uninitialized value $ARGV[0] in uc at build.pl line 44.
Use of uninitialized value $ARGV[0] in uc at build.pl line 48.

regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: design for parallel backup
Next
From: Ranier Vilela
Date:
Subject: [REPORT] Static analys warnings