Difference between revisions of "Libevent"
From CBLFS
Jump to navigationJump to searchm |
Weibullguy (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 26: | Line 26: | ||
=== 32Bit === | === 32Bit === | ||
− | + | Configure and compile the package: | |
+ | |||
+ | CC="gcc ${BUILD32}" ./configure --prefix=/usr && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== N32 === | === N32 === | ||
− | + | Configure and compile the package: | |
+ | |||
+ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib32 && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
=== 64Bit === | === 64Bit === | ||
− | + | Configure and compile the package: | |
+ | |||
+ | CC="gcc ${BUILD64}" ./configure --prefix=/usr \ | ||
+ | --libdir=/usr/lib64 && | ||
+ | make | ||
+ | |||
+ | Install the package: | ||
+ | |||
+ | make install | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 08:50, 8 February 2009
Download Source: | http://www.monkey.org/~provos/libevent-1.4.9-stable.tar.gz |
---|
Contents
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