Difference between revisions of "APR"

From CBLFS
Jump to navigationJump to search
Line 23: Line 23:
 
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 39:
 
  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 45:
  
 
  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 53:
 
  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 59:
  
 
  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 67:
 
  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 73:
  
 
  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 81:
 
|-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 87:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directory:
 
! Installed Directory:
| /usr/lib/apr-1
+
| /usr/lib/apr-{{APR-Version2}}
 
|}
 
|}

Revision as of 16:46, 28 February 2007

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

Introduction to APR

<Package Needs Description>

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
Retrieved from "?title=APR&oldid=8007"