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

2012-04-27 Thread Nick Mathewson
On Thu, Apr 26, 2012 at 5:21 PM, Zack Weinberg wrote: > On Thu, Apr 26, 2012 at 12:54 AM, Dinh 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 instanc

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

2012-04-26 Thread Zack Weinberg
On Thu, Apr 26, 2012 at 2:25 PM, Nick Mathewson wrote: > On Thu, Apr 26, 2012 at 5:21 PM, Zack Weinberg wrote: >> >> 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 atta

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

2012-04-26 Thread Nick Mathewson
On Thu, Apr 26, 2012 at 5:21 PM, Zack Weinberg wrote: > On Thu, Apr 26, 2012 at 12:54 AM, Dinh 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 instanc

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

2012-04-26 Thread Zack Weinberg
On Thu, Apr 26, 2012 at 12:54 AM, Dinh 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

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

2012-04-26 Thread Dinh
Hi Zack, I uploaded 3 files you asked for to gist.github https://gist.github.com/2497290 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.

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

2012-04-25 Thread Zack Weinberg
> In file included from event.c:27:0: > ./include/event2/event-config.h:18:3: error: expected identifier or '(' > before '/' token Something went wrong in the process that generates that file. Could you please send us that file, and also any files you can find in your build tree named 'config.h'

[Libevent-users] Unable to compile libevent 2.0.18

2012-04-25 Thread Dinh
Hi, I just downloaded libevent source and tried to compile it. However, I got the following error 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 .