[bugs:#1234] pdlua build system on linux (raspbian,archlinux)

Status: open
Group: v0.46
Created: Sun Mar 13, 2016 11:47 AM UTC by Anonymous
Last Updated: Sun Mar 13, 2016 11:47 AM UTC
Owner: Martin Peach

README file is obsolete, we try to use lua5.1 like specified in README but implicit declaration of lua_version shows that we need lua5.2.
the Makefile don't find lua.h because it doesn't look in the right folder, so we have to do this to Makefile:

sed -i '/LUA_CFLAGS =/c\LUA_CFLAGS = -I\/usr\/include\/lua5.2' Makefile
sed -i '/LUA_LIBS =
/c\LUA_LIBS = -llua5.2' Makefile
and this to install in ~/pd-external instead of /usr/local/lib/pd-externals
sed -i '/libdir = $(prefix)\/lib/c\libdir = ~' Makefile


Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/bugs/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.