Hi Friends, I am trying to compile mod_jk on Centos 5.2 64-bit but I am getting apxs not found. Whereas apxs is already there on the server type apxs apxs is /usr/sbin/apxs ./configure CFLAGS=' -arch x86_64 ' APXSLDFLAGS=' -arch x86_64 ' --with-apxs=/usr/sbin/apxs checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for test... /usr/bin/test checking for rm... /bin/rm checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl could not find /usr/sbin/apxs configure: error: You must specify a valid --with-apxs path httpd-devel is already installed on this server but still the error persisting. Installed Packages httpd.x86_64 2.2.3-11.el5_1.centos. installed httpd-devel.x86_64 2.2.3-11.el5_1.centos. installed httpd-manual.x86_64 2.2.3-11.el5_1.centos. installed Below is the config.log file This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.60. Invocation command line was $ ./configure CFLAGS=-arch x86_64 APXSLDFLAGS=-arch x86_64 --with-apxs=/usr/sbin/apxs ## --------- ## ## Platform. ## ## --------- ## hostname = webserver.example.com uname -m = x86_64 uname -r = 2.6.18-92.el5 uname -s = Linux uname -v = #1 SMP Tue Jun 10 18:51:06 EDT 2008 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /root/bin /configure CFLAGS=' -arch x86_64 ' APXSLDFLAGS=' -arch x86_64 ' --with-apxs=/usr/sbin/apxs checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for test... /usr/bin/test checking for rm... /bin/rm checking for grep... /bin/grep checking for echo... /bin/echo checking for sed... /bin/sed checking for cp... /bin/cp checking for mkdir... /bin/mkdir need to check for Perl first, apxs depends on it... checking for perl... /usr/bin/perl could not find /usr/sbin/apxs configure: error: You must specify a valid --with-apxs path cat config.log | more This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.60. Invocation command line was $ ./configure CFLAGS=-arch x86_64 APXSLDFLAGS=-arch x86_64 --with-apxs=/usr/sbin/apxs ## --------- ## ## Platform. ## ## --------- ## hostname = webserver.example.com uname -m = x86_64 uname -r = 2.6.18-92.el5 uname -s = Linux uname -v = #1 SMP Tue Jun 10 18:51:06 EDT 2008 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1996: checking build system type configure:2014: result: x86_64-unknown-linux-gnu configure:2036: checking host system type configure:2051: result: x86_64-unknown-linux-gnu configure:2073: checking target system type configure:2088: result: x86_64-unknown-linux-gnu configure:2134: checking for a BSD-compatible install configure:2190: result: /usr/bin/install -c configure:2201: checking whether build environment is sane configure:2244: result: yes configure:2309: checking for gawk configure:2325: found /bin/gawk configure:2336: result: gawk configure:2347: checking whether make sets $(MAKE) configure:2368: result: yes configure:2563: checking for test configure:2581: found /usr/bin/test configure:2594: result: /usr/bin/test configure:2605: checking for rm configure:2623: found /bin/rm configure:2636: result: /bin/rm configure:2647: checking for grep configure:2665: found /bin/grep configure:2678: result: /bin/grep configure:2689: checking for echo configure:2707: found /bin/echo configure:2720: result: /bin/echo configure:2731: checking for sed configure:2749: found /bin/sed configure:2762: result: /bin/sed configure:2773: checking for cp configure:2791: found /bin/cp configure:2804: result: /bin/cp configure:2815: checking for mkdir configure:2833: found /bin/mkdir configure:2846: result: /bin/mkdir configure:2871: result: need to check for Perl first, apxs depends on it... configure:2875: checking for perl configure:2893: found /usr/bin/perl configure:2906: result: /usr/bin/perl configure:2969: result: could not find /usr/sbin/apxs configure:2971: error: You must specify a valid --with-apxs path ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-arch x86_64' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=x86_64-unknown-linux-gnu ac_cv_path_CP=/bin/cp ac_cv_path_ECHO=/bin/echo ac_cv_path_GREP=/bin/grep ac_cv_path_MKDIR=/bin/mkdir ac_cv_path_PERL=/usr/bin/perl ac_cv_path_RM=/bin/rm ac_cv_path_SED=/bin/sed ac_cv_path_TEST=/usr/bin/test ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_make_make_set=yes ac_cv_target=x86_64-unknown-linux-gnu ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/ankush/tomcat-connectors-1.2.26-src/native/scripts/build/unix/missing --run aclocal-1.9' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='' AMTAR='${SHELL} /home/ankush/tomcat-connectors-1.2.26-src/native/scripts/build/unix/missing --run tar' APACHE20_OEXT='' APACHE_CONFIG_VARS='/home/ankush/tomcat-connectors-1.2.26-src/native/scripts/build/config_vars.mk' APACHE_DIR='' APXS='/usr/sbin/apxs' APXSCFLAGS='' APXSCPPFLAGS='' APXSLDFLAGS='-arch x86_64' AR='' AWK='gawk' CC='' CCDEPMODE='' CFLAGS='-arch x86_64' CP='/bin/cp' CPP='' CPPFLAGS='' CXX='' CXXCPP='' CXXDEPMODE='' CXXFLAGS='' CYGPATH_W='echo' DEFS='' DEPDIR='' ECHO='/bin/echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' F77='' FFLAGS='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' INSTALL_TYPE='' JAVA_HOME='' JK_JNI_WORKER='' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='' LIB_JK_TYPE='' LN_S='' LTLIBOBJS='' MAKEINFO='${SHELL} /home/ankush/tomcat-connectors-1.2.26-src/native/scripts/build/unix/missing --run makeinfo' MAKE_DYNAMIC_APACHE_FALSE='' MAKE_DYNAMIC_APACHE_TRUE='' MKDIR='/bin/mkdir' OBJEXT='' OS='' PACKAGE='mod_jk' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PERL='/usr/bin/perl' RANLIB='' RM='/bin/rm' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='' TEST='/usr/bin/test' VERSION='1.2.26' WEBSERVER='' ac_ct_CC='' ac_ct_CXX='' ac_ct_F77='' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='' am__include='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' apache_include='' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='/home/ankush/tomcat-connectors-1.2.26-src/native/scripts/build/unix/install-sh' int32_t_fmt='' int32_value='' int64_t_fmt='' int64_value='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='mkdir -p --' oldincludedir='/usr/include' pdfdir='${docdir}' pid_t_fmt='' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown' uint32_t_fmt='' uint32_t_hex_fmt='' uint64_t_fmt='' uint64_t_hex_fmt='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "mod_jk" #define VERSION "1.2.26" configure: exit 1 What mistake I am making while compiling mod_jk? Thanks & Regards Ankush