Difference between revisions of "Libevent"

From CBLFS
Jump to navigationJump to search
m
Line 26: Line 26:
 
=== 32Bit ===
 
=== 32Bit ===
  
  todo
+
Configure and compile the package:
 +
 
 +
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install
  
 
=== N32 ===
 
=== N32 ===
  
  todo
+
Configure and compile the package:
 +
 
 +
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib32 &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install
  
 
=== 64Bit ===
 
=== 64Bit ===
  
  todo
+
Configure and compile the package:
 +
 
 +
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
 +
    --libdir=/usr/lib64 &&
 +
make
 +
 
 +
Install the package:
 +
 
 +
make install

Revision as of 11:39, 16 November 2008

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
Retrieved from "?title=Libevent&oldid=16082"