在ubuntu 12.04上编译erld

mit*_*mit 1 compiling services make

我正在编译erld,一个将 Erlang 程序作为 UNIX 守护进程运行的程序,请参阅

https://github.com/ShoreTel-Inc/erld/wiki

我遵循的制作说明在这里:

https://github.com/ShoreTel-Inc/erld/blob/master/README

make步骤中间有一个错误:

In file included from slay.c:25:0:
debug.h:41:6: warning: conflicting types for built-in 
  function ‘log’ [enabled by default]
slay.c:29:45: fatal error: proc/readproc.h: No such file or directory
compilation terminated.
make[1]: *** [erld-slay.o] Error 1
make[1]: Leaving directory `/home/ad/erld/c_src'
make: *** [all-recursive] Error 1   
Run Code Online (Sandbox Code Playgroud)

这是 ubuntu 12.04 服务器 64:

$ uname -a
Linux lfe1 3.2.0-26-virtual #41-Ubuntu SMP Thu Jun 14 18:08:54 UTC 2012 
  x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

我无法在这个问题中添加标签“erlang”。也许分数多的人可以做到。

Web*_*b-E 5

安装libproc-dev 安装 libproc-dev

或运行 sudo apt-get install libproc-dev

  • 在 ubuntu 14.04 上“sudo apt-get install libprocps3-dev” (3认同)