Difference between revisions of "Serf"

From CBLFS
Jump to navigationJump to search
(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...)
 
 
(4 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://serf.googlecode.com/files/serf-{{Serf-Version}}.tar.bz2
+
| https://serf.googlecode.com/files/serf-{{Serf-Version}}.tar.bz2
|-
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/serf/serf-{{Serf-Version}}-linking-1.patch
 
 
|-
 
|-
 
|}
 
|}
Line 54: Line 51:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
+
  CC="gcc ${BUILDN32}" LDFLAGS="-L/usr/lib32 -R/usr/lib32" \
./configure --prefix=/usr --libdir=/usr/lib32 \
+
  USE_ARCH=n32 ./configure --prefix=/usr --libdir=/usr/lib32 \
 
   --with-apr=/usr/bin/apr-1-config \
 
   --with-apr=/usr/bin/apr-1-config \
 
   --with-apr-util=/usr/bin/apu-1-config &&
 
   --with-apr-util=/usr/bin/apu-1-config &&
Line 68: Line 65:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" USE_ARCH=64 \
+
  CC="gcc ${BUILD64}" LDFLAGS="-L/usr/lib64 -Wl,-rpath-link,/usr/lib64" \
./configure --prefix=/usr --libdir=/usr/lib64 \
+
  USE_ARCH=64 ./configure --prefix=/usr --libdir=/usr/lib64 \
 
   --with-apr=/usr/bin/apr-1-config \
 
   --with-apr=/usr/bin/apr-1-config \
 
   --with-apr-util=/usr/bin/apu-1-config &&
 
   --with-apr-util=/usr/bin/apu-1-config &&
Line 91: Line 88:
 
| None
 
| None
 
|}
 
|}
 +
 +
[[Category:Networking Libraries]]

Latest revision as of 13:46, 14 February 2013

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