Downloading and Building APR
Procedure
- Install the Apache Portable Runtime (APR) and OpenSSL (if not already installed on the system).
-
For Debian-based Linux platform, execute the following command:
apt-get install build-essential libapr1-dev libssl-dev
-
For Redhat Linux, follow these steps:
- Download the source (.tar.gz) file for APR from the following URL:
-
Execute the following command to extract the package:
tar xvzf apr-1.5.0.tar.gz
-
Execute the following commands at the command prompt in sequence:
cd apr-1.5.0 ./configure make make install
- Check the path shown at the end of make install command. The directory specified by this path should contain apr-1-config. The apr-1-config is required to build the Tomcat native library as mentioned in Building Tomcat Native Library section.
Copyright © Cloud Software Group, Inc. All rights reserved.