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
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 I need 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... no checking db_185.h presence... no checking 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 environment.
Peter
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.
These are the packages I have:
[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*
I see I have two devel packages for db4. So what am I missing? Also how do I build in mock?
Thanks, Tim
On Sun, Mar 22, 2015 at 4:17 PM, Peter peter@pajamian.dhs.org wrote:
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
I
need 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... no checking db_185.h presence... no checking 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 environment.
Peter _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 03/22/15 16:22, Tim Dunphy wrote:
how do I build in mock?
http://fedoraproject.org/wiki/Projects/Mock
On Sun, 2015-03-22 at 19:38 -0400, Mark LaPierre wrote:
On 03/22/15 16:22, Tim Dunphy wrote:
how do I build in mock?
Noticing a minor error, a spelling mistake, on http://fedoraproject.org/wiki/Projects/Mock I clicked on contact which proudly proclaimed Fedora was more wonderful than before and announced the only method of telling Fedora about simple errors was to register. That is too much unproductive aggro for such a simple task.
"inforations."
On 22 Mar 2015 23:51, "Always Learning" centos@u64.u22.net wrote:
On Sun, 2015-03-22 at 19:38 -0400, Mark LaPierre wrote:
On 03/22/15 16:22, Tim Dunphy wrote:
how do I build in mock?
Noticing a minor error, a spelling mistake, on http://fedoraproject.org/wiki/Projects/Mock I clicked on contact which proudly proclaimed Fedora was more wonderful than before and announced the only method of telling Fedora about simple errors was to register. That is too much unproductive aggro for such a simple task.
Good job then that has nothing to do with CentOS. The Fedora project have their own mailing lists you can notify them on.
Thank you! I'll check it out.
On Sun, Mar 22, 2015 at 7:38 PM, Mark LaPierre marklapier@gmail.com wrote:
On 03/22/15 16:22, Tim Dunphy wrote:
how do I build in mock?
http://fedoraproject.org/wiki/Projects/Mock
-- _ °v° /(_)\ ^ ^ Mark LaPierre Registered Linux user No #267004 https://linuxcounter.net/
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos