安装Erlang / OTP的问题

时间:2014-06-19 15:00:54

标签: ubuntu erlang makefile otp

我尝试按照文档安装Erlang / OTP http://www.erlang.org/doc/installation_guide/INSTALL.html。 我在构建Erlang / OTP版本时遇到了问题。 当我运行make时,我得到:

Makefile:247: /home/otp_src_17.0/make/i686-pc-linux-gnu/otp_ded.mk: No such file or directory
make: *** No rule to make target `/home/amiro/otp_src_17.0/make/i686-pc-linux-gnu/otp_ded.mk'.  Stop.

这里有没有人遇到过这种问题?

4 个答案:

答案 0 :(得分:4)

从头开始构建Erlang包时发生了错误。 为什么不尝试使用apt-get安装Erlang? Ubuntu存储库已经有了最近的Erlang软件包。

只需在终端上输入并执行以下命令:

sudo apt-get install erlang erlang-doc

参考:https://askubuntu.com/questions/190612/how-to-install-erlang-in-ubuntu-12-04

答案 1 :(得分:3)

您可以尝试从此处为您的系统https://www.erlang-solutions.com/resources/download.html下载OTP。或者尝试使用此http://freshbrewedcode.com/bryanhunter/2014/04/10/hurray-for-erlang-17-0/方法 - 在此脚本中列出所有必需的包。

答案 2 :(得分:1)

基本上,您可以通过以下三种方式安装Erlang:

1-U可以尝试通过https://zoome-production-users.firebaseio.com/country.json?orderBy="fullname"&equalTo="Vitor Darela" 安装Erlang,但对于Ubuntu,Erlang版本将是-18:

apt-get

1.1-如果您无法安装Erlang,请在安装之前尝试从计算机中删除Erlang:

$ sudo apt-get install esl-erlang

2-U可以尝试下载并安装任何Erlang版本,使用Erlang Solutions https://www.erlang-solutions.com/resources/download.html,但是您应该知道,在19+版本中,您会收到错误$ sudo apt-get remove esl-erlang $ sudo apt-get install esl-erlang -这意味着Erlang将会是可以,但是无法使用WX,但这也可以解决,请点击链接https://elixirforum.com/t/observer-start-is-not-working-on-ubuntu/6018

3-U可以逐步尝试使用http://erlang.org/doc/installation_guide/INSTALL.html,但请确保已下载要在处理器体系结构下安装的版本-在其他情况下,您将遇到安装问题

答案 3 :(得分:0)

在Ubuntu上用evm(erlang版本管理器)安装erlang时遇到了同样的问题。 我解决了安装那些软件包: automake autoconf libreadline-dev libncurses-dev libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev xsltproc

然后,我使用文档安装了erlang,没有任何问题: evm install OTP_21.1 --with-docs

我希望这会有所帮助。