# Compiling NGINX modules on Windows

**URL:** <https://www.ruby-forum.com/t/compiling-nginx-modules-on-windows/225717>\
**Category:** NGINX\
**Created:** [January 25, 2013, 7:47am UTC](https://www.ruby-forum.com/t/compiling-nginx-modules-on-windows/225717 "2013-01-25T07:47:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [January 25, 2013, 7:47am UTC](https://www.ruby-forum.com/t/compiling-nginx-modules-on-windows/225717/1 "2013-01-25T07:47:49Z")

</div>

Hello,  
Following instructions given on NGINX site, I could compile NGINX  
default  
source code for WIndows using MSYS bash and nmake. However, when I tried  
compiling HttpEchoModule and HttpAuthDigest module, I have started  
getting  
compilation errors. I am assuming that since these modules are published  
and  
stable, they are compiling on LINUX/UNIX.  
Can someone suggest me the typical changes I need to do in a NGINX  
module  
source/configuration file so as to make it working on Windows?

Best Regards,  
ParagS.

Posted at Nginx Forum:

> **[Compiling NGINX modules on Windows...](https://forum.nginx.org/read.php?2,235566,235566#msg-235566)**
>
> Hello, Following instructions given on NGINX site, I could compile NGINX default source code for WIndows using MSYS bash and nmake. However, when I tried compiling HttpEchoModule and HttpAuthDigest module, I have started getting compilation errors. I...

---

<div class="post-metadata">

**Author:** ![paragshrvagi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ebca7d/32.png) [@paragshrvagi](https://www.ruby-forum.com/u/paragshrvagi)\
**Post date:** [January 25, 2013, 9:59am UTC](https://www.ruby-forum.com/t/compiling-nginx-modules-on-windows/225717/2 "2013-01-25T09:59:51Z")

</div>

On Fri, Jan 25, 2013 at 01:47:27AM -0500, paragshrvagi wrote:

> Following instructions given on NGINX site, I could compile NGINX default  
> source code for WIndows using MSYS bash and nmake. However, when I tried  
> compiling HttpEchoModule and HttpAuthDigest module, I have started getting  
> compilation errors. I am assuming that since these modules are published and  
> stable, they are compiling on LINUX/UNIX.  
> Can someone suggest me the typical changes I need to do in a NGINX module  
> source/configuration file so as to make it working on Windows?

Well, typical steps usually involve fixing the reported compilation  
errors. 🙂
