You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Damien Hull <dh...@digitaloverload.net> on 2004/11/29 03:27:58 UTC

[users@httpd] apache and berkeley db

I am trying to install subversion and apache. One requirement is
berkeley db. When I compile apache it tells me that it can't find the
berkeley db stuff. Here's what I've got.

        OS = OpenBSD 3.6
        Berkeley DB 4.2.52
        Apache 2.0.52

I installed Berkeley DB in /usr/local/berkeleydb

Here's how I run configure. I'm leaving out the subversion stuff to test
Berkeley DB.

        ./configure --with-berkeley-db=/usr/local/berkeleydb \
        --with-dbm=db42
        
Here's what I get back. This is only the very end.

        checking for -ldb4... no
        checking db42/db.h usability... no
        checking db42/db.h presence... no
        checking for db42/db.h... no
        checking db4/db.h usability... no
        checking db4/db.h presence... no
        checking for db4/db.h... no
        checking db.h usability... yes
        checking db.h presence... yes
        checking for db.h... yes
        checking for -ldb... no
        configure: error: Berkeley db4 not found
        configure failed for srclib/apr-util



The following is config.log. I didn't see anything in here but I'm not a
programmer.

        This file contains any messages produced by compilers while
        running configure, to aid debugging if configure makes a
        mistake.
        
        It was created by configure, which was
        generated by GNU Autoconf 2.57.  Invocation command line was
        
          $ ./configure --with-berkeley-db=/usr/local/berkeleydb
        --with-dbm=db42
        
        ## --------- ##
        ## Platform. ##
        ## --------- ##
        
        hostname = 
        uname -m = i386
        uname -r = 3.6
        uname -s = OpenBSD
        uname -v = GENERIC#59
        
        /usr/bin/uname -p = Intel Pentium II ("GenuineIntel" 686-class,
        512KB L2 cache)
        /bin/uname -X     = unknown
        
        /bin/arch              = unknown
        /usr/bin/arch -k       = OpenBSD.i386
        /usr/convex/getsysinfo = unknown
        hostinfo               = unknown
        /bin/machine           = unknown
        /usr/bin/oslevel       = unknown
        /bin/universe          = unknown
        
        PATH: /home/dhull/bin
        PATH: /bin
        PATH: /sbin
        PATH: /usr/bin
        PATH: /usr/sbin
        PATH: /usr/local/bin
        PATH: /usr/local/sbin
        PATH: /usr/games
        PATH: /usr/local/subversion/bin
        PATH: .
        
        
        ## ----------- ##
        ## Core tests. ##
        ## ----------- ##
        
        configure:1584: checking for chosen layout
        configure:1586: result: Apache
        configure:2379: checking for working mkdir -p
        configure:2395: result: yes
        configure:2412: checking build system type
        configure:2430: result: i386-unknown-openbsd3.6
        configure:2438: checking host system type
        configure:2452: result: i386-unknown-openbsd3.6
        configure:2460: checking target system type
        configure:2474: result: i386-unknown-openbsd3.6
        configure:2503: checking for APR
        configure:2563: result: reconfig
        configure:2803: checking for APR-util
        configure:2864: result: reconfig
        
        ## ---------------- ##
        ## Cache variables. ##
        ## ---------------- ##
        
        ac_cv_build=i386-unknown-openbsd3.6
        ac_cv_build_alias=i386-unknown-openbsd3.6
        ac_cv_env_CC_set=
        ac_cv_env_CC_value=
        ac_cv_env_CFLAGS_set=
        ac_cv_env_CFLAGS_value=
        ac_cv_env_CPPFLAGS_set=
        ac_cv_env_CPPFLAGS_value=
        ac_cv_env_CPP_set=
        ac_cv_env_CPP_value=
        ac_cv_env_LDFLAGS_set=
        ac_cv_env_LDFLAGS_value=
        ac_cv_env_build_alias_set=
        ac_cv_env_build_alias_value=
        ac_cv_env_host_alias_set=
        ac_cv_env_host_alias_value=
        ac_cv_env_target_alias_set=
        ac_cv_env_target_alias_value=
        ac_cv_host=i386-unknown-openbsd3.6
        ac_cv_host_alias=i386-unknown-openbsd3.6
        ac_cv_mkdir_p=yes
        ac_cv_target=i386-unknown-openbsd3.6
        ac_cv_target_alias=i386-unknown-openbsd3.6
        
        ## ----------------- ##
        ## Output variables. ##
        ## ----------------- ##
        
        APACHECTL_ULIMIT=''
        APR_BINDIR='/usr/local/apache2/bin'

APR_INCLUDEDIR='/usr/src/software/httpd-2.0.52/srclib/apr/include'
        APU_BINDIR=''
        APU_INCLUDEDIR=''
        AP_BUILD_SRCLIB_DIRS='apr '
        AP_CLEAN_SRCLIB_DIRS=' apr'
        AP_LIBS=''
        AP_SIG_GRACEFUL=''
        AP_SIG_GRACEFUL_SHORT=''
        AP_SIG_GRACEFUL_STRING=''
        AWK=''
        BUILTIN_LIBS=''
        CC='gcc'
        CFLAGS=' -g -O2 -pthread'
        CORE_IMPLIB=''
        CORE_IMPLIB_FILE=''
        



I'm hoping someone can help me figure this out.
-- 
Damien Hull <dh...@digitaloverload.net>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org