I only tested 2.50 and 2.49 but it's quite possible this has been around longer. The build fails due to missing symbol IPPROTO_TCP ... this can be fixed with a simple patch to /plugins/io/bsdio-inl.c that includes the missing header containing IPPROTO_TCP.
diff --git a/include/libcouchbase/plugins/io/bsdio-inl.c b/include/libcouchbase/plugins/io/bsdio-inl.c
|
index ea3ef48..e97056f 100644
|
--- a/include/libcouchbase/plugins/io/bsdio-inl.c
|
+++ b/include/libcouchbase/plugins/io/bsdio-inl.c
|
@@ -23,6 +23,7 @@
|
*/
|
|
#ifndef _WIN32
|
+#include <netinet/in.h>
|
#include <netinet/tcp.h>
|
#endif
|