I have installed emacs 24 from bzr in FreeBSD. Here it is goes.
- Install bzr from portage.
- %cd /usr/ports/devel/bzrtools && sudo make install clean
- Install depended software from default emacs portage.
- %cd /usr/ports/editor/emacs && sudo make
- Create emacs checkout director for bzr checkout
- %mkdir ~/gnmk_emacs
- Pull the updated branch from emacs source
- %cd ~/gnmk_emacs
- %bzr branch http://bzr.savannah.gnu.org/r/emacs/trunk emacs_trunk
- Configure
- %cd ~/gnmk_emacs/emacs_trunk/
- %./Configure --prefix=~/gnmk_emacs/bsd_emacs/
- Make bootstrap to generate all lisp
- %gmake bootstrap
- Finally Install
- %gmake install
- Run
- %~/gnmk_emacs/bsd_emacs/bin/emacs