Linux_ Novice Road _/usr/bin/env:escript:no such file or directory issues

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.