Mod_JK binary compile steps
Oct 29, 2022
Download the binary from apache website:
[ https://tomcat.apache.org/download-connectors.cgi ]
Setup Steps:
[https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html]
Packages to install before compilation starts:
# Setup Apache and some required libraries required to compile the mod_jk source code.
$ yum install httpd httpd-devel apr apr-devel apr-util apr-util-devel gcc gcc-c++ make autoconf
COMPILATION STEPS:
# Compile the source to get mod_jk.so
# apxs - Provide the location available in your system.
$ tar xzvf tomcat−connectors−1.2.32−src.tar.gz
$ cd tomcat−connectors−1.2.32−src/native
$ ./configure --with-apxs=/usr/sbin/apxs
$ make
$ make install
Errors that may be faced during setup and Solutions:
SOLUTIONS:
sudo dnf install redhat-rpm-config