Serf

From CBLFS
Jump to navigationJump to search
Download Source: https://serf.googlecode.com/files/serf-1.1.1.tar.bz2

Introduction to Serf

The serf library is a C-based HTTP client library built upon the Apache Portable Runtime (APR) library. It multiplexes connections, running the read/write communication asynchronously. Memory copies and transformations are kept to a minimum to provide high performance operation.

Project Homepage: http://code.google.com/p/serf/

Dependencies

Required

None

Optional

  • OpenSSL Add --with-openssl=/usr to configure

Non-Multilib

Compile the package:

./configure --prefix=/usr \
  --with-apr=/usr/bin/apr-1-config \
  --with-apr-util=/usr/bin/apu-1-config &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr \
  --with-apr=/usr/bin/apr-1-config \
  --with-apr-util=/usr/bin/apu-1-config &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" LDFLAGS="-L/usr/lib32 -R/usr/lib32" \
 USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
  --with-apr=/usr/bin/apr-1-config \
  --with-apr-util=/usr/bin/apu-1-config &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" LDFLAGS="-L/usr/lib64 -Wl,-rpath-link,/usr/lib64" \
 USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
  --with-apr=/usr/bin/apr-1-config \
  --with-apr-util=/usr/bin/apu-1-config &&
make

Install the package:

make install

Contents

Installed Programs: None
Installed Libraries: libserf-0.{so,la,a}
Installed Directory: None