[wxPython-users] python 2.5 on Ubuntu Edgy
Michael Moriarity
datasmith at gmail.com
Thu Feb 1 06:30:37 PST 2007
I've been trying anything I could think of, but no luck so far.
I tried running the configure script as root, just in case, but the
result was the same. "C compiler cannot create executables"
So, I decided to try compiling the classic hello world program.
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
printf("Hello, world.\n");
return(0);
}
The result is:
$ gcc hello.c
hello.c:1:20: error: stdlib.h: No such file or directory
hello.c:2:19: error: stdio.h: No such file or directory
hello.c: In function 'main':
hello.c:6: warning: incompatible implicit declaration of built-in
function 'printf'
Searching for stdlib.h and stdio.h fails to turn them up anywhere.
So, it seems that gcc is installed, but the standard C header files are not.
Does anyone have a clue why this might be, or what I should do to fix it?
regards, michael
More information about the wxpython-users
mailing list