Here is the list of libevent-related packages that are installed in my
server

root@spica:/usr/src/libevent-2.0.18-stable# dpkg --get-selections |
grep libevent
libevent-2.0-5                                  install
libevent-core-2.0-5                             install
libevent-dev                                    install
libevent-extra-2.0-5                            install
libevent-openssl-2.0-5                          install
libevent-pthreads-2.0-5                         install

Also, I can not compile the latest source code of libevent, the
version 2.0.18

Here is the make output

make  all-recursive
make[1]: Entering directory `/usr/src/libevent-2.0.18-stable'
Making all in .
make[2]: Entering directory `/usr/src/libevent-2.0.18-stable'
/bin/bash ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.
-I./compat -I./include -I./include    -g -O2 -Wall -fno-strict-
aliasing -pthread -MT event.lo -MD -MP -MF .deps/event.Tpo -c -o
event.lo event.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./compat -I./include -I./
include -g -O2 -Wall -fno-strict-aliasing -pthread -MT event.lo -MD -
MP -MF .deps/event.Tpo -c event.c  -fPIC -DPIC -o .libs/event.o
In file included from event.c:27:0:
./include/event2/event-config.h:18:3: error: expected identifier or
'(' before '/' token
In file included from event.c:35:0:
/usr/include/x86_64-linux-gnu/sys/types.h:34:1: error: unknown type
name '__u_char'
make[2]: *** [event.lo] Error 1
make[2]: Leaving directory `/usr/src/libevent-2.0.18-stable'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/libevent-2.0.18-stable'
make: *** [all] Error 2

I searched Google for this issue yesterday but could not find any
clue. Any idea?


On Apr 25, 11:07 pm, Wendy Cheng <[email protected]> wrote:
> On Wed, Apr 25, 2012 at 8:32 AM, pcdinh <[email protected]> wrote:
> > Hi all,
>
> > I compiled and installed Memcached 1.4.3 from source:
> >http://memcached.googlecode.com/files/memcached-1.4.13.tar.gz
>
> > The configuration is quite simple: ./configure --prefix=/usr/local/
> > memcached
>
> > It works if I install it on a dedicated Ubuntu 11 server. However, it
> > does not work on Linode's Ubuntu 11 VM (Xen-based)
>
> > The source code can be compilable, installable. The server can run but
> > it is not responsive.
>
> I don't know Ubuntu and/or Xen ... but I guess the problem is with
> libevent that is not be able to generate the associated events. Try to
> check the libevent installation on your VM. If it is correctly done,
> try to google to see whether there are issues with libevent on top of
> VM.
>
> -- Wendy

Reply via email to