I installed a new version of emacs (new for me). I didn't want to overwrite the stock copy so I put it in a group-readable directory ~admin/sw. I point my $PATH there and I'm able to pick it up, but when I run ~admin/sw/bin/emacs I get a whole bunch of warnings and errors:
Warning: arch-dependent data dir (/usr/local/libexec/emacs/23.1/x86_64-unknown-linux-gnu/) does not exist.
Warning: Lisp directory `/usr/local/share/emacs/23.1/site-lisp' does not exist.
Warning: Lisp directory `/usr/local/share/emacs/23.1/lisp' does not exist.
Warning: Lisp directory `/usr/local/share/emacs/23.1/leim' does not exist.
When I compiled emacs I did it as: make install prefix=~admin/sw.
All of those directories do exist but they exist at ~admin/sw/share/...
How can I configure my environment so that emacs looks there for the files? Thanks!