Difference between revisions of "APR-util"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | ftp://ftp.oregonstate.edu/pub/apache/apr/apr-util-{{APR-Version}}.tar.bz2 |} ---- == Introduction to APR ...)
 
 
(4 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| ftp://ftp.oregonstate.edu/pub/apache/apr/apr-util-{{APR-Version}}.tar.bz2
+
| ftp://ftp.oregonstate.edu/pub/apache/apr/apr-util-{{APR-util-Version}}.tar.bz2
 
|}
 
|}
  
 
----
 
----
  
== Introduction to APR ==
+
{{Blank-Package-Introduction}}
 
 
<Package Needs Description>
 
 
 
Project HomePage: http://apr.apache.org/
 
  
 
== Dependencies ==
 
== Dependencies ==
Line 18: Line 14:
 
* [[APR]]
 
* [[APR]]
 
=== Optional ===
 
=== Optional ===
* [[OpenLDAP]]
+
* [[OpenLDAP]] -- Add --with-ldap to configure
* [[Berkeley DB]]
+
* [[Berkeley DB]] -- Add --with-berkeley-db=/usr to configure
 
* [[SQLite3]]
 
* [[SQLite3]]
 
* [[SQLite]]
 
* [[SQLite]]
Line 28: Line 24:
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr --with-ldap \
+
  ./configure --prefix=/usr \
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
  make
 
  make
Line 43: Line 39:
  
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
 
  CC="gcc ${BUILD32}" USE_ARCH=32 \
  ./configure --prefix=/usr --with-ldap \
+
  ./configure --prefix=/usr \
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
  make
 
  make
Line 50: Line 46:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/apu-1-config{,-32}
+
  mv -v /usr/bin/apu-{{APR-Version2}}-config{,-32}
  
 
=== N32 ===
 
=== N32 ===
Line 56: Line 52:
 
Compile the package:
 
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 \
 
  CC="gcc ${BUILDN32}" USE_ARCH=n32 \
  ./configure --prefix=/usr --libdir=/usr/lib32 --with-ldap \
+
  ./configure --prefix=/usr --libdir=/usr/lib32 \
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
  make
 
  make
Line 64: Line 62:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/apu-1-config{,-n32}
+
  mv -v /usr/bin/apu-{{APR-Version2}}-config{,-n32}
  
 
=== 64Bit ===
 
=== 64Bit ===
Line 70: Line 68:
 
Compile the package:
 
Compile the package:
  
  sed -i "/expat_\(ldflags\|libtool\)/s:/lib:&64:" configure &&
+
  sed -i -e "/expat_\(ldflags\|libtool\)/s:/lib:&64:" \
 +
        -e 's:$\(withval\|found\)/lib:&64:g' configure &&
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
 
  CC="gcc ${BUILD64}" USE_ARCH=64 \
  ./configure --prefix=/usr --libdir=/usr/lib64 --with-ldap \
+
  ./configure --prefix=/usr --libdir=/usr/lib64 \
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
     --with-apr=/usr/bin/apr-{{APR-Version2}}-config &&
 
  make
 
  make
Line 79: Line 78:
  
 
  make install &&
 
  make install &&
  mv -v /usr/bin/apu-{{APR-Version2}}-config{,-64}
+
  mv -v /usr/bin/apu-{{APR-Version2}}-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/apu-{{APR-Version2}}-config
 
  ln -sfv multiarch_wrapper /usr/bin/apu-{{APR-Version2}}-config
  
Line 95: Line 94:
 
| None
 
| None
 
|}
 
|}
 +
 +
[[Category:Programming]]

Latest revision as of 15:39, 19 March 2009

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

Introduction to APR-util

Project Homepage: Unknown

Dependencies

Required

Optional

Non-Multilib

Compile the package:

./configure --prefix=/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-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-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-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
Retrieved from "?title=APR-util&oldid=17596"