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


[openssl-users] 撤回: Cannot install OpenSSL 1.1.0 using 'nmake install'

2016-09-21 Thread Jing Liu
Jing Liu 将撤回邮件“Cannot install OpenSSL 1.1.0 using 'nmake install'”。
<>-- 
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-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