You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by sandeep puri <la...@acm.org> on 2000/12/04 20:37:37 UTC

mod_rewrite/6929: location of ndbm.h changed again - cannot compile mod_rewrite

>Number:         6929
>Category:       mod_rewrite
>Synopsis:       location of ndbm.h changed again - cannot compile mod_rewrite
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Dec 04 11:40:02 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     lapax@acm.org
>Release:        1.3.14
>Organization:
apache
>Environment:
Redhat 7.0, glibc-2.2 
>Description:
when compiling mod_rewrite, cannot find ndbm.h with glibc provided by redhat on redhat 7.0
redhat has changed the location fo ndbm.h again from /usr/include/db1/ndbm.h to 
/usr/include/gdbm/ndbm.h

configure assumes that ndbm.h is in /usr/include/db1/ndbm.h on glibc > 2.1 or in /usr/include/ndbm.h otherwise..

>How-To-Repeat:
just compile with mod_rewrite
>Fix:
either symlink /usr/include/db1 to /usr/include/gdbm
or change mod_rewrite.h to say 
#include <gdbm/ndbm.h>
instead of
#include <db1/ndbm.h>
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@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!     ]