fc2 - php recompile from src...

MG makgab at freemail.hu
Wed May 26 06:43:22 UTC 2004


Hi!

I tried to compile the php package with interbase support from php src. I
installed the php-4.3.4-11.src.rpm.
I set the "--with-interbase=/opt/interbase \" option in 'php.spec':

...
/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.28916 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.28916 (%build)

What is the problem? :(

Bye!
Gabor






More information about the fedora-list mailing list