all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs: file-error "Cannot open load file" "cc-mode"
@ 2002-09-12 13:24 Magnus Mager
  2002-09-12 13:51 ` Kai Großjohann
  2002-09-12 14:53 ` John McCabe
  0 siblings, 2 replies; 6+ messages in thread
From: Magnus Mager @ 2002-09-12 13:24 UTC (permalink / raw)


Hi there!

I'am using GNU-Emacs 21.2 on both my home machine and my notebook.
On my host machine it works fine, but on my notebook the following fails:
- When I open an c/cpp file the status line says: file-error "Cannot open 
load file" "cc-mode".
- When I want to switch into the gnus mode it says: Cannot open load file: 
gnus.

What have I done wrong duiring installation?


Thanks.

Magnus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs: file-error "Cannot open load file" "cc-mode"
  2002-09-12 13:24 Emacs: file-error "Cannot open load file" "cc-mode" Magnus Mager
@ 2002-09-12 13:51 ` Kai Großjohann
  2002-09-12 21:17   ` Magnus Mager
  2002-09-12 14:53 ` John McCabe
  1 sibling, 1 reply; 6+ messages in thread
From: Kai Großjohann @ 2002-09-12 13:51 UTC (permalink / raw)


Magnus Mager <magnus-m@gmx.net> writes:

> I'am using GNU-Emacs 21.2 on both my home machine and my notebook.
> On my host machine it works fine, but on my notebook the following fails:
> - When I open an c/cpp file the status line says: file-error "Cannot open 
> load file" "cc-mode".
> - When I want to switch into the gnus mode it says: Cannot open load file: 
> gnus.
>
> What have I done wrong duiring installation?

You have done something wrong, but who knows what.  How did you
install Emacs on your notebook?

Possible cause: you compiled Emacs for installation directory foo and
then copied into directory bar.

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs: file-error "Cannot open load file" "cc-mode"
  2002-09-12 13:24 Emacs: file-error "Cannot open load file" "cc-mode" Magnus Mager
  2002-09-12 13:51 ` Kai Großjohann
@ 2002-09-12 14:53 ` John McCabe
  2002-09-12 21:02   ` Magnus Mager
  1 sibling, 1 reply; 6+ messages in thread
From: John McCabe @ 2002-09-12 14:53 UTC (permalink / raw)


On Thu, 12 Sep 2002 15:24:47 +0200, Magnus Mager <magnus-m@gmx.net>
wrote:

>Hi there!
>
>I'am using GNU-Emacs 21.2 on both my home machine and my notebook.
>On my host machine it works fine, but on my notebook the following fails:
>- When I open an c/cpp file the status line says: file-error "Cannot open 
>load file" "cc-mode".
>- When I want to switch into the gnus mode it says: Cannot open load file: 
>gnus.
>
>What have I done wrong duiring installation?

Is it Emacs-NT? If so, have you run addpm.exe on both?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs: file-error "Cannot open load file" "cc-mode"
  2002-09-12 14:53 ` John McCabe
@ 2002-09-12 21:02   ` Magnus Mager
  0 siblings, 0 replies; 6+ messages in thread
From: Magnus Mager @ 2002-09-12 21:02 UTC (permalink / raw)


John McCabe wrote:

> Is it Emacs-NT? If so, have you run addpm.exe on both?

No it's the linux version.

Magnus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs: file-error "Cannot open load file" "cc-mode"
  2002-09-12 13:51 ` Kai Großjohann
@ 2002-09-12 21:17   ` Magnus Mager
  2002-09-13 11:49     ` Kai Großjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Magnus Mager @ 2002-09-12 21:17 UTC (permalink / raw)


Kai Großjohann wrote:

> 
> You have done something wrong, but who knows what.  How did you
> install Emacs on your notebook?
> 
> Possible cause: you compiled Emacs for installation directory foo and
> then copied into directory bar.
> 
> kai

I've installed it by first compiling it on my host machine and then 
installing it via nfs on my notebook (where /mnt on the host is / on the 
laptop:

./configure --host=i386-pc-linux-gnu --without-x --prefix=/usr/local &&
make CFLAGS=-m386 &&
make prefix=/mnt/usr/local install

Magnus

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Emacs: file-error "Cannot open load file" "cc-mode"
  2002-09-12 21:17   ` Magnus Mager
@ 2002-09-13 11:49     ` Kai Großjohann
  0 siblings, 0 replies; 6+ messages in thread
From: Kai Großjohann @ 2002-09-13 11:49 UTC (permalink / raw)


Magnus Mager <magnus-m@gmx.net> writes:

> I've installed it by first compiling it on my host machine and then 
> installing it via nfs on my notebook (where /mnt on the host is / on the 
> laptop:
>
> ./configure --host=i386-pc-linux-gnu --without-x --prefix=/usr/local &&
> make CFLAGS=-m386 &&
> make prefix=/mnt/usr/local install

This is looking good.  Yet, Emacs doesn't find its Lisp files.  How
about you run strace on Emacs to see which files it tries to open?

You could also type load-path, then C-j, in the *scratch* buffer.
Maybe it contains bogus directory names.

kai
-- 
~/.signature is: umop 3p!sdn    (Frank Nobis)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-13 11:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-12 13:24 Emacs: file-error "Cannot open load file" "cc-mode" Magnus Mager
2002-09-12 13:51 ` Kai Großjohann
2002-09-12 21:17   ` Magnus Mager
2002-09-13 11:49     ` Kai Großjohann
2002-09-12 14:53 ` John McCabe
2002-09-12 21:02   ` Magnus Mager

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.