Re: Can't make PHP 4.2.1 with Apache2
| From: | Jon Armitage | Date: | Tue, 16 Jul 2002 19:20:39 +0000 |
| Subject: | Re: Can't make PHP 4.2.1 with Apache2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7772@lists.php.net to get a copy of this message | ||
My thanks to everyone who emailed suggestions and solutions.
Since people are still emailing me regularly to ask if I found a solution, I
thought it would be better to post the answer.
Apparently the configure script gets confused because it can't find the Sun
compiler cc.
The simple solution, which I have not tried but I am assured works, is set
an environment variable CC=gcc before running configure.
Before being told this, I had discovered (with the help of a few hints from
around the world) that the solution was to rebuild the configure script:
$ mv configure something_else; ./buildconf
You need GNU autoconf and automake and maybe other goodies to do this.
Finally, I eventually discovered that the problem has been logged to the PHP
buglist. Why couldn't I find it when I first looked? I was searching for
Solaris 7 and it was logged against a different version...
Jon