On 2013-12-30 16:06, Fernando Lopez-Lezcano wrote:
On 12/29/2013 09:24 AM, Martin Peach wrote:
On 2013-12-28 18:07, Fernando Lopez-Lezcano wrote:
On 12/28/2013 02:20 PM, Martin Peach wrote:
On 2013-12-28 14:45, Fernando Lopez-Lezcano wrote:
On 12/28/2013 06:37 AM, Brendan Jones wrote:
Actually pd-extended is still missing in action for Fedora 20. If
anyone
out there has a patch to build it with Lua 5.2 let me know (it
currently
needs Lua 5.1 and Fedora ships with 5.2)...
As a first try you could change the Makefile to use 5.2 instead of
5.1 I
don't know if that will break anything.
pd-extended itself does not complain but the build fails, see below. I
think I found some other software that had the same problems, I was
hoping someone had dealt with this already.
Well I'm the maintainer for that particular external so I will get on it
as soon as I can! It seems that the c API has changed a bit between
versions of lua. I hope the incompatibility doesn't go much deeper or it
will be necessary to have separate [pdlua5.2] and [pdlua5.3]s ;(
So far it looks like lua_load needs to be called with an extra parameter
(NULL will do), and lua_open needs to be replaced by lua_newstate with
two new parameters.
Let me know if you create a patch, I'll be happy to include it in my
build...
OK I got it working with either lua5.1 or 5.2. Seems like it was just a
couple of functions that have been changed in lua.
The sourceforge repository has been updated.
The changed files are pdlua.c and Makefile.
I guess you could make a patch from the diffs:
http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/loaders/pdlua/src/pdlua.c?diff=51ad05b72718464f1a13f1fe:15939
http://sourceforge.net/p/pure-data/svn/17235/tree//trunk/externals/loaders/pdlua/src/Makefile?diff=15049
Martin
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user