From owner-freebsd-apache@FreeBSD.ORG Mon May 16 19:29:19 2011 Return-Path: Delivered-To: apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EBED1065670 for ; Mon, 16 May 2011 19:29:19 +0000 (UTC) (envelope-from christer.solskogen@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id EDB748FC16 for ; Mon, 16 May 2011 19:29:18 +0000 (UTC) Received: by vxc34 with SMTP id 34so4638588vxc.13 for ; Mon, 16 May 2011 12:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=vqiUZkHTA+wDH/y1QcSfJnZ+q1sU1bNJn9T7gI8Ovrk=; b=ERKUr7pRt3ac/C2uU4HQxAU25NY+f2K/X/AGOP13zic1QjpkeqGCXQv8Q5OLschI6Z gyeZwYEa9txmiujXP9wrazEA5KuBi7LM7k5GumPOLBsf2QoVVQDWKukYfsRbnWYTIyK1 JGwmjROUVWuF9EYUFWVhxKdjR+u5hTl71SNUA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=vtauT5ePC5R1UyXmMCBM/a5TYIU0m8L2jrABgloJdhfFCq7MBFcgYYeqJ0ND2x3TLf mY+l5DRzry1x0ejeyyTr1423w2oVyWqHT6ap0fW9iDtO4lylwf2wC7KAffMLU6ZGej4I wevxIzG9cIgsth+v+/LOFq/tCfCI7ylmWAiGc= Received: by 10.52.114.196 with SMTP id ji4mr3907975vdb.29.1305572696105; Mon, 16 May 2011 12:04:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.111.196 with HTTP; Mon, 16 May 2011 12:04:36 -0700 (PDT) From: Christer Solskogen Date: Mon, 16 May 2011 21:04:36 +0200 Message-ID: To: Alex Dupre , freebsd-ports , apache@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Compiling tomcat-native barfs X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2011 19:29:19 -0000 loyal# make ===> License check disabled, port has not defined LICENSE ===> Extracting for tomcat-native-1.1.20_2 => SHA256 Checksum OK for tomcat-native-1.1.20-src.tar.gz. ===> Patching for tomcat-native-1.1.20_2 ===> Applying FreeBSD patches for tomcat-native-1.1.20_2 ===> tomcat-native-1.1.20_2 depends on file: /usr/local/openjdk6/bin/java - found ===> tomcat-native-1.1.20_2 depends on shared library: apr-1 - found ===> Configuring for tomcat-native-1.1.20_2 checking build system type... amd64-portbld-freebsd8.2 checking host system type... amd64-portbld-freebsd8.2 checking target system type... amd64-portbld-freebsd8.2 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for working mkdir -p... yes Tomcat Native Version: 1.1.20 checking for chosen layout... tcnative checking for APR... yes checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for JDK location (please wait)... /usr/local/openjdk6 checking Java platform... checking Java platform... checking for sablevm... NONE adding "-I/usr/local/openjdk6/include" to TCNATIVE_PRIV_INCLUDES checking os_type directory... freebsd adding "-I/usr/local/openjdk6/include/freebsd" to TCNATIVE_PRIV_INCLUDES checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for OpenSSL library... using openssl from /lib and /include checking OpenSSL library version... ok checking for OpenSSL DSA support... no adding "-I/include" to TCNATIVE_PRIV_INCLUDES setting TCNATIVE_LDFLAGS to "-L/lib -lssl -lcrypto" adding "-DHAVE_OPENSSL" to CFLAGS setting TCNATIVE_LIBS to "" setting TCNATIVE_LIBS to " /usr/local/lib/libapr-1.la -lcrypt -pthread" adding "-rpath=/usr/lib:/usr/local/lib" to TCNATIVE_LDFLAGS configure: creating ./config.status config.status: creating tcnative.pc config.status: creating Makefile config.status: executing default commands ===> Building for tomcat-native-1.1.20_2 /bin/sh /usr/obj/usr/ports/devel/apr1/work/apr-1.4.4/libtool --silent --mode=compile cc -g -O2 -DHAVE_CONFIG_H -O2 -pipe -march=native -fno-strict-aliasing -DHAVE_OPENSSL -I/usr/obj/bjelle/usr/ports/www/tomcat-native/work/tomcat-native-1.1.20-src/jni/native/include -I/usr/local/openjdk6/include -I/usr/local/openjdk6/include/freebsd -I/include -I/usr/local/include/apr-1 -o src/info.lo -c src/info.c && touch src/info.lo /usr/obj/usr/ports/devel/apr1/work/apr-1.4.4/libtool: Can't open /usr/obj/usr/ports/devel/apr1/work/apr-1.4.4/libtool: No such file or directory *** Error code 2 Stop in /usr/obj/bjelle/usr/ports/www/tomcat-native/work/tomcat-native-1.1.20-src/jni/native. *** Error code 1 Stop in /usr/obj/bjelle/usr/ports/www/tomcat-native/work/tomcat-native-1.1.20-src/jni/native. *** Error code 1 Stop in /usr/ports/www/tomcat-native. I wonder why apr wants to use libtool from its build directory. apr-ipv6-devrandom-gdbm-db42-1.4.4.1.3.11 tomcat-native-1.1.20 -- chs,