Issue Building OpenSSL version 1.1.1b using batch files Missing do_win64a/nt.mak/nt-dbg.mak

manoj upadhyay upadhyay.manoj at live.com
Fri Jul 26 09:43:59 UTC 2019


Hi All,

I need help in building the OpenSSL 1.1.1b using the batch files.
I have existing batch files to build OpenSSL  "1.0.2p". It uses following files to build OpenSSL.

  1.  ms\do_win64a
  2.  nt.mak
  3.  nt-dbg.mak

But above files are missing from 1.1.1b.  For reference I am adding code snippet from my batch file.

Code snippet from Batch file.
 set VERSION=openssl-1.1.1b
 cd %VERSION%
 perl Configure VC-WIN64A no-asm
 call ms\do_win64a
 sed -e s/out32/out64/g ms\nt.mak | sed -e s/tmp32/tmp64/g | sed -e s/inc32/inc64/g > ms\nt-64.mak
 nmake -f ms\nt-64.mak clean
 nmake -f ms\nt-64.mak
 ............
 .............
 ...........
 cd %VERSION%
 perl util\mk1mf.pl debug no-asm VC-WIN64A >ms\nt-dbg.mak
 sed -e s/out32/out64/g ms\nt-dbg.mak | sed -e s/tmp32/tmp64/g | sed -e s/inc32/inc64/g > ms\nt-dbg-64.mak
 nmake -f ms\nt-dbg-64.mak clean
 nmake -f ms\nt-dbg-64.mak

Errors during running Batch scripts: (File Not Found)
 Configuring OpenSSL version 1.1.1b (0x1010102fL) for VC-WIN64A
 Using os-specific seed configuration

 It looks like you don't have either nmake.exe or dmake.exe on your PATH,
 so you will not be able to execute the commands from a Makefile.  You can
 install dmake.exe with the Perl Package Manager by running:

  ppm install dmake

 Creating configdata.pm
 Creating makefile

 **********************************************************************
 ***                                                                ***
 ***   OpenSSL has been successfully configured                     ***
 ***                                                                ***
 ***   If you encounter a problem while building, please open an    ***
 ***   issue on GitHub <https://github.com/openssl/openssl/issues>  ***
 ***   and include the output from the following command:           ***
 ***                                                                ***
 ***       perl configdata.pm --dump                                ***
 ***                                                                ***
 ***   (If you are new to OpenSSL, you might want to consult the    ***
 ***   'Troubleshooting' section in the INSTALL file first)         ***
 ***                                                                ***
 **********************************************************************
 'ms\do_win64a' is not recognized as an internal or external command,
        operable program or batch file.

 Configuring OpenSSL version 1.1.1b (0x1010102fL) for VC-WIN64A
 sed: can't read ms\nt.mak: No such file or directory

 Microsoft (R) Program Maintenance Utility Version 14.16.27031.1
 Copyright (C) Microsoft Corporation.  All rights reserved.

 NMAKE : fatal error U1073: don't know how to make 'clean'
 Stop.

 Can't open perl script "util\mk1mf.pl": No such file or directory

Please help me in getting these files generated and build the code using the batch-files.

P.S: I am able to build the code  using the standard method below.
       perl Configure VC-WIN64A
    nmake
    nmake test
    nmake install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190726/ba1a8e0b/attachment-0001.html>


More information about the openssl-users mailing list