Difference between revisions of "Libevent"

From CBLFS
Jump to navigationJump to search
 
Line 58: Line 58:
  
 
  make install
 
  make install
 +
 +
[[Category:General Libs]]

Latest revision as of 09:50, 8 February 2009

Download Source: http://www.monkey.org/~provos/libevent-1.4.9-stable.tar.gz

Introduction to Libevent

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 support callbacks due to signals or regular timeouts

Project Homepage: http://www.monkey.org/~provos/libevent/

Dependencies

Non-Multilib

Configure and compile the package:

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

Install the package:

make install

Multilib

32Bit

Configure and compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package:

make install

N32

Configure and compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Configure and compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package:

make install