From
http://mail-archives.apache.org/mod_mbox/apr-dev/201209.mbox/%3c4994179ec7ed6843aab0a30a1639e7f82514361...@dgex2v.dg.deltagroup.com%3E
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

Thomas.
On Jan 11, 2015 7:50 AM, "thomas bonfort" <thomas.bonf...@gmail.com> wrote:

> What apr version are you using?
>  On Jan 3, 2015 10:15 PM, "Gery ." <gameji...@hotmail.com> wrote:
>
>> Hello,
>>
>> When installing mapcache in cygwin, `make` produced:
>>
>>     /opt/mapcache/mapcache-rel-1-2-1/lib/core.c: In function
>> ‘mapcache_prefetch_tiles’:
>>     /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:81:3: error: unknown type
>> name ‘apr_thread_t’
>>        apr_thread_t **threads;
>>        ^
>>     /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:82:3: error: unknown type
>> name ‘apr_threadattr_t’
>>        apr_threadattr_t *thread_attrs;
>>        ^
>>     /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:83:7: warning: unused
>> variable ‘nthreads’ [-Wunused-variable]
>>        int nthreads;
>>            ^
>>     /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:82:21: warning: unused
>> variable ‘thread_attrs’ [-Wunused-variable]
>>        apr_threadattr_t *thread_attrs;
>>                          ^
>>     /opt/mapcache/mapcache-rel-1-2-1/lib/core.c:81:18: warning: unused
>> variable ‘threads’ [-Wunused-variable]
>>        apr_thread_t **threads;
>>                       ^
>>
>> 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.
>>
>> thanks for any hints on this,
>>
>> Gery
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to