Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 65997 invoked from network); 10 Sep 2008 21:40:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 21:40:59 -0000 Received: (qmail 42881 invoked by uid 500); 10 Sep 2008 21:40:45 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 42645 invoked by uid 500); 10 Sep 2008 21:40:44 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 42634 invoked by uid 99); 10 Sep 2008 21:40:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 14:40:44 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.227.30.149] (HELO mailserver.kippdata.de) (195.227.30.149) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 21:39:46 +0000 Received: from [192.168.2.105] ([192.168.2.105]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id m8ALWkOW004214 for ; Wed, 10 Sep 2008 23:32:47 +0200 (CEST) Message-ID: <48C83CCB.8020706@kippdata.de> Date: Wed, 10 Sep 2008 23:31:55 +0200 From: Rainer Jung User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Problems Configuring APR Based Native Libraries for Tomcat References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Nicholas Schuetz schrieb: > 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? See: http://marc.info/?t=120171192500012&r=1&w=2 Should be fixed in 1.1.13+. 1.1.14 is available for download, 1.1.15 will be there very soon. Regards, Rainer --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org