Reputation: 7056
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.
Upvotes: 2
Views: 2631
Reputation: 622
Since today libev is using cmake for the compilation, then here is a bit more updated answer:
cmake .
make
sudo make install
And if you don't have privileges you can the installation directory by:
cmake -DCMAKE_INSTALL_PREFIX=${INSTALLATION_DIR}/usr
make
make install
Upvotes: 0
Reputation: 11
If you not have privilege to root, you may make it but not install it.
Just simply cp *.o file to your program and use something like gcc -o test test.c ev.o
.
Upvotes: 1
Reputation: 1038
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 :)
Upvotes: 4