After installing/activating Buddypress, get 404 errors on any links

It happens on every link from the home page. Any help would be appreaciated.