From: Jeff B. <jef...@gm...> - 2014-05-15 15:36:21
|
Hi Thomas, On Thu, May 15, 2014 at 11:28 AM, Thomas Klausner <tk...@gi...> wrote: > > I'm packaging notion for pkgsrc, and recently updated to 2014010900 > (it would have been nice if that version had been announced). Around > the same time pkgsrc grew support for parallel installation of lua51 > and lua52. The notion package pulled in lua52 (which provides > /usr/pkg/bin/lua5.2 and the corresponding library > /usr/pkg/lib/liblua5.2.la). NetBSD itself comes with /usr/bin/lua, > which is lua-5.1.5. > > When I started notion, it complained about > /usr/pkg/lib/notion/lc/ioncore_ext.lc being compiled for the wrong lua > version. > > I've changed the package to use lua-5.1 for now. > > Perhaps the problem is just that I need to tell notion more explicitly > that it should only use /usr/pkg/bin/lua5.2? > Thomas > > Ahh - yes, Notion's build setup can get confused if you have multiple versions of Lua installed. Please take a look at system-autodetect.mk. There is a section in there regarding the Lua compiler and interpreter. It sounds like you will need to explicitly tell it where to find the compiler and interpreter for 5.2. Regards, Jeff -- Jeff Backus jef...@gm... http://github.com/jsbackus |