Has anyone been able to compile php-4.0.5 on SuSE 7.1?
Howdy, I'm trying to compile php-4.0.5 on SuSE 7.1 and I'm having boatloads of trouble. I've finally hit one error that's in php it's self so I'm totally stuck: gd.c:91: conflicting types for `gdIOCtx' /usr/include/gd_io.h:18: previous declaration of `gdIOCtx' I have a feeling it has something to do with my versions of glibc and GCC. More and more often I find that I'm able to compile things on one distro, but not another, and vice versa. I think the distros are becoming more fragmented, at least as far as major libs and GCC are concerned. I hope all this works it's self out soon after GCC 3.0 comes out. Anyway, has anyone been able to compile php 4.0.5 from source? ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com
* Jonathan Wilson [Mon, 21 May 2001 21:32:42 -0500]: First of all, could you please wrap the lines at 75 chars or less? This makes reading your mails much easier.
gd.c:91: conflicting types for `gdIOCtx' /usr/include/gd_io.h:18: previous declaration of `gdIOCtx'
I have a feeling it has something to do with my versions of glibc and GCC. [.......] I hope all this works it's self out soon after GCC 3.0 comes out.
This has nothing to do with neither the compiler nor glibc. It's simply an incompatibility between gd.c and the gdlib header and most probably an error on the php side. I guess the solution is to just remove the offending declaration from gd.c, but I'd have to see those lines from gd.c and gd_io.h to really help. -- Penguins to save the dinosaurs -- Handelsblatt on Linux for S/390
participants (2)
-
Philipp Thomas
-
wilson@claborn.net