libevent is an asynchronous event notification software library. The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also supports callbacks due to signals or regular timeouts.
This package is known to build and work properly using an LFS-8.4 platform.
Download (HTTP): https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
Download MD5 sum: f3eeaed018542963b7d2416ef1135ecc
Download size: 1.0 MB
Estimated disk space required: 18 MB (add 1 MB for the tests and 6 MB for the API docs)
Estimated build time: 0.3 SBU (add 10 SBU for the tests)
Doxygen-1.8.15 (for API documentation)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libevent
Install libevent by running the following commands:
./configure --prefix=/usr --disable-static && make
If you have Doxygen-1.8.15 installed and wish to build API documentation, issue doxygen Doxyfile.
To test the results, issue: make verify.
Now, as the root
user:
make install
If you built the API documentation, install it by issuing the
following commands as the root
user:
install -v -m755 -d /usr/share/doc/libevent-2.1.8/api && cp -v -R doxygen/html/* \ /usr/share/doc/libevent-2.1.8/api
--disable-static
: This
switch prevents installation of static versions of the libraries.
Last updated on 2019-02-15 13:01:29 -0800