Reputation: 13211
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!
Upvotes: 3
Views: 1563
Reputation: 1370
Before I did ./configure - -prefix=CUSTOMPATH > make > make install, I also replaced all instances of /usr/local in src/epaths.in to CUSTOMPATH.
configure script used src/epaths.in to generate src/epaths.h which is used in make install.
Upvotes: 0
Reputation: 5494
Rather than
make install prefix=~admin/sw
try:
./configure --prefix=~admin/sw
make
make install
This may require an absolute path.
Upvotes: 7
Reputation: 11372
Do you have a .emacs file around ( perhaps dating back to a previous install ) that could have the wrong path in it?
Upvotes: 0