aycanirican / hlibev Goto Github PK
View Code? Open in Web Editor NEWFFI interface to libev
License: BSD 3-Clause "New" or "Revised" License
FFI interface to libev
License: BSD 3-Clause "New" or "Revised" License
Having some issues trying to install hlibev. Any ideas what I'm doing wrong?
➜ ~ cabal install hlibev --verbose
/usr/bin/ghc --numeric-version
looking for package tool: ghc-pkg near compiler in /usr/bin
found package tool in /usr/bin/ghc-pkg
/usr/bin/ghc-pkg --version
/usr/bin/ghc --supported-languages
Reading installed packages...
/usr/bin/ghc-pkg dump --global
/usr/bin/ghc-pkg dump --user
Reading available packages...
Resolving dependencies...
selecting hlibev-0.2.8 (hackage) and discarding hlibev-0.1, 0.2, 0.2.1, 0.2.2,
0.2.3, 0.2.4, 0.2.5, 0.2.6 and 0.2.7
selecting network-2.2.1.7 (installed or hackage) and discarding network-2.0,
2.1.0.0, 2.2.0.0, 2.2.0.1, 2.2.1, 2.2.1.1, 2.2.1.2, 2.2.1.3, 2.2.1.4, 2.2.1.5
and 2.2.1.6
selecting parsec-2.1.0.1 (installed or hackage) and discarding parsec-2.0,
2.1.0.0, 3.0.0, 3.0.1 and 3.1.0
selecting base-3.0.3.2 (installed) and 4.2.0.0 (installed) and discarding
syb-0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2 and 0.2.1
selecting ghc-prim-0.2.0.0 (installed)
selecting integer-gmp-0.2.0.0 (installed)
selecting rts-1.0 (installed)
selecting syb-0.1.0.2 (installed)
In order, the following would be installed:
hlibev-0.2.8 (new package)
hlibev-0.2.8 has already been downloaded.
Extracting
/home/mwotton/.cabal/packages/hackage.haskell.org/hlibev/0.2.8/hlibev-0.2.8.tar.gz
to /tmp/hlibev-0.2.825303...
Configuring hlibev-0.2.8...
Dependency base ==4.2.0.0: using base-4.2.0.0
Dependency network ==2.2.1.7: using network-2.2.1.7
Using Cabal-1.8.0.2 compiled by ghc-6.12
Using compiler: ghc-6.12.1
Using install prefix: /home/mwotton/.cabal
Binaries installed in: /home/mwotton/.cabal/bin
Libraries installed in: /home/mwotton/.cabal/lib/hlibev-0.2.8/ghc-6.12.1
Private binaries installed in: /home/mwotton/.cabal/libexec
Data files installed in: /home/mwotton/.cabal/share/hlibev-0.2.8
Documentation installed in: /home/mwotton/.cabal/share/doc/hlibev-0.2.8
Using alex version 2.3.3 found on system at: /home/mwotton/.cabal/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.2 found on system at: /home/mwotton/.cabal/bin/c2hs
Using cpphs version 1.11 found on system at: /home/mwotton/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.3.4 found on system at: /usr/bin/gcc
Using ghc version 6.12.1 found on system at: /usr/bin/ghc
Using ghc-pkg version 6.12.1 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.6.0 found on system at: /usr/bin/haddock
Using happy version 1.17 found on system at: /usr/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.16 found on system at:
/home/mwotton/.cabal/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
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
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library hlibev-0.2.8...
Creating dist/build/Network (and its parents)
/usr/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=612 --lflag=-L/usr/lib --lflag=-Wl,-R,/usr/lib --lflag=-lev --cflag=-I/home/mwotton/.cabal/lib/network-2.2.1.7/ghc-6.12.1/include --cflag=-I/usr/lib/ghc-6.12.1/base-4.2.0.0/include --cflag=-I/usr/lib/ghc-6.12.1/include --lflag=-L/home/mwotton/.cabal/lib/network-2.2.1.7/ghc-6.12.1 --lflag=-Wl,-R,/home/mwotton/.cabal/lib/network-2.2.1.7/ghc-6.12.1 --lflag=-L/home/mwotton/.cabal/lib/parsec-2.1.0.1/ghc-6.12.1 --lflag=-Wl,-R,/home/mwotton/.cabal/lib/parsec-2.1.0.1/ghc-6.12.1 --lflag=-L/usr/lib/ghc-6.12.1/base-3.0.3.2 --lflag=-Wl,-R,/usr/lib/ghc-6.12.1/base-3.0.3.2 --lflag=-L/usr/lib/ghc-6.12.1/syb-0.1.0.2 --lflag=-Wl,-R,/usr/lib/ghc-6.12.1/syb-0.1.0.2 --lflag=-L/usr/lib/ghc-6.12.1/base-4.2.0.0 --lflag=-Wl,-R,/usr/lib/ghc-6.12.1/base-4.2.0.0 --lflag=-L/usr/lib/ghc-6.12.1/integer-gmp-0.2.0.0 --lflag=-Wl,-R,/usr/lib/ghc-6.12.1/integer-gmp-0.2.0.0 --lflag=-lgmp --lflag=-L/usr/lib/ghc-6.12.1/ghc-prim-0.2.0.0 --lflag=-Wl,-R,/usr/lib/ghc-6.12.1/ghc-prim-0.2.0.0 --lflag=-L/usr/lib/ghc-6.12.1 --lflag=-Wl,-R,/usr/lib/ghc-6.12.1 --lflag=-lm --lflag=-lffi --lflag=-lrt --lflag=-ldl -o dist/build/Network/Libev.hs Network/Libev.hsc
Libev.hsc: In function ‘main’:
Libev.hsc:183: error: ‘EVFLAG_SIGNALFD’ undeclared (first use in this function)
Libev.hsc:183: error: (Each undeclared identifier is reported only once
Libev.hsc:183: error: for each function it appears in.)
Libev.hsc:196: error: ‘EVBACKEND_ALL’ undeclared (first use in this function)
compiling dist/build/Network/Libev_hsc_make.c failed
command was: /usr/bin/gcc -c -D__GLASGOW_HASKELL__=612 -I/home/mwotton/.cabal/lib/network-2.2.1.7/ghc-6.12.1/include -I/usr/lib/ghc-6.12.1/base-4.2.0.0/include -I/usr/lib/ghc-6.12.1/include -I/usr/lib/ghc-6.12.1/include/ dist/build/Network/Libev_hsc_make.c -o dist/build/Network/Libev_hsc_make.o
cabal: Error: some packages failed to install:
hlibev-0.2.8 failed during the building phase. The exception was:
ExitFailure 1
Hi ^^
Would you plan to porting to libev 4.x?
Currently ubuntu 11.04 is bundle with libev 3.9
But ubuntu 11.10 will be bundle with libev 4.01.
Thank you ^^
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.