Giter Site home page Giter Site logo

hlibev's Issues

installation problem

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

libev 4.X

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 ^^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.