Ah, it sounds like you've checked the code out of svn. It's in development at the moment, so may not be stable. You might want to use the source distribution at http://www.arduino.cc/en/Main/Software. Which Arduino board are you using?
Binary sketch size: 4814 bytes (of a 14336 byte maximum)-dpart: Invalid name.
Binary sketch size: 4610 bytes (of a 7168 byte maximum)Error: No such file or directory -> COM1