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 12.1 platform.
Download (HTTP): https://archive.apache.org/dist/apr/apr-1.7.4.tar.bz2
Download MD5 sum: f8a62f3984898ba0ea8b6f26b851cb99
Download size: 876 KB
Estimated disk space required: 11 MB (additional 4 MB for the tests)
Estimated build time: 0.1 SBU (add 1.4 SBU for tests)
Install Apr by running the following commands:
./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
--disable-static
: This
switch prevents installation of static versions of the libraries.