Package: adtool
Severity: normal
Tags: patch
The config.guess and config.sub scripts are too old for the ppc64
architecture.
When building 'adtool' on ppc64, I get the following error:
Try `/adtool-1.2/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for powerpc64-linux-gcc... powerpc64-linux-gcc
checking for C compiler default output... 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 powerpc64-linux-gcc accepts -g... yes
checking for powerpc64-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of powerpc64-linux-gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... Invalid configuration `powerpc64-linux': machine
`powerpc64' not recognized
configure: error: /bin/sh ./config.sub powerpc64-linux failed
make: *** [config.status] Error 1
With the attached patch 'adtool' can be compiled on ppc64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/adtool-1.2/debian/control ./debian/control
--- ../tmp-orig/adtool-1.2/debian/control 2005-03-12 15:14:17.388510624
+0100
+++ ./debian/control 2005-03-12 15:13:43.031538392 +0100
@@ -2,7 +2,7 @@
Section: admin
Priority: optional
Maintainer: Hilko Bengen <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), libldap2-dev
+Build-Depends: debhelper (>= 4.0.0), autotools-dev, libldap2-dev
Standards-Version: 3.6.1.0
Package: adtool
diff -urN ../tmp-orig/adtool-1.2/debian/rules ./debian/rules
--- ../tmp-orig/adtool-1.2/debian/rules 2005-03-12 15:14:17.390510320 +0100
+++ ./debian/rules 2005-03-12 15:13:28.490490256 +0100
@@ -27,6 +27,7 @@
config.status: configure
dh_testdir
# Add here commands to configure the package.
+ cp /usr/share/misc/config.{guess,sub} .
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info --sysconfdir=/etc
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]