【发布时间】:2017-10-21 02:34:54
【问题描述】:
我需要为 Python 中的 nltk 分类例程安装 megam。
我遵循了来自 this post:
的 Milk Magic 的指示
0. 从http://www.umiacs.umd.edu/~hal/megam/index.html下载megamem源码
1. 使用 gcc、make 和 ocaml 包安装 cygwin
2.修改了makefile
3. 尝试使用 makefile 编译 megam 时,我收到以下内容的错误
制作
ocamldep *.mli *.ml > .depend ocamlc -g -custom -o megam str.cma -cclib -lcamlstr bigarray.cma -cclib -lbigarray unix.cma -cclib -lunix -I /lib/ocaml/caml fastdot_c.c fastdot.cmo intHashtbl.cmo arry.cmo util .cmo data.cmo bitvec.cmo cg.cmo wsemlm.cmo bfgs.cmo pa.cmo perceptron.cmo radapt.cmo kernelmap.cmo abffs.cmo main.cmo
sh:flexlink:找不到命令
文件“fastdot_c.c”,第 1 行:
错误:构建自定义运行时系统时出错 make: *** [Makefile:101: megam] 错误 2
你知道问题可能是什么吗?
也许有人最近解决了同样的问题并可以提供帮助。
【问题讨论】:
标签: python makefile cygwin nltk