Problem installing 1.2.2 on Linux

Paul Lindner lindner at inuus.com
Tue Jun 26 01:13:04 UTC 2007


it's odd that /usr/include isn't in your default include path.  Are
you mising 32-bit and 64-bit libraries perhaps?

What version of Debian? What version of libevent?

On Sat, Jun 23, 2007 at 06:27:51PM -0700, Nathan Schmidt wrote:
> 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-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 <don at smugmug.com> 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
> >
> 

-- 
Paul Lindner        ||||| | | | |  |  |  |   |   |
lindner at inuus.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/memcached/attachments/20070625/ac718524/attachment.pgp


More information about the memcached mailing list