macos - 试图在 Mac OS Catalina 上安装 GNUPlot... ../term/lua.trm:107:10: 致命错误: 'lua.h' 文件未找到
问题描述
我正在使用 Mac OS Catalina 安装 gnuplot,它是基于 java 的应用程序的依赖项,我收到 FATAL ERROR: 'lua.h' file not found
#./configure --with-readline=builtin
#make # build the program and documentation
make[4]: *** [term.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
#make check # run unit tests to confirm successful build
../term/lua.trm:107:10: fatal error: 'lua.h' file not found
#include <lua.h>
^~~~~~~
1 error generated.
make[3]: *** [term.o] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1
任何人都可以帮助我吗?
解决方案
I'd suggest using a package manager like HomeBrew (http://brew.sh) which deals with all the dependencies (like Lua) when installing. Is there a reason you need to build it yourself like this?