Difference between revisions of "APR"

From CBLFS
Jump to navigationJump to search
(add package introduction)
 
(6 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
----
 
----
  
== Introduction to APR ==
 
  
<Package Needs Description>
+
{{Package-Introduction|The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.|http://apr.apache.org/}}
 
 
Project HomePage: http://apr.apache.org/
 
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Optional ===
 
=== Optional ===
* [[Electric Fence]]
+
* [[DUMA]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 23: Line 20:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr --with-installbuilddir=/usr/lib/apr-1 &&
+
  ./configure --prefix=/usr \
 +
    --with-installbuilddir=/usr/lib/apr-{{APR-Version2}} &&
 
  make
 
  make
  
Line 38: Line 36:
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  ./configure --prefix=/usr \
 
  ./configure --prefix=/usr \
     --with-installbuilddir=/usr/lib/apr-1 &&
+
     --with-installbuilddir=/usr/lib/apr-{{APR-Version2}} &&
 
  make
 
  make
  
Line 44: Line 42:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/apr-1-config{,-32}
+
  mv -v /usr/bin/apr-{{APR-Version2}}-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 52: Line 50:
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
 
  ./configure --prefix=/usr --libdir=/usr/lib32 \
 
  ./configure --prefix=/usr --libdir=/usr/lib32 \
     --with-installbuilddir=/usr/lib32/apr-1 &&
+
     --with-installbuilddir=/usr/lib32/apr-{{APR-Version2}} &&
 
  make
 
  make
  
Line 58: Line 56:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/apr-1-config{,-n32}
+
  mv -v /usr/bin/apr-{{APR-Version2}}-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 66: Line 64:
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  ./configure --prefix=/usr --libdir=/usr/lib64 \
 
  ./configure --prefix=/usr --libdir=/usr/lib64 \
     --with-installbuilddir=/usr/lib64/apr-1 &&
+
     --with-installbuilddir=/usr/lib64/apr-{{APR-Version2}} &&
 
  make
 
  make
  
Line 72: Line 70:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/apr-1-config{,-64} &&
+
  mv -v /usr/bin/apr-{{APR-Version2}}-config{,-64} &&
  ln -sfv multiarch_wrapper /usr/bin/apr-1-config
+
  ln -sfv multiarch_wrapper /usr/bin/apr-{{APR-Version2}}-config
  
 
== Contents ==
 
== Contents ==
Line 80: Line 78:
 
|-valign="top"
 
|-valign="top"
 
! Installed Programs:
 
! Installed Programs:
| apr-1-config
+
| apr-{{APR-Version2}}-config
 
|-valign="top"
 
|-valign="top"
 
! Installed Libraries:
 
! Installed Libraries:
Line 86: Line 84:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directory:
 
! Installed Directory:
| /usr/lib/apr-1
+
| /usr/lib/apr-{{APR-Version2}}
 
|}
 
|}
 +
 +
[[Category:Programming]]

Latest revision as of 08:45, 25 July 2009

Download Source: ftp://ftp.oregonstate.edu/pub/apache/apr/apr-1.4.6.tar.bz2


Introduction to APR

The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations.

Project Homepage: http://apr.apache.org/

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