[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 5:21 PM, Zack Weinberg <zackw@xxxxxxxxx> wrote:
> 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.

Looks plausible.  Can you explain what's wrong/fragile with the
current approach?  I get that apparently something is going wrong, but
I'd appreciate it if you could explain what.

many thanks,
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.