Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 21:04:36 +0200
From:      Christer Solskogen <christer.solskogen@gmail.com>
To:        Alex Dupre <ale@freebsd.org>, freebsd-ports <freebsd-ports@freebsd.org>, apache@freebsd.org
Subject:   Compiling tomcat-native barfs
Message-ID:  <BANLkTi=fHzw14RQv3wU7GFkzgzx_aEMDJQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=fHzw14RQv3wU7GFkzgzx_aEMDJQ>