sorry I meant file src/tools/msvc/Solution.pm
routine sub GetOpenSSLVersion has the follwing line: qq("$self->{options}->{openssl}\\bin\\openssl.exe" version 2>&1); in our distribution openssl.exe isn’t in the $self->{options}->{openssl}\bin\ location dm > On Jul 30, 2020, at 10:25 PM, Dmitry Markman <dmark...@mac.com> wrote: > > Hi Michael, thanks a lot > > I figured it out, UNC works indeed > > however I found at least 2 problems (at least in our 3p harness) > > 1. in our configuration openssl executable went to lib (I don’t know why), so > I had to change line in Configure script > and point to openssl.exe file. Sure I probably can change our makefile to > create bin directory and put openssl.exe there > but it’s not my file, maybe later > > 2. if PostgreSQL is situated on network drive that mapped to say disk z:, > then build script failed: > > Z:\3p\derived\win64\PostgreSQL\source\src\tools\msvc>build > Detected hardware platform: Win32 > Generating win32ver.rc for src/backend > Generating win32ver.rc for src/timezone > Generating win32ver.rc for src/backend/snowball > Generating win32ver.rc for src/pl/plpgsql/src > Generating win32ver.rc for src/backend/replication/libpqwalreceiver > Generating win32ver.rc for src/backend/replication/pgoutput > Generating win32ver.rc for src/interfaces/ecpg/pgtypeslib > > . . . . . . . . . . . . > > Building the projects in this solution one at a time. To enable parallel > build, please add the "/m" switch. > Build started 7/30/2020 5:52:12 PM. > Project "Z:\3p\derived\win64\PostgreSQL\source\pgsql.sln" on node 1 (default > targets). > Z:\3p\derived\win64\PostgreSQL\source\pgsql.sln.metaproj : error MSB4126: The > specified solution configuration "Release > |x64" is invalid. Please specify a valid solution configuration using the > Configuration and Platform properties (e.g. M > SBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or > leave those properties blank to use the defaul > t solution configuration. [Z:\3p\derived\win64\PostgreSQL\source\pgsql.sln] > Done Building Project "Z:\3p\derived\win64\PostgreSQL\source\pgsql.sln" > (default targets) -- FAILED. > > > Build FAILED. > > "Z:\3p\derived\win64\PostgreSQL\source\pgsql.sln" (default target) (1) -> > (ValidateSolutionConfiguration target) -> > Z:\3p\derived\win64\PostgreSQL\source\pgsql.sln.metaproj : error MSB4126: > The specified solution configuration "Relea > se|x64" is invalid. Please specify a valid solution configuration using the > Configuration and Platform properties (e.g. > MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or > leave those properties blank to use the defa > ult solution configuration. [Z:\3p\derived\win64\PostgreSQL\source\pgsql.sln] > > 0 Warning(s) > 1 Error(s) > > > Time Elapsed 00:00:00.37 > > Z:\3p\derived\win64\PostgreSQL\source\src\tools\msvc> > > > the same works just fine if it’s on c: drive > > all PostgreSQL distribution is in the Z:\3p\derived\win64\PostgreSQL\source > folder > > > > network UNC path is mapped to Z: > > thanks again for your help > > dm > > > >> On Jul 30, 2020, at 9:59 PM, Michael Paquier <mich...@paquier.xyz> wrote: >> >> On Thu, Jul 30, 2020 at 06:55:28AM -0400, Dmitry Markman wrote: >>> icu => <path_to_icu_install_area>, >>> >>> is it correct? >> >> Exactly. >> >>> if it’s correct does build support UNC paths? >> >> Yes, these work. One take to be aware of is that the quoting of the >> paths can be annoying. FWIW, I just use single quotes with normal >> slashes as that's a no-brainer, say: >> openssl => 'C:/OpenSSL-hoge/', >> >> If you are able to break the scripts with a given path, this would >> likely be a bug we should address. For example, we had lately >> complains about the build scripts breaking once you inserted spaces in >> the python or OpenSSL paths (see beb2516 and ad7595b). >> -- >> Michael >