Page 1 of 1

php 5.5.3 installation fails DBA depedencies ./configure

Posted: Fri Sep 20, 2013 2:18 am
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

Re: php 5.5.3 installation fails DBA depedencies ./configure

Posted: Fri Sep 20, 2013 12:37 pm
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?