I'm running php 5.2.3 with apache 2, and I've been trying to recompile php. When running ./build php_ap2, I get:
configure: error: GD build test failed. Please check the config.log for details.
*** There was an error while trying to configure php. Check the configure.php file
At the bottom of config.log is:
Anyone know whats wrong?
configure: error: GD build test failed. Please check the config.log for details.
*** There was an error while trying to configure php. Check the configure.php file
At the bottom of config.log is:
configure:42434: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c -L -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lcurl -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lcurl -lxml2 -lz -lm 1>&5
configure: failed program was:
#line 42423 "configure"
#include "confdefs.h"
char foobar () {}
char foobar();
int main() {
foobar();
return 0;
}
Anyone know whats wrong?