<p dir="ltr">From <a href="http://mail-archives.apache.org/mod_mbox/apr-dev/201209.mbox/%3C4994179EC7ED6843AAB0A30A1639E7F825143612EF@DGEX2V.dg.deltagroup.com%3E">http://mail-archives.apache.org/mod_mbox/apr-dev/201209.mbox/%3C4994179EC7ED6843AAB0A30A1639E7F825143612EF@DGEX2V.dg.deltagroup.com%3E</a> it would seem that threads are not supported by Apr on cygwin. Currently mapcache does not support unthreaded environments so there's nothing you can do without hacking the mapcache codebase. I believe the change would not be very extensive as the source WMS fetches only need to be sequentialized instead of parralelized in core.c</p>
<p dir="ltr">Thomas.</p>
<div class="gmail_quote">On Jan 11, 2015 7:50 AM, "thomas bonfort" <<a href="mailto:thomas.bonfort@gmail.com">thomas.bonfort@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">What apr version are you using?<br>
</p>
<div class="gmail_quote">On Jan 3, 2015 10:15 PM, "Gery ." <<a href="mailto:gamejihou@hotmail.com" target="_blank">gamejihou@hotmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
When installing mapcache in cygwin, `make` produced:<br>
<br>
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c: In function ‘mapcache_prefetch_tiles’:<br>
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:81:3: error: unknown type name ‘apr_thread_t’<br>
       apr_thread_t **threads;<br>
       ^<br>
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:82:3: error: unknown type name ‘apr_threadattr_t’<br>
       apr_threadattr_t *thread_attrs;<br>
       ^<br>
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:83:7: warning: unused variable ‘nthreads’ [-Wunused-variable]<br>
       int nthreads;<br>
           ^<br>
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:82:21: warning: unused variable ‘thread_attrs’ [-Wunused-variable]<br>
       apr_threadattr_t *thread_attrs;<br>
                         ^<br>
    /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:81:18: warning: unused variable ‘threads’ [-Wunused-variable]<br>
       apr_thread_t **threads;<br>
                      ^<br>
<br>
I searched for some hints about this error but didn't find anything. Looking for `apr_thread_t` and cygwin, I found some pages pointing to an error with apache, but not really sure if apache has something to do here.<br>
<br>
thanks for any hints on this,<br>
<br>
Gery<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>
</blockquote></div>