Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
purr-data
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 269
    • Issues 269
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 16
    • Merge Requests 16
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Jonathan Wilkes
  • purr-data
  • Issues
  • #582

Closed
Open
Opened Mar 12, 2020 by Tsz Kiu Pang@nivlekp

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: jwilkes/purr-data#582