I have compiled and installed apache to /usr/local/apache
You should have posted the options used to ./configure
/usr/local/apache/bin/apachectl -M | grep rewrite
mod_rewrite is not compiled either as a DSO or a static module. Now I saw you used "--enable-module=rewrite". The correct option is "--enable-rewrite", or "--enable-modules=list of modules you want to enable".
You can go into the apache sources directory and run the following commands in this order
./configure --prefix=/usr/local/apache --enable-rewrite --<any other options you want>
sudo make install