Showing posts with label bzr. Show all posts
Showing posts with label bzr. Show all posts

15 November 2011

Installing Emacs 24 from source in FreeBSD

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