I haven’t posted in a while. But this short post should proof im still alive 😉
I’ve been doing a lot emacs lately and decided to give nmh a try. Unfortunately the script that ships with it, to automatically build and install nmh, won’t work on my Macbook running OS X 10.7. It just gives me this output:
make: *** [check-TESTS] Error 1 make: *** [check-am] Error 2 make: *** [check] Error 2 build failed! build log is in build_nmh.log
The build_nmh.log is full of messages that tell me to go away.
Here’s what I did to manually install it.
$ cd nmh $ autoconf $ autoheader $ configure --enable-debug --enable-pop --with-editor=emacs --prefix=$HOME/nmh $ make $ sudo make install
This installed nmh binaries into the “~/nmh” which is ok for now because I’ll just want to try out.
After that you need to got to emacs which includes mh-e since emacs 18. So this should apply to my nightly build version 184.108.40.206 from EmacsForMacOsX.
Now you need to configure the variable ‘mh-path’ so emacs will know where to find the executable.
I did this through calling ‘M-x customize-variable mh-path’ and entered “User/cb0/nmh/bin”
This will set this variable in you .emacs file
(custom-set-variables '(mh-path (quote ("/Users/cb0/nmh/bin"))))
After this run “M-x install-mh” to install and “M-x mh-version” to check if everything is installed correctly.
MH-E 8.5 MH-E compilation details: Byte compiled: yes Gnus (compile-time): Gnus v5.13 Gnus (run-time): Gnus v5.13 GNU Emacs 220.127.116.11 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2013-03-28 on bob.porkrind.org nmh 1.5+dev mh-progs: /Users/cb0/nmh/bin mh-lib: /Users/cb0/nmh/etc mh-lib-progs: /Users/cb0/nmh/lib Darwin snowball.lan 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386
I also installed the manual so I dont have to leave emacs for a straight start.
Now I’m excited to see nmh live and inside emacs.