Arduino IDE appears to be broken

Hello,

I open the ide, tell it to open the "bareminimum" example, try to "verify/compile", and I'm told

In file included from /home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/Tone.cpp:37:0:
/home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/pins_arduino.h:66:48: error: variable 'port_to_mode_PGM' must be const in order to be put into read-only section by means of 'attribute((progmem))'
/home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/pins_arduino.h:67:49: error: variable 'port_to_input_PGM' must be const in order to be put into read-only section by means of 'attribute((progmem))'
/home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/pins_arduino.h:68:50: error: variable 'port_to_output_PGM' must be const in order to be put into read-only section by means of 'attribute((progmem))'
/home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/pins_arduino.h:70:54: error: variable 'digital_pin_to_port_PGM' must be const in order to be put into read-only section by means of 'attribute((progmem))'
/home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/pins_arduino.h:72:58: error: variable 'digital_pin_to_bit_mask_PGM' must be const in order to be put into read-only section by means of 'attribute((progmem))'
/home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/pins_arduino.h:73:55: error: variable 'digital_pin_to_timer_PGM' must be const in order to be put into read-only section by means of 'attribute((progmem))'
/home/zack/arduino/arduino-0022/hardware/arduino/cores/arduino/Tone.cpp:108:45: error: variable 'tone_pin_to_timer_PGM' must be const in order to be put into read-only section by means of 'attribute((progmem))'

I'm getting exactly the same thing with a fresh install of the arduino software on a Fedora 15
system. I did yum install arduino (gets arduino-0022) and then found that it would not work
with OpenJDK, so installed the Sun 1.7 JDK, now the arduino IDE runs, but gives me the exact
errors you list when I try to upload any demo. I am here trying to find out what to do next.

OK, I am back having found the answer to all this and with arduino running on Fedora 15.
The bottom line on this is that the avr-gcc that now ships with Fedora 15 has a bug,
see http://arduino.cc/forum/index.php/topic,72039.0.html. What I did
(along with installing the java 1.7.0 jdk from sun before getting to this issue) was to
yum downgrade avr-gcc avr-gcc-c++ After this, I have been able to build and upload
sketches (the blink demo now trips a bug in the 4.5.3 compiler, but at this point in the
game you have to pick between different sets of compiler bugs - or so it seems.)