You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Paul Heinlein <he...@cse.ogi.edu> on 1999/07/01 20:06:26 UTC

mod_rewrite/4682: Can't find ndbm.h when compiling mod_rewrite

>Number:         4682
>Category:       mod_rewrite
>Synopsis:       Can't find ndbm.h when compiling mod_rewrite
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul  1 11:10:00 PDT 1999
>Last-Modified:
>Originator:     heinlein@cse.ogi.edu
>Organization:
apache
>Release:        1.3.6
>Environment:
OS: Red Hat Linux 6.0 for i386
>Description:
When compiling mod_rewrite (Apache 1.3.6) under Red Hat 6.0 for i386
make complains that it can't find ndbm.h and halts the build process.
>How-To-Repeat:

>Fix:
In src/modules/standard/mod_rewrite.h, change
#include <ndbm.h>
to
#include <db1/ndbm.h>

(Sorry, I wish I had time to write a decent preprocessor statement
that'd cover this problem.)
>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!     ]