On Sun, Feb 6, 2011 at 7:45 AM, Alexander Gladysh <[email protected]> wrote: > Hi, list. > > $ sudo luarocks install luasec > Installing http://luarocks.org/repositories/rocks/luasec-0.4-3.src.rock... > Archive: /tmp/luarocks_luarocks-rock-luasec-0.4-3-1038/luasec-0.4-3.src.rock > inflating: luasec-0.4-3.rockspec > inflating: luasec-0.4.tar.gz > gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/buffer.c -o src/buffer.o > gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/context.c -o src/context.o > src/context.c:8: fatal error: openssl/ssl.h: No such file or directory > compilation terminated. > > sudo apt-get install libssl-dev helps, but I think that LR should > detect missing header earlier.
The attached rockspec adds external dependency checks for Unix platforms. Do they look okay? (It works on my machine, at least.) I don't know if these tests apply for Windows as well or if entries should be different. -- Hisham
luasec-0.4-4.rockspec
Description: Binary data
_______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
