Was trying to enable permalinks in wamp for my wordpress installation and all i was getting was a page not found error.
To fix it this is what i did,
clicked on the wamp icon on the taskbar,
in wamp menu go to,
Apache -> Apache Modules -> enable mod_rewrite
Apache will automatically restart and then your permalinks will work.