yum install apr-devel gcc openssl-devel cd /opt/jasperreports-server-cp-5.5.0a/apache-tomcat/bin/ tar -zxvf tomcat-native.tar.gz cd tomcat-native-1.1.27-src/jni/native/ ./configure --with-apr=/usr/bin/apr-1-config --with-java-home=/opt/jasperreports-server-cp-5.5.0a/java/ --with-ssl=yes --prefix=/opt/jasperreports-server-cp-5.5.0a/apache-tomcat/ make && make install export LD_LIBRARY_PATH=/opt/jasperreports-server-cp-5.5.0a/apache-tomcat/lib sh /opt/jasperreports-server-cp-5.5.0a/ctlscript.sh restart