Compiling fatal error 20?

Well i just installed the software. but it doesn't work :frowning:
when i try to compile the code i get the message:
Error compiling.
/usr/share/arduino/hardware/arduino/cores/ardunio/pins_arduino.c:25
:20: fatal error: avr/io.h No file or directory
compilation terminated.

I'm running on ubuntu 11.04 natty so it could be a linux problem.
Also I'm kind of tired of error hunting after having some trouble installing the software so it could be simple but i can't find a solution so I'm asking for help.

I would guess that you still need to install:

  • avr-libc (or whatever it is named on *buntu)
  • avr-gcc
  • avr-binutils
  • avrdude