Re: Postgres Windows build system doesn't work with python installed in Program Files
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: Victor Wagner <vitus@wagner.pp.ru>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-05-04T05:58:28Z
Lists: pgsql-hackers
On Sun, May 03, 2020 at 04:23:24PM -0300, Ranier Vilela wrote: > 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. Are you following the instructions of the documentation? Here is a link to them: https://www.postgresql.org/docs/devel/install-windows-full.html My guess is that you would be just missing a PATH configuration or such because python enforced a new setting? > 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. Hmm. We have buildfarm machines using the MSVC scripts and Python, see for example woodloose. And note that @ARGV would be normally defined, so your warning looks fishy to me. -- Michael
Commits
-
Improve perl script in MSVC to build binaries
- 404b912c5cab 14.0 landed
-
Handle spaces for Python install location in MSVC scripts
- ad53d6efef0c 9.5.22 landed
- e07fdc126ef3 9.6.18 landed
- 307ed98b0139 10.13 landed
- 984aca448d5d 11.8 landed
- 8c0939dadab0 12.3 landed
- beb2516e9614 13.0 landed
-
Use perl's $/ more idiomatically
- 8f00d84afc0d 13.0 cited