Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-22 Thread Jing Liu

Thanks for all people who kindly helped me. My problem is solved. I uninstalled 
ActivePerl 5.12.2 and instead installed the current version - ActivePerl 
5.24.0.2400 (64bit). Now, I compiled and installed OpenSSL 1.1.0 successfully.

Cheers,
Jing 

-Original Message-
From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of 
Jeffrey Walton
Sent: Thursday, September 22, 2016 3:12 PM
To: OpenSSL Users <openssl-users@openssl.org>
Subject: Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake 
install'

On Wed, Sep 21, 2016 at 8:35 AM, Jing Liu <jingm...@sina.com> wrote:
> I’ve tried all my best to solve this problem but failed. Can you help me?
>
> - OS: Windows 10
>
> - Perl: ActivePerl 5.12.2 build 1202
>
> - Development environment: MS Visual Studio 2010 SP1
>
> - OpenSSL version: OpenSSL 1.1.0

Have you tried Strawberry Perl instead of Active Perl? I seem to recall someone 
stated they were able to clear a similar issue using Strawberry Perl.

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


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


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-22 Thread Jeffrey Walton
On Wed, Sep 21, 2016 at 8:35 AM, Jing Liu  wrote:
> I’ve tried all my best to solve this problem but failed. Can you help me?
>
> - OS: Windows 10
>
> - Perl: ActivePerl 5.12.2 build 1202
>
> - Development environment: MS Visual Studio 2010 SP1
>
> - OpenSSL version: OpenSSL 1.1.0

Have you tried Strawberry Perl instead of Active Perl? I seem to
recall someone stated they were able to clear a similar issue using
Strawberry Perl.

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


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-22 Thread Jing Liu
Dear Richard,

  I already checkded that the file "applink.c" does exist under the
directory 'D:\openssl-1.1.0\ms'. I also considered the problem of access
permission. That is why I ran all the commands as an administrator. 

Now, I used the Perl script provided by you to revise the original "copy.pl"
as the following:

 

... ...

foreach (@filelist)

  {

  ... ...

   }

  else

   {

   $dfile = $dest;

   }

  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:
$!";

  while (sysread IN, $buf, 10240)

... ...

 

I don't know much about Perl. I am afraid that I had made some mistake. Now,
I got the following result:

 

D:\openssl-1.1.0>nmake install

 

Microsoft (R) 程序维护实用工具 10.00.30319.01 版

版权所有(C) Microsoft Corporation。保留所有权利。

 

*** Installing development files

created directory `C:/Program Files (x86)/OpenSSL'

created directory `C:/Program Files (x86)/OpenSSL/include'

created directory `C:/Program Files (x86)/OpenSSL/include/openssl'

Can't Open "./ms/applink.c": Invalid argument at .\util\copy.pl line 61.

NMAKE : fatal error U1077: “C:\Perl\bin\perl.exe”: returen code “0x16”

Stop.

 

D:\openssl-1.1.0>

 

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


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread jingmliu
Dear Richard,  I already checkded that the file "applink.c" does exist under 
the directory 'D:\openssl-1.1.0\ms'. I also considered the problem of access 
permission. That is why I ran all the commands as an administrator. Now, I used 
the Perl script provided by you to revise the original "copy.pl" as the 
following:
... ...foreach (@filelist)  {   ... ... }   else
{   $dfile = $dest; }   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: $!"; while (sysread IN, $buf, 10240)... ...
I don't know much about Perl. I am afraid that I had made some mistake. Now, I 
got the following result:
D:\openssl-1.1.0>nmake install
Microsoft (R) 程序维护实用工具 10.00.30319.01 版版权所有(C) Microsoft Corporation。保留所有权利。
*** Installing development filescreated directory `C:/Program Files 
(x86)/OpenSSL'created directory `C:/Program Files (x86)/OpenSSL/include'created 
directory `C:/Program Files (x86)/OpenSSL/include/openssl'Can't Open 
"./ms/applink.c": Invalid argument at .\util\copy.pl line 61.NMAKE : fatal 
error U1077: “C:\Perl\bin\perl.exe”: returen code “0x16”Stop.
D:\openssl-1.1.0>
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Jing Liu

Dear Matt,
I've already checked for the existence of the file ms/applink.c and also
thought about the file permission problem. That file does exists in the
directory and I ran all those commands as an administrator.

Jing

-Original Message-
From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of
Matt Caswell
Sent: Wednesday, September 21, 2016 9:14 PM
To: openssl-users@openssl.org
Subject: Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake
install'




On 21/09/16 13:35, Jing Liu wrote:
> Can't Open "./ms/applink.c" at .\util\copy.pl line 61. 

So, does the file ms/applink.c actually exist? And do you have
permissions to open it?

Matt

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



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


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Andrew Hartley
Sorry, my mistake, those were the instructions I used for building openssl-1.0.2

When I do, for openssl-1.1.0:

> perl Configure VC-WIN32

That works, and then I do:

> nmake

I get:

Fatal error C1051: program database file, 
'C:\...\openssl-1.1.0\ossl_static.pdb' has an obsolete format, delete it and 
recompile


Andrew Hartley
Senior Software Engineer

Tel: +44 (0)1784 410 369 | Direct: +44 (0)1784 410 103
Email: andrew.hart...@taxcomputersystems.com
Web: www.taxcomputersystems.com
Tax Computer Systems Limited, Centurion House, London Road, Staines, TW18 4AX


-Original Message-
From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of 
Richard Levitte
Sent: 21 September 2016 14:10
To: openssl-users@openssl.org
Subject: Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake 
install'

Andrew, I think you need to read up in the INSTALL file in 1.1.0.
Jing Liu's sequence of commands seems correct to me, and with 1.1.0, the 
default install prefix *is* C:\Program Files (x86)\OpenSSL\ for VC-Win32.

Cheers,
Richard

In message 
<c208566ee5ac44caad482acc09d09...@mailsvr.tcsl.taxcomputersystems.com> on Wed, 
21 Sep 2016 12:54:58 +, Andrew Hartley 
<andrew.hart...@taxcomputersystems.com> said:

andrew.hartley> Your step (4) to me appears to be wrong. If you are to install 
openssl andrew.hartley> to the following directory:
andrew.hartley>
andrew.hartley> C:\Program Files (x86)\OpenSSL\ andrew.hartley> andrew.hartley> 
then you need to do:
andrew.hartley>
andrew.hartley> Ø perl Configure VC-WIN32 –prefix=C:\Program Files 
(x86)\OpenSSL andrew.hartley> andrew.hartley> When I build openSSL I use nasm, 
so after the above I do:
andrew.hartley>
andrew.hartley> Ø ms\do_nasm
andrew.hartley>
andrew.hartley> Ø nmake –a –f ms\nt.mak
andrew.hartley>
andrew.hartley> Ø nmake –f ms\nt.mak test andrew.hartley> andrew.hartley> Ø 
nmake –f ms\nt.mak install andrew.hartley> andrew.hartley> Does that help at 
all?
andrew.hartley>
andrew.hartley> From: openssl-users [mailto:openssl-users-boun...@openssl.org] 
On andrew.hartley> Behalf Of Jing Liu andrew.hartley> Sent: 21 September 2016 
13:35 andrew.hartley> To: openssl-users@openssl.org andrew.hartley> Subject: 
[openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake andrew.hartley> 
install'
andrew.hartley>
andrew.hartley> I’ve tried all my best to solve this problem but failed. Can 
you help andrew.hartley> me?
andrew.hartley>
andrew.hartley> - OS: Windows 10
andrew.hartley>
andrew.hartley> - Perl: ActivePerl 5.12.2 build 1202 andrew.hartley> 
andrew.hartley> - Development environment: MS Visual Studio 2010 SP1 
andrew.hartley> andrew.hartley> - OpenSSL version: OpenSSL 1.1.0 
andrew.hartley> andrew.hartley> I tried to compile and install OpenSSL 1.1.0 
according to the andrew.hartley> following steps:
andrew.hartley>
andrew.hartley> 1. decompressed OpenSSL 1.1.0 software package to directory 
andrew.hartley> "D:\openssl-1.1.0"; andrew.hartley> andrew.hartley> 2. opened 
the "Visual Studio 2010 command prompt" window using an andrew.hartley> 
Administrator identity; andrew.hartley> andrew.hartley> 3. switched to the 
directory "D:\openssl-1.1.0"; andrew.hartley> andrew.hartley> 4. 
D:\openssl-1.1.0> perl Configure VC-WIN32; andrew.hartley> andrew.hartley> 5. 
D:\openssl-1.1.0> nmake; andrew.hartley> andrew.hartley> 6. D:\openssl-1.1.0> 
nmake test; andrew.hartley> andrew.hartley> > So far, all steps went smoothly, 
but ...
andrew.hartley>
andrew.hartley> 7. D:\openssl-1.1.0> nmake install; andrew.hartley> 
andrew.hartley> Here, I got the following error and there was no file being 
copied to andrew.hartley> the destination directories even though those 
directories were andrew.hartley> successfully created.
andrew.hartley>
andrew.hartley> Microsoft (R) program maintenance utility 10.00.30319.01 copy 
right andrew.hartley> (C) Microsoft Corporation.All rights reserved.
andrew.hartley>
andrew.hartley> *** Installing development files andrew.hartley> 
andrew.hartley> created directory 'C:/Program Files (x86)/OpenSSL'
andrew.hartley>
andrew.hartley> created directory 'C:/Program Files (x86)/OpenSSL/include'
andrew.hartley>
andrew.hartley> created directory 'C:/Program Files 
(x86)/OpenSSL/include/openssl'
andrew.hartley>
andrew.hartley> Can't Open "./ms/applink.c" at .\util\copy.pl line 61.
andrew.hartley>
andrew.hartley> NMAKE : fatal error U1077: “C:\Perl\bin\perl.exe”: return code 
“0x16”
andrew.hartley>
andrew.hartley> Stop.
andrew.hartley>
andrew.hartley> 
__
andrew.hartley> Registered in England with company number 5347048 
andrew.har

Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Matt Caswell


On 21/09/16 13:35, Jing Liu wrote:
> Can't Open "./ms/applink.c" at .\util\copy.pl line 61. 

So, does the file ms/applink.c actually exist? And do you have
permissions to open it?

Matt

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


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Richard Levitte
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 

 on Wed, 21 Sep 2016 20:35:27 +0800, "Jing Liu"  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


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Richard Levitte
Andrew, I think you need to read up in the INSTALL file in 1.1.0.
Jing Liu's sequence of commands seems correct to me, and with 1.1.0,
the default install prefix *is* C:\Program Files (x86)\OpenSSL\ for
VC-Win32.

Cheers,
Richard

In message 
<c208566ee5ac44caad482acc09d09...@mailsvr.tcsl.taxcomputersystems.com> on Wed, 
21 Sep 2016 12:54:58 +, Andrew Hartley 
<andrew.hart...@taxcomputersystems.com> said:

andrew.hartley> Your step (4) to me appears to be wrong. If you are to install 
openssl
andrew.hartley> to the following directory:
andrew.hartley> 
andrew.hartley> C:\Program Files (x86)\OpenSSL\
andrew.hartley> 
andrew.hartley> then you need to do:
andrew.hartley> 
andrew.hartley> Ø perl Configure VC-WIN32 –prefix=C:\Program Files (x86)\OpenSSL
andrew.hartley> 
andrew.hartley> When I build openSSL I use nasm, so after the above I do:
andrew.hartley> 
andrew.hartley> Ø ms\do_nasm
andrew.hartley> 
andrew.hartley> Ø nmake –a –f ms\nt.mak
andrew.hartley> 
andrew.hartley> Ø nmake –f ms\nt.mak test
andrew.hartley> 
andrew.hartley> Ø nmake –f ms\nt.mak install
andrew.hartley> 
andrew.hartley> Does that help at all?
andrew.hartley> 
andrew.hartley> From: openssl-users [mailto:openssl-users-boun...@openssl.org] 
On
andrew.hartley> Behalf Of Jing Liu
andrew.hartley> Sent: 21 September 2016 13:35
andrew.hartley> To: openssl-users@openssl.org
andrew.hartley> Subject: [openssl-users] Failed to install OpenSSL 1.1.0 using 
'nmake
andrew.hartley> install'
andrew.hartley> 
andrew.hartley> I’ve tried all my best to solve this problem but failed. Can 
you help
andrew.hartley> me?
andrew.hartley> 
andrew.hartley> - OS: Windows 10
andrew.hartley> 
andrew.hartley> - Perl: ActivePerl 5.12.2 build 1202
andrew.hartley> 
andrew.hartley> - Development environment: MS Visual Studio 2010 SP1
andrew.hartley> 
andrew.hartley> - OpenSSL version: OpenSSL 1.1.0
andrew.hartley> 
andrew.hartley> I tried to compile and install OpenSSL 1.1.0 according to the
andrew.hartley> following steps:
andrew.hartley> 
andrew.hartley> 1. decompressed OpenSSL 1.1.0 software package to directory
andrew.hartley> "D:\openssl-1.1.0";
andrew.hartley> 
andrew.hartley> 2. opened the "Visual Studio 2010 command prompt" window using 
an
andrew.hartley> Administrator identity;
andrew.hartley> 
andrew.hartley> 3. switched to the directory "D:\openssl-1.1.0";
andrew.hartley> 
andrew.hartley> 4. D:\openssl-1.1.0> perl Configure VC-WIN32;
andrew.hartley> 
andrew.hartley> 5. D:\openssl-1.1.0> nmake;
andrew.hartley> 
andrew.hartley> 6. D:\openssl-1.1.0> nmake test;
andrew.hartley> 
andrew.hartley> > So far, all steps went smoothly, but ...
andrew.hartley> 
andrew.hartley> 7. D:\openssl-1.1.0> nmake install;
andrew.hartley> 
andrew.hartley> Here, I got the following error and there was no file being 
copied to
andrew.hartley> the destination directories even though those directories were
andrew.hartley> successfully created.
andrew.hartley> 
andrew.hartley> Microsoft (R) program maintenance utility 10.00.30319.01 copy 
right
andrew.hartley> (C) Microsoft Corporation.All rights reserved.
andrew.hartley> 
andrew.hartley> *** Installing development files
andrew.hartley> 
andrew.hartley> created directory 'C:/Program Files (x86)/OpenSSL'
andrew.hartley> 
andrew.hartley> created directory 'C:/Program Files (x86)/OpenSSL/include'
andrew.hartley> 
andrew.hartley> created directory 'C:/Program Files 
(x86)/OpenSSL/include/openssl'
andrew.hartley> 
andrew.hartley> Can't Open "./ms/applink.c" at .\util\copy.pl line 61.
andrew.hartley> 
andrew.hartley> NMAKE : fatal error U1077: “C:\Perl\bin\perl.exe”: return code 
“0x16”
andrew.hartley> 
andrew.hartley> Stop.
andrew.hartley> 
andrew.hartley> 
__
andrew.hartley> Registered in England with company number 5347048
andrew.hartley> Registered office at Centurion House, London Road,
andrew.hartley> Staines-upon-Thames, TW18 4AX
andrew.hartley> 
andrew.hartley> This electronic message contains information from Tax Computer 
Systems
andrew.hartley> Ltd (a wholly owned subsidiary of tax systems plc) which is
andrew.hartley> confidential and may be privileged. The information is intended 
to be
andrew.hartley> for the sole use of the individual(s) or entity to whom it is
andrew.hartley> addressed. If you are not the intended recipient, be aware that 
any
andrew.hartley> disclosure, copying, distribution or use of the contents of this
andrew.hartley> information is prohibited. If you have received this electronic
andrew.hartley> message in error, please notify the sender by telephone or 
e-mail (to
andrew.hartley>

Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Matt Caswell


On 21/09/16 13:54, Andrew Hartley wrote:
> Your step (4) to me appears to be wrong.  If you are to install openssl
> to the following directory:
> 
>  
> 
> C:\Program Files (x86)\OpenSSL\
> 
>  
> 
> then you need to do:
> 
>  
> 
> Ø  perl Configure VC-WIN32 –prefix=C:\Program Files (x86)\OpenSSL
> 
>  
> 
> When I build openSSL I use nasm, so after the above I do:
> 
>  
> 
> Ø  ms\do_nasm
> 
> Ø  nmake –a –f ms\nt.mak
> 
> Ø  nmake –f ms\nt.mak test
> 
> Ø  nmake –f ms\nt.mak install
> 
>  
> 
> Does that help at all?

The above is incorrect for OpenSSL 1.1.0. The build procedure has
changed significantly in that version.

Matt


> 
>  
> 
>  
> 
> *From:*openssl-users [mailto:openssl-users-boun...@openssl.org] *On
> Behalf Of *Jing Liu
> *Sent:* 21 September 2016 13:35
> *To:* openssl-users@openssl.org
> *Subject:* [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake
> install'
> 
>  
> 
> I’ve tried all my best to solve this problem but failed. Can you help me?
> 
>  
> 
> - OS: Windows 10
> 
> - Perl: ActivePerl 5.12.2 build 1202
> 
> - Development environment: MS Visual Studio 2010 SP1
> 
> - OpenSSL version: OpenSSL 1.1.0
> 
>  
> 
> I tried to compile and install OpenSSL 1.1.0 according to the following
> steps:
> 
>  
> 
> 1. decompressed OpenSSL 1.1.0 software package to directory
> "D:\openssl-1.1.0";
> 
> 2. opened the "Visual Studio 2010 command prompt" window using an
> Administrator identity;
> 
> 3. switched to the directory "D:\openssl-1.1.0";
> 
> 4. D:\openssl-1.1.0> perl Configure VC-WIN32;
> 
> 5. D:\openssl-1.1.0> nmake;
> 
> 6. D:\openssl-1.1.0> nmake test;
> 
>  
> 
>> So far, all steps went smoothly, but ... 
> 
>  
> 
> 7. D:\openssl-1.1.0> nmake install;
> 
>  
> 
> Here, I got the following error and there was no file being copied to
> the destination directories even though those directories were
> successfully created.
> 
>  
> 
> Microsoft (R) program maintenance utility 10.00.30319.01 copy right
> (C) Microsoft Corporation.All rights reserved. 
> 
> *** Installing development files 
> 
> created directory 'C:/Program Files (x86)/OpenSSL' 
> 
> created directory 'C:/Program Files (x86)/OpenSSL/include' 
> 
> created directory 'C:/Program Files (x86)/OpenSSL/include/openssl' 
> 
> Can't Open "./ms/applink.c" at .\util\copy.pl line 61. 
> 
> NMAKE : fatal error U1077: “C:\Perl\bin\perl.exe”: return code “0x16”
> 
> Stop.
> 
> 
> __
> Registered in England with company number 5347048
> Registered office at Centurion House, London Road, Staines-upon-Thames,
> TW18 4AX
> 
> This electronic message contains information from Tax Computer Systems
> Ltd (a wholly owned subsidiary of tax systems plc) which is confidential
> and may be privileged. The information is intended to be for the sole
> use of the individual(s) or entity to whom it is addressed. If you are
> not the intended recipient, be aware that any disclosure, copying,
> distribution or use of the contents of this information is prohibited.
> If you have received this electronic message in error, please notify the
> sender by telephone or e-mail (to the number or e-mail address above)
> immediately and destroy the message and all attached documents.
> 
> Reasonable care has been taken to ensure that this communication (and
> any attachments or hyperlinks contained within it) is free from computer
> viruses. No responsibility is accepted by taxsystemsplc and the
> recipient should carry out any appropriate virus checks.
> 
> 
> 
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users


Re: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Andrew Hartley
Your step (4) to me appears to be wrong.  If you are to install openssl to the 
following directory:

C:\Program Files (x86)\OpenSSL\

then you need to do:


?  perl Configure VC-WIN32 -prefix=C:\Program Files (x86)\OpenSSL

When I build openSSL I use nasm, so after the above I do:


?  ms\do_nasm

?  nmake -a -f ms\nt.mak

?  nmake -f ms\nt.mak test

?  nmake -f ms\nt.mak install

Does that help at all?


From: openssl-users [mailto:openssl-users-boun...@openssl.org] On Behalf Of 
Jing Liu
Sent: 21 September 2016 13:35
To: openssl-users@openssl.org
Subject: [openssl-users] Failed to install OpenSSL 1.1.0 using 'nmake install'

I've tried all my best to solve this problem but failed. Can you help me?

- OS: Windows 10
- Perl: ActivePerl 5.12.2 build 1202
- Development environment: MS Visual Studio 2010 SP1
- OpenSSL version: OpenSSL 1.1.0

I tried to compile and install OpenSSL 1.1.0 according to the following steps:

1. decompressed OpenSSL 1.1.0 software package to directory "D:\openssl-1.1.0";
2. opened the "Visual Studio 2010 command prompt" window using an Administrator 
identity;
3. switched to the directory "D:\openssl-1.1.0";
4. D:\openssl-1.1.0> perl Configure VC-WIN32;
5. D:\openssl-1.1.0> nmake;
6. D:\openssl-1.1.0> nmake test;

> So far, all steps went smoothly, but ...

7. D:\openssl-1.1.0> nmake install;

Here, I got the following error and there was no file being copied to the 
destination directories even though those directories were successfully created.

Microsoft (R) program maintenance utility 10.00.30319.01 copy right (C) 
Microsoft Corporation.All rights reserved.
*** Installing development files
created directory 'C:/Program Files (x86)/OpenSSL'
created directory 'C:/Program Files (x86)/OpenSSL/include'
created directory 'C:/Program Files (x86)/OpenSSL/include/openssl'
Can't Open "./ms/applink.c" at .\util\copy.pl line 61.
NMAKE : fatal error U1077: "C:\Perl\bin\perl.exe": return code "0x16"
Stop.

__
Registered in England with company number 5347048 
Registered office at Centurion House, London Road, Staines-upon-Thames, TW18 4AX

This electronic message contains information from Tax Computer Systems Ltd (a 
wholly owned subsidiary of tax systems plc) which is confidential and may be 
privileged. The information is intended to be for the sole use of the 
individual(s) or entity to whom it is addressed. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is prohibited. If you have received this 
electronic message in error, please notify the sender by telephone or e-mail 
(to the number or e-mail address above) immediately and destroy the message and 
all attached documents.

Reasonable care has been taken to ensure that this communication (and any 
attachments or hyperlinks contained within it) is free from computer viruses. 
No responsibility is accepted by taxsystemsplc and the recipient should carry 
out any appropriate virus checks.
-- 
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users