You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/12/05 07:02:02 UTC

DO NOT REPLY [Bug 25233] New: - Can't find Berkeley DB on FreeBSD

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25233>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25233

Can't find Berkeley DB on FreeBSD

           Summary: Can't find Berkeley DB on FreeBSD
           Product: Apache httpd-2.0
           Version: 2.0.48
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: nwood888@yahoo.com


4.8-RELEASE-p9

RewriteMap claims that db is an invalid dbm type.

It works fine in Apache-2.0.47, but is broken in Apache-2.0.48.

This issue is similar to those found in bug reports 14748 and 9789.

It appears that Berkeley DB support is built into -lc, which the configure 
script doesn't check (it seems to check for ndbm though).

Apache 2.0.47:
...(lots of other DBM checks)...
checking for db.h... (cached) yes
checking for dbopen in -lc... yes
checking for Berkeley DB... found db1
checking for default DBM... sdbm (default)

Apache 2.0.48:
...(lots and lots of other DBM checks - Mostly for Berkeley)
checking for db.h... yes
checking for dbopen in -ldb1... no
checking checking for Berkeley DB 1 in the standard places...
checking db_185.h usability... no
checking db_185.h presence... no
checking for db_185.h... no
checking for Berkeley DB... not found
checking for default DBM... sdbm (default)

Looks like the code from 2.0.47 in srclib/apr-util/configure around line 9050 
is what finds it.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org