in reply to Apache/CGI error: "Premature end of script headers"

Partial resolution -- a previously unnoticed error (not appearing in any of the logs) proclaimed "Cannot find ELF", which according to google is a consequence of GNU's strip not play nicely with Solaris.

So we've now got things working, just need to figure out what went wrong before.

Thanks for your suggestions.