Weird problem.  I assume that if you do 'dir ms' while standing in
D:\openssl-1.1.0, you will in fact see applink.c.  Correct?

My I suggest applying the attached patch to util/copy.pl and see if
you get a better explanation for the mystery?

Cheers,
Richard

In message 
<!&!LgAAAAAAAACnalsV0SyIQ5Y+/62bbDoOAQDDto4Q93URzrTNAKoAu7bmAAAAAAAOAABGAAAAAAAAAKdqWxXRLIhDlj7/rZtsOg4HAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AAJlbM5Cm/1tmilcaecuj4e8aaaaaeaoaaaaaaaaqaaaajuyunb5obucslrmp6q6wwweaa...@sina.com>
 on Wed, 21 Sep 2016 20:35:27 +0800, "Jing Liu" <jingm...@sina.com> said:

jingmliu> I’ve tried all my best to solve this problem but failed. Can you help
jingmliu> me?
jingmliu> 
jingmliu> - OS: Windows 10
jingmliu> 
jingmliu> - Perl: ActivePerl 5.12.2 build 1202
jingmliu> 
jingmliu> - Development environment: MS Visual Studio 2010 SP1
jingmliu> 
jingmliu> - OpenSSL version: OpenSSL 1.1.0
jingmliu> 
jingmliu> I tried to compile and install OpenSSL 1.1.0 according to the
jingmliu> following steps:
jingmliu> 
jingmliu> 1. decompressed OpenSSL 1.1.0 software package to directory
jingmliu> "D:\openssl-1.1.0";
jingmliu> 
jingmliu> 2. opened the "Visual Studio 2010 command prompt" window using an
jingmliu> Administrator identity;
jingmliu> 
jingmliu> 3. switched to the directory "D:\openssl-1.1.0";
jingmliu> 
jingmliu> 4. D:\openssl-1.1.0> perl Configure VC-WIN32;
jingmliu> 
jingmliu> 5. D:\openssl-1.1.0> nmake;
jingmliu> 
jingmliu> 6. D:\openssl-1.1.0> nmake test;
jingmliu> 
jingmliu> > So far, all steps went smoothly, but ...
jingmliu> 
jingmliu> 7. D:\openssl-1.1.0> nmake install;
jingmliu> 
jingmliu> Here, I got the following error and there was no file being copied to
jingmliu> the destination directories even though those directories were
jingmliu> successfully created.
jingmliu> 
jingmliu> Microsoft (R) program maintenance utility 10.00.30319.01 copy right
jingmliu> (C) Microsoft Corporation.All rights reserved.
jingmliu> 
jingmliu> *** Installing development files
jingmliu> 
jingmliu> created directory 'C:/Program Files (x86)/OpenSSL'
jingmliu> 
jingmliu> created directory 'C:/Program Files (x86)/OpenSSL/include'
jingmliu> 
jingmliu> created directory 'C:/Program Files (x86)/OpenSSL/include/openssl'
jingmliu> 
jingmliu> Can't Open "./ms/applink.c" at .\util\copy.pl line 61.
jingmliu> 
jingmliu> NMAKE : fatal error U1077: “C:\Perl\bin\perl.exe”: return code “0x16”
jingmliu> 
jingmliu> Stop.
jingmliu> 
diff --git a/util/copy.pl b/util/copy.pl
index ef4d870..5a6c949 100644
--- a/util/copy.pl
+++ b/util/copy.pl
@@ -58,9 +58,9 @@ foreach (@filelist)
 		{
 		$dfile = $dest;
 		}
-	sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
+	sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_: $!";
 	sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
-					|| die "Can't Open $dfile";
+					|| die "Can't Open $dfile: $!";
 	while (sysread IN, $buf, 10240)
 		{
 		if ($stripcr)
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to