Apr-util Configure Error Berkeley Db Not Found
Contents |
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] I'm trying to update configure error berkeley db library required but not found apr-util (a dependency for subversion, which I'm trying to update.) My installed configure error berkeley db version mismatch ports list includes a current version of db46, which apr-util says it depends on: > db46 @4.6.21_6
Install Apr-util Ubuntu
(active) However, when I try to upgrade apr-util I get: > sudo port upgrade apr-util Password: ---> Computing dependencies for apr-util ---> Fetching apr-util ---> Attempting to fetch
Apr Util Not Found
apr-util-1.3.12.tar.bz2 from http://www.apache.org/dist/apr ---> Verifying checksum(s) for apr-util ---> Extracting apr-util ---> Configuring apr-util Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for apr-util is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/main.log Error: Unable to upgrade port: 1 To report a bug, see
in order to do that Ineed to create an apr-util rpm of a recent enough version to support it.So running the
Download Apr-util
rpmbuild command against the spec file I'm getting thiserror:checking db1/db.h usability... nochecking apache apr-util db1/db.h presence... nochecking for db1/db.h... nochecking db.h usability... nochecking db.h presence... nochecking for db.h... nochecking for Berkeley apr ubuntu DB 1 in the standard places...checking db_185.h usability... nochecking db_185.h presence... nochecking for db_185.h... no*checking for Berkeley DB... not found**configure: error: Berkeley DB not found.*error: Bad exit status from https://lists.macosforge.org/pipermail/macports-users/2011-July/024705.html /var/tmp/rpm-tmp.yh0jGv (%build)It's claiming that Berkeley DB isn't installed. But to me it looks like Ihave the right libraries:[root at repo:~] #rpm -qa | grep db4libdb4-utils-4.8.30-13.el7.x86_64libdb4-devel-static-4.8.30-13.el7.x86_64libdb4-4.8.30-13.el7.x86_64libdb4-devel-4.8.30-13.el7.x86_64This is the part of the spec file that calls for db4:%configure --with-apr=%{_prefix} \--includedir=%{_includedir}/apr-%{apuver} \--with-ldap --without-gdbm \--with-sqlite3 --with-pgsql --with-mysql --with-freetds --with-odbc\--with-berkeley-db \--with-crypto --with-openssl --with-nss \--without-sqlite2So my questions for today are, do I need to http://grokbase.com/t/centos/centos/153pb5nr3f/error-building-apr-util-spec-file provide a path to the--with-berkeley-db flag? If so, how do I determine the path to give it?Lastly, is db4 really necessary to the build of apr-util? Would it becompletely wrong just to build the rpm without it?Thanks,Tim--GPG me!!gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B reply Tweet Search Discussions Search All Groups centos 6 responses Oldest Nested Peter You're missing a -devel package. You should be building this in mock, then it will install the correct deps for you in a clean build environment. Peter Peter at Mar 22, 2015 at 8:17 pm ⇧ On 03/23/2015 09:03 AM, Tim Dunphy wrote:Hey guys,I'm trying to create an apache 2.4.12 rpm file. But in order to do that Ineed to create an apr-util rpm of a recent enough version to support it.checking for Berkeley DB 1 in the standard places...checking db_185.h usability... nochecking db_185.h presence... nochecking for db_185.h... no*checking for Berkeley DB... not found*You're missing a -devel package. You should be building this in mock,then it will install the correct deps for you in a clean build e
to underlying client library interfaces. This application programming interface assures predictable http://www.linuxfromscratch.org/blfs/view/svn/general/apr-util.html if not identical behaviour regardless of which libraries are available on a given platform. This package is known to build http://www.gossamer-threads.com/lists/apache/users/278093 and work properly using an LFS-7.10 platform. Package Information Download (HTTP): http://archive.apache.org/dist/apr/apr-util-1.5.4.tar.bz2 Download (FTP): ftp://ftp.mirrorservice.org/sites/ftp.apache.org/apr/apr-util-1.5.4.tar.bz2 Download MD5 sum: 2202b18f269ad606d70e1864857ed93c Download size: not found 680 KB Estimated disk space required: 8.7 MB (additional 1 MB for the tests) Estimated build time: 0.2 SBU Apr Util Dependencies Required Apr-1.5.2 Recommended OpenSSL-1.0.2j Optional Berkeley DB-6.2.23, FreeTDS, MariaDB-10.1.17 or MySQL, OpenLDAP-2.4.44, PostgreSQL-9.5.4, SQLite-3.14.2 and unixODBC-2.3.4 User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/apr-util Installation configure error berkeley of Apr Util Install Apr Util by running the following commands: ./configure --prefix=/usr \ --with-apr=/usr \ --with-gdbm=/usr \ --with-openssl=/usr \ --with-crypto && make To test the results, issue: make test. Now, as the root user: make install Command Explanations --with-gdbm=/usr: This switch enables the apr_dbm_gdbm-1.so plugin. --with-openssl=/usr --with-crypto: These switches enable the apr_crypto_openssl-1.so plugin. Remove them if you have not installed OpenSSL-1.0.2j. --with-berkeley-db=/usr: If you have installed Berkeley DB-6.2.23, use this switch to compile the apr_dbm_db-1.so plugin. --with-ldap: If you have installed OpenLDAP-2.4.44, use this switch to compile the apr_ldap.so plugin. Contents Installed Program: apu-1-config Installed Library: libaprutil-1.so Installed Directory: /usr/lib/apr-util-1 Short Descriptions apu-1-config is an APR-util script designed to allow easy command line access to APR-util configuration parameters. libaprutil-1.so contains functions th
Post #1 of 7 (853 views) Permalink configure of 2.0.52 fails to find Berkeley DB Platform: Solaris 9 (2.9) CC: gcc Apache: 20.0.52 Berkeley DB: 4.2.52 I am trying to build Apache 2 as per the build on www.sunfreeware.com, but ultimately including mod_perl. However the configure step fails because it's failing to find the Berkeley DB libs, even though they are there. From the archives I can see several people have this problem, but I haven't found a clear solution yet. ---------- Symptoms ---------- Command: ./configure \ --prefix=/local/opt/apache2 \ --enable-mods-shared=all \ --enable-ssl=shared \ --enable-ssl \ --with-ssl=/local/opt/openssl \ --with-perl=/local/opt/perl5.8.4 \ --with-gdbm=/local/opt/gdbm1.8.3 \ ---with-berkeley-db=/local/opt/BerkeleyDB.4.2 (Note configure finds perl and gdbm ok.) The BerkeleyDB directory contains (excluding docs)- /local/opt/BerkeleyDB.4.2/bin /local/opt/BerkeleyDB.4.2/bin/db_archive /local/opt/BerkeleyDB.4.2/bin/db_checkpoint /local/opt/BerkeleyDB.4.2/bin/db_deadlock /local/opt/BerkeleyDB.4.2/bin/db_dump /local/opt/BerkeleyDB.4.2/bin/db_load /local/opt/BerkeleyDB.4.2/bin/db_printlog /local/opt/BerkeleyDB.4.2/bin/db_recover /local/opt/BerkeleyDB.4.2/bin/db_stat /local/opt/BerkeleyDB.4.2/bin/db_upgrade /local/opt/BerkeleyDB.4.2/bin/db_verify /local/opt/BerkeleyDB.4.2/lib /local/opt/BerkeleyDB.4.2/lib/libdb-4.2.so /local/opt/BerkeleyDB.4.2/lib/libdb-4.2.la /local/opt/BerkeleyDB.4.2/lib/libdb-4.2.a /local/opt/BerkeleyDB.4.2/lib/libdb.a /local/opt/BerkeleyDB.4.2/lib/libdb.so /local/opt/BerkeleyDB.4.2/lib/libdb-4.so /local/opt/BerkeleyDB.4.2/include /local/opt/BerkeleyDB.4.2/include/db.h /local/opt/BerkeleyDB.4.2/include/db_cxx.h The errors from configure look like- checking for Berkeley DB 4.0 in /local/opt/BerkeleyDB.4.2... 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-4.0... 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...