I setup luarocks against lua 5.2 today and it seems to magically be
working (good job!). However many of the rocks with c extensions seem
incompatible. I'm relatively new to this, so I'm sure I'm missing a
lot. But I figured I would ask about what i'm seeing.

Is this just a case of rocks that only work with 5.1 and below?

I don't see a way for rocks to specify what interpreter / version they
are designed to run on... is this something that is needed?

Potentially I guess this could be bugs in luarocks 5.2 support, if so
where do I report these issues?

Example:

https://gist.github.com/2d4e9b203974f4eda1f

(narwhal)opae:~/Projects/lua/vert:master✗ ./bin/luarocks install luafilesystem
Installing 
http://luarocks.org/repositories/rocks/luafilesystem-1.5.0-2.src.rock...
Using http://luarocks.org/repositories/rocks/luafilesystem-1.5.0-2.src.rock...
switching to 'build' mode
Archive:  
/tmp/luarocks_luarocks-rock-luafilesystem-1.5.0-2-7064/luafilesystem-1.5.0-2.src.rock
  inflating: luafilesystem-1.5.0-2.rockspec
 extracting: luafilesystem-1.5.0.tar.gz
Do not use 'module' as a build type. Use 'builtin' instead.
gcc -O2 -fPIC -I/usr/local/include -c src/lfs.c -o src/lfs.o
src/lfs.c:779:30: error: array type has incomplete element type

Error: Build error: Failed compiling object src/lfs.o

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to