Date: Mon, 16 May 2011 22:13:33 +0200 From: olli hauer <ohauer@gmx.de> To: Christer Solskogen <christer.solskogen@gmail.com> Cc: freebsd-ports <freebsd-ports@freebsd.org>, Alex Dupre <ale@freebsd.org>, apache@freebsd.org Subject: Re: Compiling tomcat-native barfs Message-ID: <4DD1856D.5060202@gmx.de> In-Reply-To: <BANLkTi=fHzw14RQv3wU7GFkzgzx_aEMDJQ@mail.gmail.com> References: <BANLkTi=fHzw14RQv3wU7GFkzgzx_aEMDJQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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-1.4.4.1.3.11 > tomcat-native-1.1.20 The tomcat-native Makefile copies the old apr_rules.mk to the build/ directory. In the file share/apr/build-1/apr_rules.mk 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 http://people.freebsd.org/~ohauer/diffs/patch-apr-1__Makefile.in or change adjust in /usr/local/share/apr/build-1/apr_rules.mk -top_builddir=/work/a/ports/devel/apr1/work/apr-1.4.4 +top_builddir=/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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DD1856D.5060202>