On 2007-11-18 12:38 -0700, William Scales wrote:
> ~$ lua /usr/local/lib/ion3/lc/ioncore_ext.lc
> lua: ioncore_ext.lua:19: attempt to index global 'ioncore' (a
> nil value)
> ~$ /usr/bin/lua /usr/local/lib/ion3/lc/ioncore_ext.lc
> /usr/bin/lua: /usr/local/lib/ion3/lc/ioncore_ext.lc: bad header
> in precompiled chunk
There's the problem: those two versions are apparently incompatible.
I presume you have tried to built Ion using the manually compiled
version. However, gcc/ld in its _infinite_ wisdom has decided to
link Ion against the version in /usr/lib. This might also be because
the version in /usr/local has broken permissions: the Lua 'make
install' often does that. Check the permissions. For all of the
files installed by Lua. If that doesn't help, remove one of the
versions.
> As I can't find any mod_sp lua files, I'm at a loss as for what to do next.
Ah, the Ion build process actually directly turns such simple stub
loaders into .lcs without creating a .lua file. The contents of that
file are simply: ioncore.load_module('mod_sp')
--
Tuomo