The Apache Portable Runtime (APR) is a supporting library for the Apache web server. It provides a set of application programming interfaces (APIs) that map to the underlying Operating System (OS). Where the OS doesn't support a particular function, APR will provide an emulation. Thus programmers can use the APR to make a program portable across different platforms.
This package is known to build and work properly using an LFS-7.10 platform.
Download (HTTP): http://archive.apache.org/dist/apr/apr-1.5.2.tar.bz2
Download (FTP): ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-1.5.2.tar.bz2
Download MD5 sum: 4e9769f3349fe11fc0a5e1b224c236aa
Download size: 808 KB
Estimated disk space required: 13 MB (additional 3 MB for the tests)
Estimated build time: 0.2 SBU (1.1 with tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/apr
Install Apr by running the following commands:
sed -i "/seems to be moved/s/^/#/" build/ltmain.sh && ./configure --prefix=/usr \ --disable-static \ --with-installbuilddir=/usr/share/apr-1/build && make
To test the results, issue: make test.
Now, as the root
user:
make install
sed -i ...: This sed silences several meaningless warnings from libtool.
--disable-static
: This
switch prevents installation of static versions of the libraries.
Last updated on 2016-08-27 10:00:09 -0700