FWIW, this change lets memcached-1.2.2 compile and pass tests on
Debian -- my Makefile fu is not sufficient to properly remap the paths
that way but this is sufficient for my purposes.

-Nathan

--- memcached-1.2.2/memcached.h 2007-05-02 22:58:51.000000000 +0000
+++ memcached-1.2.2-b/memcached.h       2007-06-24 01:11:24.774350680 +0000
@@ -5,7 +5,10 @@
#include <sys/types.h>
#include <sys/time.h>
#include <netinet/in.h>
-#include <event.h>
+#include </usr/include/event.h>
+
+typedef struct event_base;
+typedef struct event;

#define DATA_BUFFER_SIZE 2048
#define UDP_READ_BUFFER_SIZE 65536


On 5/20/07, Don MacAskill <[EMAIL PROTECTED]> wrote:


Ask Bjørn Hansen wrote:
>
> On May 20, 2007, at 1:33, Marcus Rueckert wrote:
>
>>> Red Hat Enterprise Linux ES release 3 (Taroon Update 8)
>>
>> redhat still supports that old versions?
>
> Yup - until 2010[1].  This is, in fact, one of the reasons RHEL is awesome.
>
> For the original question: I'm not sure if libevent uses epoll on RHEL3,
> but I didn't have any problems compiling it and having it pass the tests.
>

Unless something has changed very recently, epoll isn't included by
default in RHEL3, and it's a pain to patch in.  I gave up.

I believe it *is* included on RHEL4, or else it was very easy to
install, since I don't remember our RHEL4 boxes requiring anything special.

Don

Reply via email to