我是 Opa(和编译语言)的新手——通常使用 Python 开发 Web 应用程序。
我正在关注http://doc.opalang.org/index.html#_introducing_opa上的介绍教程,但是当我运行“opa hello_chat.opa”时,我的 hello_chat.opa 文件不会编译。我收到以下错误:
/usr/bin/ld:找不到-lgdbm_compat collect2:ld返回1退出状态文件“caml_startup”,第1行,字符0-1:错误:链接make时出错:* [native] ocaml编译时出错2--命令是:make --makefile=Makefile -W Makefile -j 7 native -s
我在 Debian 6.0.2 上。我按照上面链接的介绍教程中的“2.1.2. Ubuntu Linux,Debian Linux”中的说明安装了 opa。
没有安装 Lua。但是,安装了 liblua5.1-0(如果这甚至相关)。