我需要在Python中为nltk分类例程安装megam。我遵循了this post的牛奶魔术的指示
制作 *.mli *.ml > .depend ocamlc -g -custom -o str.cma -cclib -lcamlstr bigarray.cma -cclib -lbigarray unix.cma -cclib -lunix -I /lib/ocaml/caml fastdot_c.c -I en30 20 en22 en24 en26 en29 en31# sh: flexlink:未找到命令 文件"fastdot_c.c",第1行: 错误:生成自定义运行时系统时出错:* Makefile:101: megam错误2
你知道问题出在哪里吗?
也许最近有人已经解决了同样的问题,而且可能会有所帮助。
发布于 2017-10-20 18:34:54
因为错误是
sh: flexlink: command not found
您需要找到包含它的包。
$ cygcheck -p flexlink
Found 5 matches for flexlink
flexdll-0.34-1 - flexdll: Creates DLLs with runtime symbol resolution (installed binaries and support files)
flexdll-0.35-1 - flexdll: Creates DLLs with runtime symbol resolution (installed binaries and support files)
flexdll-0.35-2 - flexdll: Creates DLLs with runtime symbol resolution
...
因此,您需要安装flexdll软件包。
$ cygcheck -l flexdll |grep bin
/usr/bin/flexlink
https://stackoverflow.com/questions/46852316
复制相似问题