openssl: nmake install fail with copy file error

  • Windows 10 64bit
  • This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-msys-thread-multi

I did:

  • perl Configure --with-zlib-include=D:\zlib128-dll\include --with-zlib-lib=D:\zlib128-dll\lib\zdll.lib no-asm no-shared no-stdio zlib no-zlib-dynamic VC-WIN64A
  • nmake

No error message…not explicit success message either.

  • nmake install
Copying: ./include/openssl/x509_vfy.h to C:/Program Files (x86)/OpenSSL/include/openssl/x509_vfy.h
Copying: ./include/openssl/x509v3.h to C:/Program Files (x86)/OpenSSL/include/openssl/x509v3.h
Need at least two filenames at .\util\copy.pl line 39.
NMAKE : fatal error U1077: '"C:\Program Files\Git\usr\bin\perl.EXE"' : return code '0xff'
Stop.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 22 (7 by maintainers)

Most upvoted comments

Sorry to reply to a closed issue… This is just FYI for those still having issues.

Fix

To install on windows - nmake install - run the command prompt as administrator; this is a must. It’s probably best only to do so for the install step… The problem is windows permissions, not install directories or anything of the sort.

I have this exact error with OpenSSL_1_1_0f branch atleast.

Setup:

  • Visual Studio 2015 developer prompt (cmd)
  • ActiveState perl 5.22.3
  • Nasm 2.13

Full configure line: perl.exe Configure VC-WIN32 --prefix=D:/Programming/openssl --openssldir=D:/Programming/openssl no-shared no-stdio no-tests

Configure&compile runs fine but when running the nmake install step the error happens as in the issue description:

*** Installing runtime files created directory `D:/Programming/openssl/bin’ Need at least two filenames at .\util\copy.pl line 39. NMAKE : fatal error U1077: ‘C:\Jeren\Software\Perl64\bin\perl.exe’ : return code ‘0xff’ Stop.

Setting prefix and openssldir to the same directory fixed the issue for me.