[openssl-users] openssl 1.1.0c - cannot run Configure on Windows with a UNC pathname for perl
Bill Smith
bsmith at progress.com
Fri Dec 30 22:42:13 UTC 2016
Hi,
While trying to build openssl 1.1.0c on Windows, the configure step failed for me if I used a perl that is on a network share. Example:
\\rdlserv\tools\nt\asperl-5.24.0\bin\perl ./Configure VC-WIN64A enable-weak-ssl-ciphers enable-rc4 enable-deprecated no-shared --prefix=z:\openssl\work\nt64\install -openssldir=z:\openssl\work\nt64\install
It fails at the system call:
my $cmd = "$perlcmd \"-I.\" \"-Mconfigdata\" \"$dofile\" -o\"Configure\" \"".join("\" \"", at templates)."\" > \"$out.new\"";
#print STDERR "DEBUG[run_dofile]: \$cmd = $cmd\n";
system($cmd);
inside the function "run_dofile"
I looked at the $cmd string and it looks fine to me. It fails with an error "The specified path is invalid."
The only way I could get a UNC pathname to work was to map the share to a drive letter.
Example:
net use p: \\rdlserv\tools\nt
p:\asperl-5.24.0\bin\perl ./Configure VC-WIN64A enable-weak-ssl-ciphers enable-rc4 enable-deprecated no-shared --prefix=z:\openssl\work\nt64\install -openssldir=z:\openssl\work\nt64\install
More information about the openssl-users
mailing list