[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] Unable to compile libevent 2.0.18



On Thu, Apr 26, 2012 at 12:54 AM, Dinh <pcdinh@xxxxxxxxx> wrote:
> You are right. event-config.h contains invalid characters. However, it is
> automatically generated. It works on dedicated Ubuntu 11.10 box. But it
> didn't on Xen-based Ubuntu 11.10 instance provided by Linode.
>
> Does Xen require special settings to make libevent being compiled
> successfully?

It shouldn't.  The problem appears to be with the process that
converts config.h into event-config.h, and that _is_ using a somewhat
fragile technique.  Please apply the attached patch 'mec-2.0.diff' and
see if that helps.

Nick: I'm also including a version of the patch for the 2.1 development trunk.

zw

Attachment: mec-2.0.diff
Description: Binary data

Attachment: mec-2.1.diff
Description: Binary data