Package: autoconf
Version: 2.61-6
Severity: important

The generated configure script doesn't work on platforms where the
"diff" utility isn't available, such as Nokia's N810 Internet tablet
(with Maemo/OS2008, using BusyBox v1.6.1).

In fact, there are two problems:

1. The first test that uses diff fails with an obscur error message.
In my case, "checking for grep that handles long lines and -e". So,
I first thought the problem came from grep, until I remembered that
"diff" wasn't available.

2. The failure itself.

The fix is easy: use "cmp" instead of "diff" ("cmp" is available on
the N810). I don't know about the other platforms. So, I'd say that
one of the two commands should be tested, and if it doesn't work,
test the other one. If both fail, then output an error message.

To reproduce the problem, try to build MPFR 2.3.1[*] for instance.
The configure works OK after a sed 's/diff /cmp /'.

[*] http://www.mpfr.org/mpfr-2.3.1/mpfr-2.3.1.tar.bz2

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24.3-20080226 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages autoconf depends on:
ii  debianutils                   2.28.4     Miscellaneous utilities specific t
ii  m4                            1.4.10-1   a macro processing language
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 

Versions of packages autoconf recommends:
ii  automake [automaken]      1:1.10.1-3     A tool for generating GNU Standard
ii  automake1.7 [automaken]   1.7.9-9        A tool for generating GNU Standard
ii  automake1.8 [automaken]   1.8.5+nogfdl-2 A tool for generating GNU Standard
ii  automake1.9 [automaken]   1.9.6+nogfdl-3 A tool for generating GNU Standard

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to