Compiling tomcat-native barfs

Christer Solskogen christer.solskogen at
Mon May 16 19:04:57 UTC 2011

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"
  setting TCNATIVE_LIBS to ""
  setting TCNATIVE_LIBS to " /usr/local/lib/ -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/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
*** 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.


More information about the freebsd-ports mailing list