Click to See Complete Forum and Search --> : PHP 4.0.5 + gd error in make....


Anon
07-23-2001, 07:39 AM
hi,when I do make I get this error...
/usr/include/gd_io.h:18: previous declaration of 'gdIOCtx'
make[3] *** [gd.lo] Error 1
make[3] Leaving directory '/root/progs/php-4.0.5/ext/gd'
make[2] *** [all-recursive]Error 1
....
...

like if php looks for the library in ext/gd... but I installed gd in /usr/local...

configure itīs ok, but fail in make...
why??
thanks

Anon
07-25-2001, 01:49 PM
Try deleting config.cache, running ./cvsclean, and then try the ./configure, make, make install process agin. I believe I had this problem and simply cleaning things up first cleared it up.

Bob