LSM303 problem

The I2C bus requires pull-up resistors on both lines. If the breakout board doesn't have them you have to provide them.