APR-util

From CBLFS
Revision as of 13:31, 16 April 2007 by Jciccone (talk | contribs)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Download Source: ftp://ftp.oregonstate.edu/pub/apache/apr/apr-util-1.4.6.tar.bz2

Introduction to APR-util

Project Homepage: Unknown

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --with-ldap \
    --with-berkeley-db=/usr \
    --with-apr=/usr/bin/apr-1-config &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr --with-ldap \
    --with-berkeley-db=/usr \
    --with-apr=/usr/bin/apr-1-config &&
make

Install the package:

make install &&
mv -v /usr/bin/apu-1-config{,-32}

N32

Compile the package:

sed -i -e "/expat_\(ldflags\|libtool\)/s:/lib:&32:" \
       -e 's:$\(withval\|found\)/lib:&32:g' configure &&
CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 --with-ldap \
    --with-berkeley-db=/usr \
    --with-apr=/usr/bin/apr-1-config &&
make

Install the package:

make install &&
mv -v /usr/bin/apu-1-config{,-n32}

64Bit

Compile the package:

sed -i -e "/expat_\(ldflags\|libtool\)/s:/lib:&64:" \
       -e 's:$\(withval\|found\)/lib:&64:g' configure &&
CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 --with-ldap \
    --with-berkeley-db=/usr \
    --with-apr=/usr/bin/apr-1-config &&
make

Install the package:

make install &&
mv -v /usr/bin/apu-1-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/apu-1-config

Contents

Installed Programs: apu-1-config
Installed Libraries: libaprutil-1.{so,la,a}
Installed Directorys: None