building PHP 4.3.4-11 from source
How can I build only the php-mysql binary rpm rather then all of them in the package?
For some reason rebuilding the whole thing exits with errors;
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c: In function `curl_free_post':
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:563: warning: passing arg 1 of `curl_formfree' from incompatible pointer type
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c: In function `alloc_curl_handle':
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:603: error: invalid application of `sizeof' to an incomplete type
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c: In function `zif_curl_setopt':
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:838: error: duplicate case value/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:695: error: previously used here/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:883: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:883: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:891: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
/usr/src/redhat/BUILD/php-4.3.4/ext/curl/curl.c:891: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
make: *** [ext/curl/curl.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.20885 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.20885 (%build)
Any suggestions would be helpfull
-Mike
|