[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.

Merged both, with a suggestion from Dave Hart that we should avoid $<
to avoid incompatibility with weird make versions.  (I'd thought that
it was standard, but no sense in tempting fate.)  I hope we're not
going to hit any sed portability issues here.

As a minor note, for people who use git and want to send patches as
text or attachment: The easiest format for me is the one that you get
out of "git format-patch".  With that one, I don't need to
copy-and-paste the author name or write a commit message.

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