Re: "C compiler cannot create executables" error - 4.0.4pl1 on SolarIS
| From: | Rasmus Lerdorf | Date: | Tue, 24 Apr 2001 17:56:27 +0000 |
| Subject: | Re: "C compiler cannot create executables" error - 4.0.4pl1 on SolarIS | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-2872@lists.php.net to get a copy of this message | ||
> configure:1781: checking whether the C compiler (gcc ) works
> configure:1797: gcc -o conftest conftest.c 1>&5
> cpp: fork: Interrupted system call
> configure: failed program was:
>
> #line 1792 "configure"
> #include "confdefs.h"
>
> main(){return(0);}
>
> HERE IS THE DIRECTORY LISTING FOR confdefs.h:
>
> -rw-r--r-- 1 root other 1 Apr 24 11:19 confdefs.h
>
> WHICH I NOTE CONTAINS ONE LINE, ONE {BLANK} CHARACTER
>
> I might note that I used Solaris tar to unpack the archive - could that be a
> problem? Other suggestions?
Well, try compiling that tiny little C program directly from the
command line.
Make a file called test.c and put:
main(){return(0);}
in it. Then type: gcc -o test test.c
If that doesn't work you need to go fix your compiler installation.
-Rasmus