Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs unable to load its startup files

Tags:

emacs

emacs23

I upgraded emacs on a remote terminal to 23-snapshot. As I did not have root privileges there, I did 'make install' with 'prefix' set to a folder in my home directory. Now when I start emacs, it gives an error 'Cannot open load file: encoded-kb', it, also, is unable to run dired or load cc-mode. I tried starting it with '--no-site-file', '-Q', '-q', all have the same issue. My .emacs is empty. Any suggestions?

Thanks for your help.

Regards, Nishith

Update: These are the messages I get when I try to run 'emacs' no arguments.

Warning: arch-dependent data dir (/usr/local/libexec/emacs/23.0.93/x86_64-unknown-linux-gnu/) does not exist.
Warning: Lisp directory `/usr/local/share/emacs/23.0.93/site-lisp' does not exist.
Warning: Lisp directory `/usr/local/share/emacs/site-lisp' does not exist.
Warning: Lisp directory `/usr/local/share/emacs/23.0.93/lisp' does not exist.
Warning: Lisp directory `/usr/local/share/emacs/23.0.93/leim' does not exist.

Its a 64 bit system. Emacs source code was take from the cvs using

cvs -d:pserver:[email protected]:/sources/emacs co emacs

update2: Thanks Charlie and Trey for your answers. I think I will skip the 'make install' and stick to using the src/emacs for the time being. Cheers.

like image 255
Nishith Avatar asked May 21 '09 04:05

Nishith


1 Answers

For me, this error disappeared when I instead of changing the prefix variable in the Makefiles, did a:

./configure --prefix=/my_special_path/usr/local
like image 61
Axel Bregnsbo Avatar answered Sep 18 '22 11:09

Axel Bregnsbo