EV on AIX?

zhang zhang491226 at gmail.com
Wed Mar 21 03:48:01 CET 2012


Seems libev only works properly on Linux with Epoll(works perfect for me),
BSD(or Mac OS X) with kqueue(patch needed)


On Wed, Mar 21, 2012 at 4:58 AM, Darin McBride <darin.mcbride at shaw.ca>wrote:

> I'm playing with perl 5.15.9 on AIX 64-bit, and thought I'd try installing
> EV
> with Coro.  However, I get the following error:
>
> $ make
>        cc -q64 -c  -Ilibev  -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE
> -
> qmaxmem=-1 -qnoansialias -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -q64 -
> DUSE_64_BIT_ALL -q64 -O    -DVERSION=\"4.11\"  -DXS_VERSION=\"4.11\"  "-
> I/home/dmcbride/perl-5.15.9/lib/5.15.9/aix-thread-multi-64all/CORE"  -
> DEV_USE_MONOTONIC=1 -DEV_USE_REALTIME=0 -DEV_USE_SELECT=1 -DEV_USE_POLL=1 -
> DEV_USE_EPOLL=0 -DEV_USE_KQUEUE=0 -DEV_USE_PORT=0 -DEV_USE_INOTIFY=0 -
> DEV_USE_EVENTFD=0 -DEV_USE_SIGNALFD=0  EV.c
> "libev/ev.c", line 470.49: 1506-342 (W) "/*" detected in comment.
> "libev/ev.c", line 941.3: 1506-205 (S) #error "memory fences not defined
> for
> your architecture, please report"
> "libev/ev.c", line 4468.28: 1506-342 (W) "/*" detected in comment.
> "libev/ev.c", line 4469.28: 1506-342 (W) "/*" detected in comment.
> "EV.xs", line 131.1: 1506-046 (S) Syntax error.
> make: 1254-004 The error code from the last command is 1.
>
> I'm imagining here, then, that AIX is not supported (yet?).  If it's merely
> that I've set something up incorrectly, I'd be interested to know what I
> could
> do to get this installed.  Worst case scenario is the fallback to AE's
> pure-
> perl loop.
>
>
> _______________________________________________
> anyevent mailing list
> anyevent at lists.schmorp.de
> http://lists.schmorp.de/mailman/listinfo/anyevent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20120321/063598fb/attachment.html>


More information about the anyevent mailing list