Compiling tomcat-native barfs

olli hauer ohauer at
Mon May 16 20:13:37 UTC 2011

On 2011-05-16 21:04, Christer Solskogen wrote:
> loyal# make
> ===>  License check disabled, port has not defined LICENSE
> ===>  Extracting for tomcat-native-1.1.20_2
> /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-
> tomcat-native-1.1.20

The tomcat-native Makefile copies the old to the build/ directory.
In the file share/apr/build-1/ a new variable was added and used
to construct paths during build time. In the install process this should be replaced
by the target dir but the new variable was forgotten to rewrite.

Quick fix for apr (just committed, copy to apr1/files)
This patch was send tu upstream

or change adjust in /usr/local/share/apr/build-1/


(the old path will be different from yours)

Until now I haven't found any other port affected by this issue.

More information about the freebsd-ports mailing list