Preparation for building Firefox under Fedora

Today, I want to build Firefox myself. So I found this post: Simple Firefox build, and there is a link, which could help me setup the prerequisites. The link is Linux Build Prerequisites. But I still got some problems when I followed the instruction. So I write down this article about preparation for building Firefox.