At 4:50 PM -0700 11/16/00, Roger Walker wrote:

>       I did a diff of the two Makefiles that were generated:
>
>  < DBM_LIBS      =
>  < LIBS          =        -lresolv    -lcrypt
>  ---
>>  DBM_LIBS      =       -lndbm
>>  LIBS          =        -lresolv  -lndbm  -lcrypt
>
>       The top one is for the good compile, and the bottom oneis for the
>  error compile. I recall that ./configure could not find ndbm.h, but it
>  exists in two forms with minor differences:
>
>  /usr/include/db1/ndbm.h
>  /usr/i386-glibc20-linux/include/ndbm.h

have you tried using the ./configure flags 
'--includedir=/usr/i386-glibc20-linux/include' or 
'--prefix=/usr/i386-glibc-20-linux'?  (or either with 'db1' instead 
of 'i386-glibc20-linux'?)

>  # diff /usr/include/db1/ndbm.h /usr/i386-glibc20-linux/include/ndbm.h
>  39,40c39,40
>  < #ifndef _NDBM_H
>  < #define       _NDBM_H 1
>  ---
>>  #ifndef _NDBM_H_
>>  #define       _NDBM_H_
>  79c79
>  < #endif /* ndbm.h */
>  ---
>>  #endif /* !_NDBM_H_ */
>
>       Might it be that there is supposed to be a local copy of this .h
>  file included in the source tree? OTOH, I did get this with ./configure:
>
>  checking ndbm... checking for dbm_open in -lndbm... (cached) yes
>  found ndbm
>
>  --
>  Roger Walker                         <http://www.rat-hole.com>
>  Voice/Fax 1-780-440-2685             <http://www.man-from-linux.com>
>  "HIS Pain; YOUR Gain"                <http://www.rope.net>
>  <http://www.rope.net/signature.html>

Reply via email to