nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] [nmh-1.2] a serious bug in the nmh configure script


From: Igor Sobrado
Subject: Re: [Nmh-workers] [nmh-1.2] a serious bug in the nmh configure script
Date: Fri, 23 Dec 2005 11:17:49 +0100

In message <address@hidden>, Joel Reicher writes:
> 
> Something like this is what's required.
[...]
> 
> But I'm not sure how well this works for other platforms and situations.
> That's why I wrote what I did in my previous emails.

Your patch applies cleanly to the configure script provided by
default in the source code tarball:

$ patch < ../configure.patch  
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- configure.orig     2005-12-21 18:55:37.000000000 +0100
|+++ configure  2005-12-21 18:57:03.000000000 +0100
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 8188.
Hunk #2 succeeded at 8279.
Hunk #3 succeeded at 8370.
Hunk #4 succeeded at 8461.
Hunk #5 succeeded at 8552.
Hunk #6 succeeded at 8643.
Hunk #7 succeeded at 8799.
done

...but the problem remains.  slocal.c is not able to find the right
header file yet:

[...]
gcc -c -DHAVE_CONFIG_H -I.. -I. -I..   -Wall -O2 slocal.c
slocal.c: In function `suppress_duplicates':
slocal.c:1533: error: `datum' undeclared (first use in this function)
slocal.c:1533: error: (Each undeclared identifier is reported only once
slocal.c:1533: error: for each function it appears in.)
slocal.c:1533: error: parse error before "key"
slocal.c:1534: error: `DBM' undeclared (first use in this function)
slocal.c:1534: error: `db' undeclared (first use in this function)
slocal.c:1563: error: `key' undeclared (first use in this function)
slocal.c:1568: warning: implicit declaration of function `dbm_open'
slocal.c:1586: error: `value' undeclared (first use in this function)
slocal.c:1586: warning: implicit declaration of function `dbm_fetch'
slocal.c:1595: warning: implicit declaration of function `dbm_store'
slocal.c:1595: error: `DBM_INSERT' undeclared (first use in this function)
slocal.c:1600: warning: implicit declaration of function `dbm_close'
*** Error code 1

Stop.
make: stopped in /home/sobrado/tmp/nmh-1.2/uip
*** Error code 1

Stop.
make: stopped in /home/sobrado/tmp/nmh-1.2

If you want access to a NetBSD machine to do some tests let me know.
If I can help you in other ways do not hesitate in asking!  I will
do my best to help you.  :-)

Best regards,
Igor.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]