A/usr/bin/env:escript:no such file or directory issue occurred with the make compilation Mochiweb project.
Since ESCRPT is an advanced feature of Erlang, is it thought that Erlang installation is unsuccessful?
The re-installation of Erlang did not reveal anything unusual.
So go to Erlang's installation directory to find the Escript parser, the result is that he exists and/usr/bin/env also exist, but in the command line down to find this command.
View system default installation directory/usr/local/bin/found only Erl, Wx-config, WXRC, wxrc-3.0, and no escript,
So guess is because the hash can not find Escript in the directory, in the VI ~/HASHRC (HASHRC will be executed once each time the shell) command configuration Escript directory (such as "path= $PATH:/home/erlang/bin") ,
Run make successful.
Linux_ Novice Road _/usr/bin/env:escript:no such file or directory issues