On Thu, Mar 10, 2011 at 4:44 AM, Hisham <[email protected]> wrote: > On Wed, Mar 9, 2011 at 5:47 PM, Peter Odding <[email protected]> > wrote: > > Hi Mike, > > > >> Trying to use luarocks to install 'struct' extension, but it fails on my > >> 64-bit system. My system is running Ubuntu 10.10 64-bit desktop edition. > How > >> to proceed from here ? > > What LuaRocks version is this? >
That'd be LuaRocks 2.0.2 ! > > > I recently encountered the same problem while trying to install a Lua > > module on my 64 bit virtual private server using LuaRocks. Here's the > > workaround I used then: > > > > [email protected]> tail -n1 /etc/luarocks/config.lua > > variables.CFLAGS = '-fPIC' > > > > So just add that last line to /etc/luarocks/config.lua and try again, it > > should work now. > > The latest release should do this automatically in all Unix platforms. > > Great, thanks.
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
