Bug#369881: libapr1-dev: apr_rules.mk assumes local libtool is available in /usr/share/apr1.0/build - but its not there
Package: libapr1-dev
Version: 1.2.7-2
Severity: important
In the file /usr/share/apr1.0/build/apr_rules.mk
The following two lines exist
apr_builddir=/usr/share/apr-1.0/build
...
LIBTOOL=$(SHELL) $(apr_builddir)/libtool
In the upstream sources apr_builddir is defined as the parent of this
directory and a local copy of libtool is in that parent.
The Debian package does not have a copy of this local libtool stored
anywhere.
As a result, an attempt to build tomcats native connector - which is
trying to use this library fails.
Unfortunately I don't think its as simple as putting a version of libtool
in this directory. I tried that and got the following error building
tomcat native library
make[1]: Entering directory `/home/alan/dev/tomcat-native-1.1.3/jni/native'
/bin/sh /usr/share/apr-1.0/build/libtool --silent --mode=compile
i486-linux-gnu-gcc -pipe -Wall -g -O2 -pthread -pipe -Wall -g -O2
-DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-g -O2 -DHAVE_OPENSSL
-I/home/alan/dev/tomcat-native-1.1.3/jni/native/include
-I/usr/lib/jvm/java-1.5.0-sun/include
-I/usr/lib/jvm/java-1.5.0-sun/include/linux -I/usr/include/apr-1.0 -o
src/os.lo -c src/os.c && touch src/os.lo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages libapr1-dev depends on:
ii libapr1 1.2.7-2 The Apache Portable Runtime Librar
ii uuid-dev 1.2-1.39-1 universally unique id library - he
libapr1-dev recommends no packages.
-- no debconf information
Reply to: