memcached 在make的时候出错,解决办法:
# vim memcached.c
修改如下几行
56 /* FreeBSD 4.x doesn't have IOV_MAX exposed. */
57 #ifndef IOV_MAX
58 #if defined(__FreeBSD__) || defined(__APPLE__)
59 # define IOV_MAX 1024
60 #endif
61 #endif
改成
56 /* FreeBSD 4.x doesn't have IOV_MAX exposed. */
57 #ifndef IOV_MAX
58 /*#if defined(__FreeBSD__) || defined(__APPLE__)*/
59 # define IOV_MAX 1024
60 /*#endif*/