You're actually in good shape at this point, but now let's get into gear.
Have you gone down the sewer-tunnel at the far side of the waterwheel?
Down there, move the gear into place. Now you'll be able to use the power generated by the waterwheel, once you get it turning.