libeventevent-looplibev

compile libev (dev) under CentOS


I was wondering if there were instructions somewhere on how to compile libev-dev on Linux (CentOS) 64 bit. I was not able to locate the dev package associated with libev nor any tutorials on its compilation. p.s: no package managers please - since I am installing on the cloud with no previliges.


Solution

  • First, download the source package and unzip it to somewhere. And then try this:

    cd /path/to/libev
    ./autogen.sh
    ./configure
    make
    sudo make install
    

    It works for me. Hope it also works for you :)