APR

From CBLFS
Revision as of 15:39, 19 March 2009 by Jciccone (talk | contribs)
Jump to navigationJump to search
Download Source: ftp://ftp.oregonstate.edu/pub/apache/apr/apr-1.4.6.tar.bz2

Introduction to APR

Project Homepage: Unknown

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr \
    --with-installbuilddir=/usr/lib/apr-1 &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" USE_ARCH=32 \
./configure --prefix=/usr \
    --with-installbuilddir=/usr/lib/apr-1 &&
make

Install the package:

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

N32

Compile the package:

CC="gcc ${BUILDN32}" USE_ARCH=n32 \
./configure --prefix=/usr --libdir=/usr/lib32 \
    --with-installbuilddir=/usr/lib32/apr-1 &&
make

Install the package:

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

64Bit

Compile the package:

CC="gcc ${BUILD64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 \
    --with-installbuilddir=/usr/lib64/apr-1 &&
make

Install the package:

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

Contents

Installed Programs: apr-1-config
Installed Libraries: libapr-1.{so,la,a}
Installed Directory: /usr/lib/apr-1
Retrieved from "?title=APR&oldid=17595"