Hey guys,
I'm trying to create an apache 2.4.12 rpm file. But in order to do that I
need to create an apr-util rpm of a recent enough version to support it.
So running the rpmbuild command against the spec file I'm getting this
error:
checking db1/db.h usability... no
checking db1/db.h presence... no
checking for db1/db.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
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*
*configure: error: Berkeley DB not found.*
error: Bad exit status from /var/tmp/rpm-tmp.yh0jGv (%build)
It's claiming that Berkeley DB isn't installed. But to me it looks like I
have the right libraries:
[root@repo:~] #rpm -qa | grep db4
libdb4-utils-4.8.30-13.el7.x86_64
libdb4-devel-static-4.8.30-13.el7.x86_64
libdb4-4.8.30-13.el7.x86_64
libdb4-devel-4.8.30-13.el7.x86_64
This 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-sqlite2
So my questions for today are, do I need to 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 be
completely wrong just to build the rpm without it?
Thanks,
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos