openssl 1.1.0c - cannot run Configure on Windows with a UNC pathname for perl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

openssl 1.1.0c - cannot run Configure on Windows with a UNC pathname for perl

Bill Smith
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("\" \"",@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





--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users