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 2002/11/21 21:16:40 UTC

DO NOT REPLY [Bug 14748] New: - Configure Can't find DBM on Mac OS X

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=14748>.
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=14748

Configure Can't find DBM on Mac OS X

           Summary: Configure Can't find DBM on Mac OS X
           Product: Apache httpd-1.3
           Version: 1.3.27
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: david@wheeler.net


The -ldbm argument to gcc on Mac OS X confuses gcc. This is because dbm is
included in Mac OS X's libSystem library, which is always linked in by gcc, but
there is no libdbm.dylib file for gcc to find on the file system. This issue
crops up when one attempts to compile Apache with mod_ssl. This patch to
src/Configure addresses the problem:

--- Configure~  Wed Jul 24 13:41:23 2002
+++ Configure   Wed Nov 20 16:56:49 2002
@@ -532,11 +532,13 @@
        OS='Mac OS X Server'
        CFLAGS="$CFLAGS -DDARWIN -DMAC_OS_X_SERVER"
        DEF_WANTHSREGEX=yes
+       DBM_LIB=""
        ;;
     *-apple-darwin*)
        OS='Darwin'
        CFLAGS="$CFLAGS -DDARWIN"
        DEF_WANTHSREGEX=yes
+       DBM_LIB=""
        ;;
     *-dec-osf*)
        OS='DEC OSF/1'

I believe that the issue would be the same with Mac OS X Server, so I've changed
the DBM_LIB setting for that platform, too, although I've not tested it.

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