I've been trying to install for days!

I made the mistake of buying a ready built Reprap on eBay and got absolutely no help from the seller when I had issues. I found though that my control board is a Melzi and have downloaded Sanguino and Marlin to the appropriate folders. After attempting to make the changes in Arduino to the Configuration.h and then load I get the error code below with a message saying: "expected ',' or '...' before '&' token" with this highlighted " FORCE_INLINE void print(const String &s)" on the MarlinSerial.h tab. Can anyone offer me a hand here???

 In file included from BlinkM.cpp:5:
/Marlin.h:32:23: error: WProgram.h: No such file or directory
In file included from /Marlin.h:41,
                 from BlinkM.cpp:5:
MarlinSerial.h:149: error: expected ',' or '...' before '*' token
MarlinSerial.h:149: error: ISO C++ forbids declaration of 'String' with no type
MarlinSerial.h:168: error: expected ',' or '...' before '&' token
MarlinSerial.h:168: error: ISO C++ forbids declaration of 'String' with no type
/MarlinSerial.h: In member function 'void MarlinSerial::write(uint8_t)':
MarlinSerial.h:104: error: 'UCSRCOM9A' was not declared in this scope
MarlinSerial.h:104: error: 'UDRECOM9' was not declared in this scope
MarlinSerial.h:107: error: 'UDRCOM9' was not declared in this scope
/MarlinSerial.h: In member function 'void MarlinSerial::checkRx()':
MarlinSerial.h:113: error: 'UCSRCOM9A' was not declared in this scope
MarlinSerial.h:113: error: 'RXCCOM9' was not declared in this scope
MarlinSerial.h:114: error: 'UDRCOM9' was not declared in this scope
/MarlinSerial.h: In member function 'void MarlinSerial::print(int)':
MarlinSerial.h:151: error: 's' was not declared in this scope

I found though that my control board is a Melzi and have downloaded Sanguino and Marlin to the appropriate folders

I have really problems with that sentence - what are "Melzi", "Sanguino" and "Marlin"?

Which version of the IDE have you got?

the most up to date version

The first actual error is your problem, go into the .h file and change WProgram.h to Arduino.h then save it.

Thank you! It works! You have to replace in the Marlin.h file "WProgram.h" by "Arduino.h".