If anyone finds this as a big question please let me know. I'll precise my problem.
Steps I followed:
I installed apr and apr-utils package in the path
"/usr" using the --prefix option.
Both were installed successfully. Hence I installed apache 2.4 to the same path ("/usr") using --prefix option while running