[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: BUG: tests/scripts/defines.sh has bad DIFF line



I'll grab that from sunfreeware, then.  I know the GNU tools are almost
always better than the standard solaris ones, but it's a little hokey to
require this one.  

Hmm, what other gnu tools are required?  ld?  make?  I've been trying to use
the solaris tools whenever possible, but I may have to change strategy here.
I know when building postfix that Weitse Venema prefers the solaris tools
(minus gcc).

--
Andrew Diederich

-----Original Message-----
From: Igor Brezac [mailto:igor@ipass.net]
Sent: Thursday, September 26, 2002 13:16
To: Andrew Diederich
Cc: openLDAP (E-mail)
Subject: Re: BUG: tests/scripts/defines.sh has bad DIFF line



Try to build a GNU diff from
ftp://ftp.gnu.org/gnu/diffutils/diffutils-2.8.1.tar.gz
and try again.
Or download a diffutils package from http://sunfreeware.com/.

-Igor

On Thu, 26 Sep 2002, Andrew Diederich wrote:

> I've spent some time with the test scripts in tracking down my problems.
It
> looks like the tests/scripts/defines.sh has an incorrect diff line.  I
found
> this when running 'make test' on 2.1.4, and it failed on test001-slapadd
> (diff: illegal option --u)
>
> diff on solaris does not have the -u option.  diff on my SuSE box does,
and
> it's for unified diff output.
>
> The line is 43, and looks like: DIFF="diff -iu"
>
> The defines.sh is in the original tar file, and is not generated with
> ./configure.  It doesn't fix my problem in running tests with 2.1.4 or
2.1.5
> (and .4 even core dumps), but it is a bug.  (I tried just removing the u,
> but of course the script really expects it.)
>
> --
> Andrew Diederich
>

-- 
Igor