*** setup configure Configuring hlibev-0.1... Dependency base-any: using base-3.0.2.0 Dependency network-any: using network-2.2.0.0 Using compiler: ghc-6.8.3 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/hlibev-0.1/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/hlibev-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/hlibev-0.1 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using ghc version 6.8.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.0 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.66-ghc found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.9 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library hlibev-0.1... Creating dist/build/Network (and its parents) /usr/local/bin/hsc2hs --cc=/usr/local/bin/ghc --ld=/usr/local/bin/ghc --cflag=-package --cflag=base-3.0.2.0 --cflag=-package --cflag=network-2.2.0.0 --lflag=-optl-L/usr/lib --lflag=-optl-lev -o dist/build/Network/Libev.hs Network/Libev.hsc Libev.hsc:34:16: error: ev.h: No such file or directory Libev.hsc: In function 'main': Libev.hsc:40:0: error: 'EV_READ' undeclared (first use in this function) Libev.hsc:40:0: error: (Each undeclared identifier is reported only once Libev.hsc:40:0: error: for each function it appears in.) Libev.hsc:42:0: error: 'EV_WRITE' undeclared (first use in this function) Libev.hsc:58:0: error: invalid application of 'sizeof' to incomplete type 'struct ev_watcher' Libev.hsc:62:0: error: invalid application of 'sizeof' to incomplete type 'struct ev_io' Libev.hsc:65:0: error: expected specifier-qualifier-list before 'ev_io' Libev.hsc:65:0: error: expected ';' before ')' token Libev.hsc:65:0: error: expected statement before ')' token Libev.hsc:66:0: error: expected specifier-qualifier-list before 'ev_io' Libev.hsc:66:0: error: expected ';' before ')' token Libev.hsc:66:0: error: expected statement before ')' token Libev.hsc:69:0: error: expected specifier-qualifier-list before 'ev_io' Libev.hsc:69:0: error: expected ';' before ')' token Libev.hsc:69:0: error: expected statement before ')' token Libev.hsc:70:0: error: expected specifier-qualifier-list before 'ev_io' Libev.hsc:70:0: error: expected ';' before ')' token Libev.hsc:70:0: error: expected statement before ')' token Libev.hsc:73:0: error: invalid application of 'sizeof' to incomplete type 'struct ev_timer' Libev.hsc:76:0: error: expected specifier-qualifier-list before 'ev_timer' Libev.hsc:76:0: error: expected ';' before ')' token Libev.hsc:76:0: error: expected statement before ')' token Libev.hsc:79:0: error: expected specifier-qualifier-list before 'ev_timer' Libev.hsc:79:0: error: expected ';' before ')' token Libev.hsc:79:0: error: expected statement before ')' token compiling dist/build/Network/Libev_hsc_make.c failed command was: /usr/local/bin/ghc -c -package base-3.0.2.0 -package network-2.2.0.0 dist/build/Network/Libev_hsc_make.c -o dist/build/Network/Libev_hsc_make.o