Serf

From CBLFS
Revision as of 16:32, 22 January 2009 by Jim (talk | contribs) (New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://serf.googlecode.com/files/serf-{{Serf-Version}}.tar.bz2 |- !Required Patch: | http://svn.cross-lfs.o...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://serf.googlecode.com/files/serf-1.1.1.tar.bz2
Required Patch: http://svn.cross-lfs.org/svn/repos/patches/serf/serf-1.1.1-linking-1.patch

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}" 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}" 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=16689"