开发者

Erlang and YAWS setup in Windows

I am trying to setup Erlang with YAWS in Windows. I开发者_如何学编程 Installed otp_win32_R14B03.exe and it worked fine and I am able to compile Erlang Programs.

I installed Yaws-1.90-windows-installer.exe, then from command prompt I tried running YAWS -i command and I get below error:

C:\ERL58~1.4\ERTS-5~1.4\bin\beam.smp.dll unknown flag ->
Usage: beam.smp.dll [flags] [ -- [init_args] ]


First of all, you must have the Full path to erlang's executable scripts in your system environment PATH. usually on windows you will find this path as C:/Program Files (x86)/erl-5.8.3/bin . add this path in your PATH environment variable.

The next thing is that the command to start yaws should be yaws -i. NOT YAWS -I the way you probably entered it in the shell.


On further research I figured out the problem

We need to add C:\Program\erl5.8.4\bin, C:\Program\erl5.8.4\erts-5.8.4\bin,C:\Program\erl5.8.4\lib\yaws-1.90\bin all three to path variable, then yaws works like charm

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜