*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Welcome to EV configuration. If you are in a hurry, just press return here and hope for the best. The defaults should usually do. Skip further questions and use defaults (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** POSIX optionally offers support for a monotonic clock source. EV can take advantage of this clock source to detect time jumps reliably. Unfortunately, some systems are bound to be broken, so you can disable this here: you can completely disable the detection and use of the monotonic clock by answering 'n' here. Support for this clock type will otherwise be autodetected at both compile- and runtime. Enable optional support for CLOCK_MONOTONIC (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** POSIX optionally offers support for a (potentially) high-resolution realtime clock interface. In a good implementation, using it is faster than the normal method of using gettimeofday. Unfortunately, this option is also bound to be broken on some systems, so you can disable use and probing of this feature altogether here. Otherwise support for this clock type will be autodetected at compiletime. Prefer clock_gettime (CLOCK_REALTIME) over gettimeofday (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** EV can use various backends with various portability issue. The select backend is the most portable and makes for a good fallback, but it can be limited to a low number of file descriptors and/or might not compile. If you have problems with compiling ev_select.c, you might try to play around with disabling it here, or forcing it to use the fd_set provided by your OS, via the next question. I highly recommend keeping it in. Enable select backend (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** The select backend can operate in two modes. One uses the system-provided fd_set and is usually limited to 1024 file descriptors (64 on windows), the other requires your header files to define NFDBITS and declare a suitable fd_mask type. If you run into problems compiling ev_select.c, you can try forcing the use of the system fd_set here. Force use of system fd_set for select backend (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** The second very portable backend is poll(2). It does not exist on windows and various versions of Mac OS X (and on the other versions it simply doesn't work), but works basically everywhere else. It is recommended to use the default here unless you run into compile problems in ev_poll.c. Enable poll backend (y/n)? [y] y *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** EV by default uses select, which makes it hard to write efficient servers, especially if the number of active connections is much lower than the open ones. GNU/Linux systems have a more scalable method called "epoll", which EV can use. For this to work, both your kernel and glibc have to support epoll, but if you can compile it, the detection will be done at runtime, and EV will safely fall back to using select when epoll isn't available. If unsure, accept the default. Enable epoll backend (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Similarly to the epoll backend above, EV can take advantage of kqueue on many BSD systems (it seems to be broken on Mac OS X though, but what isn't broken on that shoddy platform... ah yes, the cash gushing by apple, selling defective software works perfectly there). Support for kqueue will be detected at runtime, with a safe fallback to other methods when it cannot be used. Enable kqueue backend (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Similarly to the kqueue backend above, EV can take advantage of the solaris 10 port interface. Support for port will be detected at runtime, with a safe fallback to other methods when it cannot be used. Enable port backend (y/n)? [n] n *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** EV needs the functions pthread_atfork and clock_gettime. On most systems you need some special libraries for this (such as -lrt and -lpthread). You can specify additional libraries to provide these calls now, or accept the default. Extra libraries for pthread_atfork and clock_gettime? [-lpthread -lrt] -lpthread -lrt Note (probably harmless): No library found for -lrt *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Checking if your kit is complete... Looks good Writing Makefile for EV cp EV/EVAPI.h blib/lib/EV/EVAPI.h cp libev/ev.h blib/lib/EV/ev.h cp EV/DNS.pm blib/lib/EV/DNS.pm cp EV.pm blib/lib/EV.pm cp EV/MakeMaker.pm blib/lib/EV/MakeMaker.pm /export/home/cpanrun/build/5.6.1/bin/perl -I/export/home/cpanrun/build/5.6.1/lib/5.6.1/sun4-solaris-thread-multi -I/export/home/cpanrun/build/5.6.1/lib/5.6.1 /export/home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/xsubpp -typemap /export/home/cpanrun/build/5.6.1/lib/5.6.1/ExtUtils/typemap -typemap typemap EV.xs > EV.xsc && mv EV.xsc EV.c gcc -c -Ilibev -DUSE_REENTRANT_API -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" -fPIC -I/export/home/cpanrun/build/5.6.1/lib/5.6.1/sun4-solaris-thread-multi/CORE -DEV_USE_MONOTONIC=1 -DEV_USE_REALTIME=1 -DEV_USE_SELECT=1 -DEV_USE_POLL=1 -DEV_USE_EPOLL=0 -DEV_USE_KQUEUE=0 -DEV_USE_PORT=0 EV.c In file included from EV.xs:21: libev/ev.c:631: warning: static declaration for `Perl_sighandler' follows non-static In file included from EV.xs:33: evdns.c:195: field `addresses' has incomplete type evdns.c:259: field `addr' has incomplete type evdns.c:260: parse error before `socklen_t' evdns.c:260: warning: no semicolon at end of struct or union evdns.c:277: parse error before `}' evdns.c:938: parse error before `socklen_t' evdns.c: In function `request_parse': evdns.c:949: `length' undeclared (first use in this function) evdns.c:949: (Each undeclared identifier is reported only once evdns.c:949: for each function it appears in.) evdns.c:949: `packet' undeclared (first use in this function) evdns.c:960: sizeof applied to an incomplete type evdns.c:962: sizeof applied to an incomplete type evdns.c:964: dereferencing pointer to incomplete type evdns.c:965: dereferencing pointer to incomplete type evdns.c:965: `addr' undeclared (first use in this function) evdns.c:965: `addrlen' undeclared (first use in this function) evdns.c:966: dereferencing pointer to incomplete type evdns.c:968: dereferencing pointer to incomplete type evdns.c:969: dereferencing pointer to incomplete type evdns.c:970: dereferencing pointer to incomplete type evdns.c:971: dereferencing pointer to incomplete type evdns.c:989: dereferencing pointer to incomplete type evdns.c:989: dereferencing pointer to incomplete type evdns.c:994: dereferencing pointer to incomplete type evdns.c:994: `port' undeclared (first use in this function) evdns.c:996: dereferencing pointer to incomplete type evdns.c:1001: dereferencing pointer to incomplete type evdns.c:1002: dereferencing pointer to incomplete type evdns.c:1003: dereferencing pointer to incomplete type evdns.c:1004: dereferencing pointer to incomplete type evdns.c: In function `server_port_read': evdns.c:1126: storage size of `addr' isn't known evdns.c:1127: `socklen_t' undeclared (first use in this function) evdns.c:1127: parse error before `addrlen' evdns.c:1131: `addrlen' undeclared (first use in this function) evdns.c:1131: sizeof applied to an incomplete type evdns.c: In function `server_port_flush': evdns.c:1151: dereferencing pointer to incomplete type evdns.c:1151: dereferencing pointer to incomplete type evdns.c:1152: dereferencing pointer to incomplete type evdns.c:1152: dereferencing pointer to incomplete type evdns.c: In function `evdns_server_request_add_reply': evdns.c:1441: dereferencing pointer to incomplete type evdns.c:1445: dereferencing pointer to incomplete type evdns.c:1450: dereferencing pointer to incomplete type evdns.c:1451: dereferencing pointer to incomplete type evdns.c:1454: dereferencing pointer to incomplete type evdns.c:1455: dereferencing pointer to incomplete type evdns.c:1458: dereferencing pointer to incomplete type evdns.c:1459: dereferencing pointer to incomplete type evdns.c: In function `evdns_server_request_format_response': evdns.c:1571: dereferencing pointer to incomplete type evdns.c:1575: dereferencing pointer to incomplete type evdns.c:1577: dereferencing pointer to incomplete type evdns.c:1578: dereferencing pointer to incomplete type evdns.c:1579: dereferencing pointer to incomplete type evdns.c:1580: dereferencing pointer to incomplete type evdns.c:1583: dereferencing pointer to incomplete type evdns.c:1584: dereferencing pointer to incomplete type evdns.c:1590: dereferencing pointer to incomplete type evdns.c:1591: dereferencing pointer to incomplete type evdns.c:1598: dereferencing pointer to incomplete type evdns.c:1600: dereferencing pointer to incomplete type evdns.c:1602: dereferencing pointer to incomplete type evdns.c:1639: dereferencing pointer to incomplete type evdns.c:1641: dereferencing pointer to incomplete type evdns.c:1641: dereferencing pointer to incomplete type evdns.c:1646: dereferencing pointer to incomplete type evdns.c:1646: dereferencing pointer to incomplete type evdns.c: In function `evdns_server_request_respond': evdns.c:1656: dereferencing pointer to incomplete type evdns.c:1657: dereferencing pointer to incomplete type evdns.c:1659: dereferencing pointer to incomplete type evdns.c:1664: dereferencing pointer to incomplete type evdns.c:1664: dereferencing pointer to incomplete type evdns.c:1665: dereferencing pointer to incomplete type evdns.c:1665: dereferencing pointer to incomplete type evdns.c:1672: dereferencing pointer to incomplete type evdns.c:1672: dereferencing pointer to incomplete type evdns.c:1673: dereferencing pointer to incomplete type evdns.c:1674: dereferencing pointer to incomplete type evdns.c:1675: dereferencing pointer to incomplete type evdns.c:1677: dereferencing pointer to incomplete type evdns.c:1677: dereferencing pointer to incomplete type evdns.c: In function `server_request_free_answers': evdns.c:1709: dereferencing pointer to incomplete type evdns.c:1711: dereferencing pointer to incomplete type evdns.c:1713: dereferencing pointer to incomplete type evdns.c: In function `server_request_free': evdns.c:1734: dereferencing pointer to incomplete type evdns.c:1735: dereferencing pointer to incomplete type evdns.c:1736: dereferencing pointer to incomplete type evdns.c:1737: dereferencing pointer to incomplete type evdns.c:1740: dereferencing pointer to incomplete type evdns.c:1741: dereferencing pointer to incomplete type evdns.c:1742: dereferencing pointer to incomplete type evdns.c:1743: dereferencing pointer to incomplete type evdns.c:1743: dereferencing pointer to incomplete type evdns.c:1745: dereferencing pointer to incomplete type evdns.c:1747: dereferencing pointer to incomplete type evdns.c:1750: dereferencing pointer to incomplete type evdns.c:1751: dereferencing pointer to incomplete type evdns.c:1756: dereferencing pointer to incomplete type evdns.c:1756: dereferencing pointer to incomplete type evdns.c:1757: dereferencing pointer to incomplete type evdns.c:1757: dereferencing pointer to incomplete type evdns.c:1758: dereferencing pointer to incomplete type evdns.c:1758: dereferencing pointer to incomplete type evdns.c:1762: dereferencing pointer to incomplete type evdns.c: In function `evdns_server_request_drop': evdns.c:1789: dereferencing pointer to incomplete type evdns.c: In function `evdns_server_request_get_requesting_addr': evdns.c:1798: dereferencing pointer to incomplete type evdns.c:1799: dereferencing pointer to incomplete type evdns.c:1801: dereferencing pointer to incomplete type evdns.c:1801: dereferencing pointer to incomplete type evdns.c:1802: dereferencing pointer to incomplete type evdns.c: In function `evdns_resolve_reverse_ipv6': evdns.c:2278: dereferencing pointer to incomplete type make: *** [EV.o] Error 1