Quantcast

Unable to build with dmake

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unable to build with dmake

Rajat Srivastava

Hi,

 

I am working on windows 7 Professional Service Pack 1

I downloaded OpenSSL version openssl-1.1.0c and installed Active Perl v5.24.0 built for MSWin32-x64-multi-thread

I installed Text::Template, dmake and MinGW (not sure if I should have installed MinGW)

I ran command "perl configure VC-WIN32" which ran successfully.

 

When I run dmake command it says:

"dmake.exe:  makefile:  line 51:  Error: -- Expecting macro or rule defn, found neither"

 

Line 51 in make file is:

!IF "$(DESTDIR)" != ""

 

Please let me know how to resolve this error.

 

Regards,

Rajat Srivastava

 

 


--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build with dmake

Richard Levitte - VMS Whacker-2
In message <[hidden email]> on Wed, 4 Jan 2017 11:14:48 +0000, Rajat Srivastava <[hidden email]> said:

rajat.srivastava01> Hi,
rajat.srivastava01>
rajat.srivastava01> I am working on windows 7 Professional Service Pack 1
rajat.srivastava01>
rajat.srivastava01> I downloaded OpenSSL version openssl-1.1.0c and installed Active Perl
rajat.srivastava01> v5.24.0 built for MSWin32-x64-multi-thread
rajat.srivastava01>
rajat.srivastava01> I installed Text::Template, dmake and MinGW (not sure if I should have
rajat.srivastava01> installed MinGW)
rajat.srivastava01>
rajat.srivastava01> I ran command "perl configure VC-WIN32" which ran successfully.
rajat.srivastava01>
rajat.srivastava01> When I run dmake command it says:
rajat.srivastava01>
rajat.srivastava01> "dmake.exe: makefile: line 51: Error: -- Expecting macro or rule defn,
rajat.srivastava01> found neither"
rajat.srivastava01>
rajat.srivastava01> Line 51 in make file is:
rajat.srivastava01>
rajat.srivastava01> !IF "$(DESTDIR)" != ""
rajat.srivastava01>
rajat.srivastava01> Please let me know how to resolve this error.

Try with nmake, which comes with Visual Studio.

(I now noticed we haven't made nmake a requirement, while we expect
everyone to use it with the VC-* config targets.  We should be more
explicit about this)

Cheers,
Richard

--
Richard Levitte         [hidden email]
OpenSSL Project         http://www.openssl.org/~levitte/
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build with dmake

Michael Wojcik
In reply to this post by Rajat Srivastava
Use Microsoft's nmake, not dmake. The VC-WIN32 configuration generates makefiles for use with nmake, which is included with Visual C. You told the OpenSSL build process to configure itself for Visual C (the "VC" part); now you have to use it.

If you want to build OpenSSL using some custom toolchain of your own devising, you'll need to create your own configuration, including all the necessary rules and files. I do not recommend it.

Michael Wojcik
Distinguished Engineer, Micro Focus


--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build with dmake

Benjamin Kaduk
In reply to this post by Richard Levitte - VMS Whacker-2
On 01/04/2017 07:09 AM, Richard Levitte wrote:
Try with nmake, which comes with Visual Studio.

(I now noticed we haven't made nmake a requirement, while we expect
everyone to use it with the VC-* config targets.  We should be more
explicit about this)


Interestingly, having recently configured 1.1.0c on a windows system, something printed out a warning to the effect of "you seem to not have nmake.exe on your path; you probably want to install it or dmake to continue" (even though nmake was usable from that cmd.exe prompt!).  Searching, though, it seems that this is an artifact of some upstream perl module rather than Configure itself, so it's unclear how reliably we can prevent it from appearing or modify it to match our requirements more closely.

-Ben

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build with dmake

Richard Levitte - VMS Whacker-2
In message <[hidden email]> on Wed, 4 Jan 2017 12:21:31 -0600, Benjamin Kaduk <[hidden email]> said:

bkaduk> Interestingly, having recently configured 1.1.0c on a windows system,
bkaduk> something printed out a warning to the effect of "you seem to not have
bkaduk> nmake.exe on your path; you probably want to install it or dmake to
bkaduk> continue" (even though nmake was usable from that cmd.exe prompt!).
bkaduk> Searching, though, it seems that this is an artifact of some upstream
bkaduk> perl module rather than Configure itself, so it's unclear how reliably
bkaduk> we can prevent it from appearing or modify it to match our
bkaduk> requirements more closely.

Yes, that happens as part of 'use Config;', unfortunately.  I did look
around to try to see how to prevent this from happening, but couldn't
figure it out.

--
Richard Levitte         [hidden email]
OpenSSL Project         http://www.openssl.org/~levitte/
--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
Loading...