I am attempting to install php 5.0.2 release 8 on fedora core 3 using the source rpms from fedora-development. After resolving all dependencies, when I run the command
rpmbuild --rebuild php-5.0.2-8.src.rpm
configure errors with the following:
...
checking for CURL support... yes
checking if we should use CURL for url streams... no
checking for CURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.12.1
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for more information.
error: Bad exit status from /var/tmp/rpm-tmp.86362 (%build)
when I check config.log the last few lines are:#define SIZEOF_SSIZE_T 4 #define STDC_HEADERS 1 #define YYTEXT_POINTER 1 #endif #ifdef __cplusplus extern "C" void std::exit (int) throw (); using std::exit;
configure: exit 1
Any suggestions? Thanks in advance.
Do you have libidn-devel installed?
Paul. -- Paul Howarth <paul city-fan org>
libidn-devel was not installed, thanks for the catch. Now when I execute the same command configure errors with:
...
checking whether to enable shmop support... yes
checking whether to enable simplexml support... yes
checking whether libxml build works... (cached) yes
checking for SNMP support... yes, shared
checking OpenSSL dir for SNMP... no
checking for snmp_parse_oid in -lnetsnmp... no
checking for init_snmp in -lnetsnmp... no
configure: error: SNMP sanity check failed. Please check config.log for more information.
error: Bad exit status from /var/tmp/rpm-tmp.17295 (%build)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.17295 (%build)
I have verified that
net-snmp-devel-5.1.2-11 net-snmp-5.1.2-11 net-snmp-libs-5.1.2-11 net-snmp-utils-5.1.2-11
are installed. Any other suggestions?
thanks, -a.n.