Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not make the file #1

Open
mel10c opened this issue May 16, 2022 · 4 comments
Open

Could not make the file #1

mel10c opened this issue May 16, 2022 · 4 comments

Comments

@mel10c
Copy link

mel10c commented May 16, 2022

When try to make file, error display:
cd build_dict && lua trans.lua > mydict.h && gcc -shared -fPIC -llua libflypy.c -o ../lua/libflypy.so /bin/sh: lua: command not found make: *** [build/libflypy.so] Error 127

From with in neovim, it shows that dependency not found.

希望大佬这个cmp能做起来nvim社区挺缺一个lua based中文输入法的

@wasden
Copy link
Owner

wasden commented May 17, 2022

@mel10c 没装lua。依赖包括gcc、make、lua、/usr/include目录下要有lua.h、lauxlib.h、lualib.h

@mel10c
Copy link
Author

mel10c commented May 18, 2022

我在macos环境下 lua是安装了的 但是mac不支持安装包link到/usr/include (Homebrew/discussions#868) 😂 我再看看吧

@wasden
Copy link
Owner

wasden commented May 19, 2022

没有环境, 但我觉得brew install lua就行了

@mel10c
Copy link
Author

mel10c commented May 19, 2022

是用brew install的 但是homebrew没有link的的权限 所以暂时还不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants