build error in MacOS 10.14.6 using tar_em_up.sh
I don't know if anyone has experienced this.
I am on MacOS 10.14.6.
I have installed all the dependencies as listed in purr-data/README.md using homebrew,
and lua.h
is located at /usr/local/include/lua/
.
When I use l2ork_addons/tar_em_up.sh
, the following error arises:
make -C /Users/tszkiupang/repos/purr-data/externals/pd-lua LUA_CFLAGS="" LUA_LIBS="" PD_PATH="/Users/tszkiupang/repos/purr-data/pd" PD_LIB="/Users/tszkiupang/repos/purr-data/pd/src" CFLAGS="-DPD -I/Users/tszkiupang/repos/purr-data/pd/src -Wall -W -Wno-unused-parameter -ggdb -I/Users/tszkiupang/repos/purr-data/Gem/src -I/sw/include -I/Users/tszkiupang/repos/purr-data/externals/pdp/include -DMACOSX -DUNIX -Dunix -DDL_OPEN"
cc -I"/Users/tszkiupang/repos/purr-data/pd/src" -DPD -DVERSION='"0.9"' -mmacosx-version-min=10.9 -fPIC -I/sw/include -I/opt/local/include -DPD -I/Users/tszkiupang/repos/purr-data/pd/src -Wall -W -Wno-unused-parameter -ggdb -I/Users/tszkiupang/repos/purr-data/Gem/src -I/sw/include -I/Users/tszkiupang/repos/purr-data/externals/pdp/include -DMACOSX -DUNIX -Dunix -DDL_OPEN -fast -fPIC -ftree-vectorize-march=core2 -msse3 -mssse3 -mfpmath=sse -o pdlua.o -c pdlua.c
clang: warning: argument unused during compilation: '-fast' [-Wunused-command-line-argument]
pdlua.c:45:10: fatal error: 'lua.h' file not found
#include <lua.h>
^~~~~~~
1 error generated.
This seems very strange to me as LUA_CFLAGS
and LUA_LIBS
are empty strings, where in externals/pd-lua/Makefile
, LUA_CLAGS = -I/usr/local/include/lua
(I changed this from -I/usr/include/lua
in attempt to debug this) and LUA_LIBS = -llua
. I would much appreciate if anyone could please point me in the right direction