Seems like new compilers won't define __USE_XOPEN2K8 anymore thus on old systems (well not that old, on CentOS 6.3) when pthread.h is included, there will be an error about __locale_t not defined In file included from /usr/include/pthread.h:26:0, from evthread_pthread.c:30: /usr/include/time.h:226:5: error: unknown type name '__locale_t' workaround: in make.conf CFLAGS="${CFLAGS} -D__USE_XOPEN2K8"
The latest version 2.1.5-r4 works fine in my prefix install.