The same thing happened to me after I have just Installed the SUNWgnu-emacs package using the following command: pfexec pkg install SUNWgnu-emacs
After installed it, neighter "pkg" nor "emacs" works, for that SUNWgnu-emacs requires "SUNWgnu-emacs-gtk" or "SUNWgnu-emacs-x" or "SUNWgne-emacs-nox" as an excutable binary. Can anybody help ? -- This message posted from opensolaris.org