On 24/02/2015, at 1:57 AM, [email protected] wrote: > Hi, > > I am trying to install mod_wsgi in Cygwin. But when I ran 'make', following > error showed up: > > > In file included from src/server/mod_wsgi.c:61:0: > src/server/wsgi_metrics.h:32:8: error: unknown type name 'apr_thread_mutex_t' > extern apr_thread_mutex_t* wsgi_monitor_lock; > ^ > src/server/mod_wsgi.c: In function 'wsgi_hook_child_init': > src/server/mod_wsgi.c:12273:5: warning: implicit declaration of function > 'apr_thread_mutex_create' [-Wimplicit-function-declaration] > apr_thread_mutex_create(&wsgi_monitor_lock, > ^ > src/server/mod_wsgi.c:12274:29: error: 'APR_THREAD_MUTEX_UNNESTED' undeclared > (first use in this function) > APR_THREAD_MUTEX_UNNESTED, p); > ^ > src/server/mod_wsgi.c:12274:29: note: each undeclared identifier is reported > only once for each function it appears in > apxs:Error: Command failed with rc=65536 > . > Makefile:31: recipe for target 'src/server/mod_wsgi.la' failed > make: *** [src/server/mod_wsgi.la] Error 1 > > > It looks like missing something. Can anyone give me some hints to solve it?
There has never been an attempt to get it working under cygwin on Windows. It is highly unlikely to work trying to build it that way as building from a make file is set up for a true UNIX system. If you want to use mod_wsgi on Windows, the only option is the Windows binaries. https://github.com/GrahamDumpleton/mod_wsgi/blob/develop/win32/README.rst Can you explain why you specifically need to have it working under cygwin? Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
