Difference between revisions of "Libevent"
From CBLFS
Jump to navigationJump to search (New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://www.monkey.org/~provos/libevent-{{Libevent-Version}}.tar.gz |} ---- {{Package-Introduction|The lib...) |
Weibullguy (talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.monkey.org/~provos/libevent-{{Libevent-Version}}.tar.gz | + | | http://www.monkey.org/~provos/libevent-{{Libevent-Version}}-stable.tar.gz |
|} | |} | ||
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