libevent-2.1.11

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 17. Networking Libraries

- Prev

  ldns-1.7.1

- Next

  libnl-3.4.0

- Up
- Home

# libevent-2.1.11

## Introduction to libevent

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-9.0 platform.

### Package Information

- Download (HTTP): https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz

- Download MD5 sum: 7f35cfe69b82d879111ec0d7b7b1c531

- Download size: 1.0 MB

- Estimated disk space required: 20 MB (add 4 MB for tests and 4 MB for API docs)

- Estimated build time: 0.3 SBU (add 11 SBU for tests)

### libevent Dependencies

#### Optional

Doxygen-1.8.16 (for API documentation)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libevent

## Installation of libevent

Install libevent by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

If you have Doxygen-1.8.16 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.11/api &&
    cp      -v -R       doxygen/html/* \
                        /usr/share/doc/libevent-2.1.11/api

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Program: event_rpcgen.py
Installed Libraries: libevent_core.so, libevent_extra.so, libevent_openssl.so, libevent_pthreads.so and libevent.so
Installed Directory: /usr/include/event2 and /usr/share/doc/libevent-2.1.11

Last updated on 2019-08-17 10:19:34 -0700

- Prev

  ldns-1.7.1

- Next

  libnl-3.4.0

- Up
- Home