(original) (raw)

Received: (qmail 89728 invoked by uid 501); 24 Aug 2001 10:13:23 -0000 Message-Id: 20010824101323.89727.qmail@apache.org Date: 24 Aug 2001 10:13:23 -0000 From: Simon Crute simon@snccc.com Reply-To: simon@snccc.com To: submit@bugz.apache.org Subject: make is unable to find ndbm.h X-Send-Pr-Version: 3.110 >Number: 8234 >Category: mod_auth-any >Synopsis: make is unable to find ndbm.h >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Fri Aug 24 03:20:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: simon@snccc.com >Release: 1.3.20 >Organization: apache >Environment: uanme output: 2.4.7 #2 SMP Mon Aug 20 14:46:33 BST 2001 i686 unknown gcc --version output 2.96 redhat 7.1 based system. (minimal install) >Description: make complained it couldn't find nbdm.h while trying to compile mod_auth_dbm. gdbm-1.8.0.5 and gdbm-devel-1.8.0-5 were installed, as were db1-1.85-5.i386.rpm and db1-devel-1.85-5.i386.rpm. >How-To-Repeat: I've not had time or the facilities to prove it happens on a plain redhat 7.1 box, but looking at the way I fixed it, it might well do. >Fix: I ended up replacing mod_auth_dbm.c from apache 1.3.19 which seems to have fixed the problem. Looking in the source there's an extra 3 lines in the 1.3.19 version that isn't in the 1.3.20 version. Diffing the two versions gets diff (1.3.20 version) (1.3.19 version) > #elif defined(__GLIBC__) && defined(__GLIBC_MINOR__) \ > && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1 > #include >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include apbugs@apache.org in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ] /apbugs@apache.org/simon@snccc.com