Serf

From CBLFS
Revision as of 12:46, 14 February 2013 by Kb0iic (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
Retrieved from "?title=Serf&oldid=21491"