As a "rule of thumb", I always try to leave at least 2' from a side wall and depending on whether the speaker is ported in front or back you'll want to go by your own ears or just go by manufacturer's recommendations for distance from the back. Both of which I've found to be important in my own personal tastes in bass response and high frequency placements. It helps to get the best out of the designer's intentions, if any in some cases.
You can get general ideas from many people, but it all depends on whether they are floor or bookshelf.