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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

manoj upadhyay
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
Reply | Threaded
Open this post in threaded view
|

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

Michael Mueller
Found similar issues with our Windows 1.0.2 to 1.1.1c upgrade.

Had to change our build process per INSTALL doc.

The dll files are named differently which impacted our package and install process.

Th

On Fri, Jul 26, 2019, 5:44 AM manoj upadhyay <[hidden email]> wrote:
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
Reply | Threaded
Open this post in threaded view
|

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

Michael Mueller
In reply to this post by manoj upadhyay


On Fri, Jul 26, 2019, 5:44 AM manoj upadhyay <[hidden email]> wrote:

This what we changed to. Will this method not work for you?


P.S: I am able to build the code  using the standard method below. 
       perl Configure VC-WIN64A
    nmake 
    nmake test
    nmake install