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
   

5 comments:

mukesh said...

what is use of emacs 24 ??

gnumonk said...

Do you use Linux ? emacs is an powerful editor http://www.gnu.org/software/emacs/ or search google for emacs.

without understanding don't comment.

Anonymous said...

Hello!
I was following your directions, because to-date, freeBSD only has emacs23 in their ports tree... and that hung-up on me when I ran it.

Anyway, I was able to progress fine with your instructions, until I got to Step 5, Configure.

./Configure --prefix=~/gnmk_emacs/bsd_emacs/

The system didn't find that command.. and I don't think I have a Configure or configure file inside
/gnmk_emacs/emacs_trunk/


Any thoughts on what I'm doing wrong?

Thank you!

gnumonk said...

konb2400,
./Configure is not available then please run ./autoconf.sh from then same directory, It will create ./Configure file for you.


--
gnumonk

Unknown said...

thank you for the info success continues
http://infonyakesehatan98.blogspot.com/