I'm having trouble installing any version of PHP on solaris 9. I've tried older versions of 4.3.x a few months ago, then recently tried 4.3.10 and also the latest version of 5.
I'm using a bunch of GNU tools from sunfreeware.com, have GCC installed, and have been able to compile most programs without much trouble.
With PHP though, I run
./configure
and it sits at this prompt infinitely: checking host system type... sparc-sun-solaris2.9
Never moves on, never does anything else. Just sits there forever. I'd install a binary, but the binary as far as I can tell isn't set up for apxs. If all else fails, I guess I'll have to figure out how to use it, but I'd much rather compile the source with all the options I want.
It doesn't matter what configure options I use. No options or 5 lines of options, it sits at that prompt doing nothing.
Any ideas?
Sounds like a config.sub or config.guess problem. If you have autoconf/automake/libtool installed, try running:
rm config.sub config.guess ./buildconf --force --copy
from the php source directory to have it recreate those. You will likely see some warnings which should be safe to ignore. Then try building again.
-Rasmus