Proper environment setting to compile Distel on Windows?

egarrulo <>
Fri Dec 18 12:27:28 CET 2009


Hello,

building Distel on Cygwin fails:

$ make
erlc -W -o ebin +debug_info src/distel.erl
c:/DOCUME~1/XXXXXX~1.OFF/distel-4.03/ebin/distel.bea#: error writing file
src/distel.erl:277: Warning: tuple/1 obsolete
src/distel.erl:359: Warning: integer/1 obsolete
src/distel.erl:361: Warning: list/1 obsolete
src/distel.erl:363: Warning: atom/1 obsolete
src/distel.erl:379: Warning: list/1 obsolete
src/distel.erl:388: Warning: atom/1 obsolete
src/distel.erl:565: Warning: atom/1 obsolete
src/distel.erl:783: Warning: list/1 obsolete
src/distel.erl:783: Warning: list/1 obsolete
src/distel.erl:849: Warning: list/1 obsolete
src/distel.erl:901: Warning: atom/1 obsolete
src/distel.erl:901: Warning: atom/1 obsolete
src/distel.erl:907: Warning: atom/1 obsolete
make: *** [ebin/distel.beam] Error 1

I think it's because of "c:/DOCUME~1/XXXXXX~1.OFF" not being a correct
Cygwin path. However, $HOME is properly set:

$ echo $HOME
/cygdrive/c/DOCUME~1/XXXXXX~1.OFF

I've tried setting Windows' %HOME% to /cygdrive/c/DOCUME~1/XXXXXX~1.OFF as
well and restarting Cygwin, but that doesn't change anything.

Any hint where make takes its "c:/DOCUME~1/XXXXXX~1.OFF"?

Thanks.


More information about the erlang-questions mailing list