I am trying to compile APR native library for Tomcat. When I run the configure I get messages like this:
# ./configure --prefix=/opt/tomcat/apr-connector --with-apr=/usr/bin/apr-1-config --with-ssl=/usr checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for working mkdir -p... yes Tomcat Native Version: 1.1.12 checking for chosen layout... tcnative checking for APR... yes setting CC to "gcc" setting CPP to "gcc -E" checking for a BSD-compatible install... /usr/bin/install -c checking for JDK location (please wait)... /usr/java/latest from environment checking Java platform... checking Java platform... checking for sablevm... NONE adding "-I/usr/java/latest/include" to TCNATIVE_PRIV_INCLUDES checking os_type directory... linux adding "-I/usr/java/latest/include/linux" to TCNATIVE_PRIV_INCLUDES checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for OpenSSL library... using openssl from /usr/lib and /usr/include checking OpenSSL library version... ok checking for OpenSSL DSA support... yes setting TCNATIVE_LDFLAGS to "-lssl -lcrypto" adding "-DHAVE_OPENSSL" to CFLAGS setting TCNATIVE_LIBS to "" setting TCNATIVE_LIBS to " /usr/lib/libapr-1.la -lpthread -ldl" ./configure: line 4315: APR_INCLUDES: command not found ./configure: line 4316: APR_LIBS: command not found ./configure: line 4317: APR_LIB_TARGET: command not found ./configure: line 4318: APR_SO_EXT: command not found ./configure: line 4319: BASH: command not found ./configure: line 4320: BASH_ARGC: command not found ./configure: line 4321: BASH_ARGV: command not found ./configure: line 4322: BASH_LINENO: command not found --- SNIP --- In http://tomcat.apache.org/tomcat-6.0-doc/apr.html I see the following requirement: * JNI headers from Java compatible JDK 1.4+ Where do I get those JNI headers? I'm using Sun JDK 1.6.0_06 and I don't see them in the include/linux dir. Is anyone out there using the APR based Native library for Tomcat? Will it change my life? --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]