Did you get any errors whilst configuring/comiling apache? When compiling you should redirect your errors like so
./myscript 2&> my_error_file
Which will catch all errors, and put it in the my_error_file, Ive never actually had the situation before so not entirely sure why your getting it before recompiling which you may need to do check Apache.org or google to see if others have had similar situations most likely if they have there would be a solution to fix it.