The Serf package contains 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.
This package is known to build and work properly using an LFS-7.4 platform.
Download (HTTP): https://serf.googlecode.com/files/serf-1.3.1.tar.bz2
Download MD5 sum: da5aca0cad19fd9c19129c3f8f7393dd
Download size: 136 KB
Estimated disk space required: 3.1 MB
Estimated build time: 0.1 SBU
Apr-Util-1.5.2, OpenSSL-1.0.1e, and SCons-2.3.0
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/serf
Install Serf by running the following commands:
sed -i "/Append/s:RPATH=libdir,::" SConstruct && sed -i "/Default/s:lib_static,::" SConstruct && sed -i "/Alias/s:install_static,::" SConstruct && scons PREFIX=/usr
To test the results, issue: scons check.
Now, as the root
user:
scons PREFIX=/usr install
sed -i "...": First command removes the runtime path from a shared library and the last two commands disable building and installing of the static library.
Last updated on 2013-09-06 10:46:32 -0700