libev-4.33

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 2. General Libraries

- Prev

  iniparser-4.2.6

- Next

  libime-1.1.13

- Up
- Home

# libev-4.33

## Introduction to libev

The libev package is a full-featured, high-performant library containing an event loop loosely modelled after libevent.

- Download: http://dist.schmorp.de/libev/Attic/libev-4.33.tar.gz

## Installation of libev

Install libev by running the following commands:

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

Now, as the `root` user:

    make   DESTDIR=$PWD/DESTDIR install &&
    rm -v  DESTDIR/usr/include/event.h  &&
    cp -vR DESTDIR/usr/* /usr           &&
    ldconfig

## Command Explanations

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

rm -v DESTDIR/usr/include/event.h: This command removes a file before installation that conflicts with libevent. If it is not removed, packages that depend on libevent will fail to build as they assume `event.h` is provided by libevent which would be incorrect.

## Contents

Installed Programs: None
Installed Libraries: libev
Installed Directories: None

### Short Descriptions

`libev` | contains event loop functions

- Prev

  iniparser-4.2.6

- Next

  libime-1.1.13

- Up
- Home