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 ?

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.

 - Peter Odding

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to