Distel on Win32

Luke Gorrie <[email protected]> 12 Mar 2003 00:09:48 +0100
Newsgroups gmane.comp.lang.erlang.distel.devel
Message-ID <[email protected]>
Hi all,

I've checked in a patch from Nicolas Charpentier that makes the Distel
elisp code portable to Win32, so now I'd like to make it a supported
platform for the next release.

However, I just installed Distel on a Win32 box here, and had to jump
through a few hoops. I'm hoping someone can help me out with figuring
out the right installation instructions for a "README.WIN32" file.

My basic setup is Windows 2000, GNU Emacs 21.1, OTP R9B-1, and some
fairly recent version of Cygwin. Here is roughly what I did:

1. Edit my PATH for Erlang by removing the quotes that the installer
   put in. Otherwise bash couldn't find erlc.

2. Since my cygwin bash has a sort of "virtual unix filesystem" that's
   different to Emacs, I did a "./configure --prefix=c:/distel" so
   that Cygwin, Emacs, and Erlang would all use consistent paths.

3. I set my HOME to c:/home/Administrator and did a "make
   config_install". This put the files in the right place, but it
   seems Erlang still considers c:/ to be HOME, so I copied my
   ~/.erlang to c:/

4. Because I had installed with prefix=c:/distel, I had to add
   c:/distel/bin to my PATH, to be able to find the dec32.exe helper
   program.

So my question is: does someone know a better way to do all this, when
starting from scratch, which I can use for installation instructions?

Cheers,
Luke



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en