php 5.5.3 installation fails DBA depedencies ./configure

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
mail4santoshkb
Forum Newbie
Posts: 1
Joined: Fri Sep 20, 2013 2:04 am

php 5.5.3 installation fails DBA depedencies ./configure

Post by mail4santoshkb »

Would require assistance for building php rpm for 5.5.3

Could you help with options for configure, not to install db4/ berkleydb , which i don't require.

Below is configure.log Error snippet
----------------------------------------------------------------------------------------------
configure:39959: checking for curl_multi_strerror in -lcurl
configure:39989: cc -o conftest -O2 -g -fno-strict-aliasing -L/usr/kerberos/lib -L/usr/kerberos/lib64 -lcurl conftest.c -lcurl -lz -lpcre -lrt -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz >&5
configure:39995: $? = 0
configure:39999: test -z
|| test ! -s conftest.err
configure:40002: $? = 0
configure:40005: test -s conftest
configure:40008: $? = 0
configure:40021: result: yes
configure:40934: checking for QDBM support
configure:40947: result: no
configure:41308: checking for GDBM support
configure:41321: result: no
configure:41665: checking for NDBM support
configure:41678: result: no
configure:41930: error: DBA: Could not find necessary header file(s)
----------------------------------------------------------------------------

HI tried removing below lines from spec file.

1. build requires db4-devel . and
2. --enable-dba=shared --with-db4=%{_prefix} option in ./configure.

Have the below rpms packages installed

db4-devel-4.2.52-7.1
db4-4.2.52-7.1
db4-4.2.52-7.1
db4-utils-4.2.52-7.1


Thanks
Santosh
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: php 5.5.3 installation fails DBA depedencies ./configure

Post by requinix »

What header files is it trying to find? Are you sure db4-devel provides them? Do you need to set the path to them?
Post Reply