Friday, April 06, 2007

stdio.h: No such file or directory

So its me again... with a new installation of ubuntu this time. My co-worker kept saying a lot of good things about debian so I figured might as well try the closest thing to it that I was willing to give a shot.

So after installation and everything. I pulled down the source and tried to compile a simple c program and I got the weirdest of errors saying the system couldn't find stdio.h? Now that shows my experience with devlopment probably, but I hadn't seen that error before.

So a little search got me the solution. Its apparently the package build-essential that includes the required libraries.

sudo apt-get install build-essential

did the trick.

No comments: