Sonam,
Why is it a compiler / gcc issue?
In apache_1.3.9/src/modules/standard/mod_auth_dbm.c:
#if defined(__GLIBC__) && defined(__GLIBC_MINOR__) \
&& __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
#include <db1/ndbm.h>
#else
#include <ndbm.h>
#endif
... This finds /usr/include/db1/ndbm.h but , in ndbm.h we have:
#include <db.h>
Thinks gcc: "db.h where?? No, I don't know what to do!"
Try adding a -I/usr/include/db1 to your compilation and you should
have more luck.
BTW, regarding your note about the gcc in Red Hat Linux 7.0... Red Hat has
worked hard to address any known issues with the gcc release in 7.0. For
more information and an errata RPM:
http://www.redhat.com/support/errata/RHBA-2000-132.html
Regards,
David S..
On Tue, 16 Jan 2001, Sonam Chauhan wrote:
> =========
> ndbm.h and db.h both exist in /usr/include/db1/
> /usr/include no longer contains db.h as in Redhat 6.1.
>
> Copying db.h from another 6.1 install to /usr/lib/include
> on the redhat 7 machine still fails (risky idea anyway)
>
> Anyone experience something similar? Pointers appreciated.
>
> Regards,
> Sonam
>
> P.S:
> The gcc version reported by Redhat 7:
> gcc version 2.96 20000731 (Red Hat Linux 7.0)
> GNU's take on this: http://gcc.gnu.org/gcc-2.96.html
>
>
>
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug