Re: Re: [erlang-questions] Erlang + Emacs + Distel on windows

info <>
Tue Dec 28 17:53:47 CET 2010


Hello,
I already updated my .emacs file for distel.
I defined in c:\ documents and settings\administrator the .erlang_cookie file.
*** Is it the correct directory for the erlang cookie ? ***
I opened an erl module in emacs.
I opened a shell window, I checked node(). = , I checked erlang:get_cookie().
I compiled the erl module by c("mymodule",[debug_info]).
I connected to the node emacs by c-c c-d n.
*** error in process filter: Opening input file: no such file or directory, c:/.erlang.cookie ***
I moved the .erlang.cookie file in c:
I connected to the node emacs by c-c c-d n.
*** no error message ***
I reloaded the module by c-c c-d L
***
Distel Warning: node  can't seem to load the `distel' module.
This means that most Distel commands won't function correctly, because
the supporting library is not available. Please check your node's code
path, and make sure that Distel's "ebin" directory is included.
The most likely cause of this problem is either:
  a) Your ~/.erlang file doesn't add Distel to your load path (the
     Distel "make config_install" target can set this up for you.)
  b) Your system's boot script doesn't consult your ~/.erlang file to
     read your code path setting.
To disable this warning in future, set `distel-inhibit-backend-check' to t.
***

.erlang file doesn't exist !
make config_install seems to be a linux command ?
How can I progress ?

I am not the first one to use distel and erlang on windows !!!

J-Ph. Constantin
ITS3 Genève
www.its3.ch


More information about the erlang-questions mailing list