Difference between revisions of "Serf"
From CBLFS
Jump to navigationJump to search(3 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | | + | | https://serf.googlecode.com/files/serf-{{Serf-Version}}.tar.bz2 |
|- | |- | ||
|} | |} | ||
Line 51: | Line 51: | ||
Compile the package: | Compile the package: | ||
− | CC="gcc ${BUILDN32}" USE_ARCH=n32 | + | 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=/usr/bin/apr-1-config \ | ||
--with-apr-util=/usr/bin/apu-1-config && | --with-apr-util=/usr/bin/apu-1-config && | ||
Line 65: | 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" \ |
− | + | 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 88: | Line 88: | ||
| None | | None | ||
|} | |} | ||
+ | |||
+ | [[Category:Networking Libraries]] |
Latest revision as of 12:46, 14 February 2013
Download Source: | https://serf.googlecode.com/files/serf-1.1.1.tar.bz2 |
---|
Contents
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 |