Click to See Complete Forum and Search --> : PHP compilation Error with conftest.out


Anon
05-22-2002, 09:35 AM
Hi,

I am trying to compile PHP on Solaris8 with gcc2.95.3 and I am getting this error:

checking for ApplicationServices/ApplicationServices.h... grep: can't open conftest.out

I am able to compile this on another box no problem..

Does anybody know what is causing this to fail?

Thanks,

Sonny

Anon
07-04-2002, 06:13 AM
Get the same problem when compiling PHP on Solaris 7. Seems there is a bug with configure script or in Makefile.
Found on the Net a quick fix that worked for me.

$ CC=gcc
$ export CC

then retry ./configure (don't forget to delete config.cache first).
Hope this helps,
Silviu

Anon
07-10-2002, 08:20 AM
make sure you have linked /usr/ucb/cc to a working C compiler