Building from source:
Unpack the mozilla source code and change into the mozilla-release directory. Create your own directory for this build, cd into it, then run ../configure.
mozilla-release
../configure