21 June 2012

Compiling in Emacs (MacOSX 10.6)

when compiling gtkmm (installed with MacPorts) in emacs, command not found message appeared.
solution:
in ~/.emacs
;;; A quick & ugly PATH solution to Emacs on Mac OSX
(if (string-equal "darwin" (symbol-name system-type))
  (setenv "PATH" (concat "/opt/local/bin:/opt/local/sbin:" (getenv "PATH"))))
restart emacs

source

No comments:

Post a Comment