Guys,

I try to build binary rocks (or just install) lua-imlib2 on 
ubuntu/natty. We have stock ubuntu lua5.1, liblua5.1-0-dev and custom 
built luarocks.

(natty-test)root@master:/home/avn/tmp/pk-foreign-rocks# luarocks install 
lua-imlib2-0.1-3.src.rock 
Using lua-imlib2-0.1-3.src.rock... switching to 'build' mode
Archive:  /home/avn/tmp/pk-foreign-rocks/lua-imlib2-0.1-3.src.rock
  inflating: lua-imlib2-0.1-3.rockspec  
 extracting: lua-imlib2-0.1.tar.gz   
Applying patch libflag.patch...
successfully patched 
/tmp/luarocks_lua-imlib2-0.1-3-497/lua-imlib2-0.1/Makefile
gcc -O2 -fPIC   -c -o limlib2.o limlib2.c
limlib2.c:3:17: fatal error: lua.h: No such file or directory
compilation terminated.
make: *** [limlib2.o] Error 1

Error: Build error: Failed building.
(natty-test)root@master:/home/avn/tmp/pk-foreign-rocks#

Luarocks configured with following options (if it does matter):
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc/luarocks \
        --with-lua=/usr \
        --with-lua-include=/usr/include/lua5.1 \
        --with-lua-lib=/usr/local/lib \
        --rocks-tree=/usr/local/ \
        --with-downloader=wget \
        --with-md5-checker=md5sum

I also try build lua-imlib from upstream git:
He has complete different rockspec file --
https://github.com/asb/lua-imlib2/blob/master/lua-imlib2-dev-1.rockspec

I check this maillist archive, and found why spec was patched,
http://lists.luaforge.net/pipermail/luarocks-developers/2008-March/000457.html

It wasn't build on Mac OS X with old version of LR.  Can anyone, who 
has mac os, check  -- maybe with resent LR spec from upstream git 
build without any problems, and we can revert to plain "builtin" 
rockspec? (and ask author to mark it as a new release, because source 
and spec are not changed last 4 years).

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to