lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I git a problem while trying to install luazip via luarocks:

    solfire:/root>luarocks install luazip
    Installing http://luarocks.org/repositories/rocks/luazip-1.2.3-2.src.rock...
    Using http://luarocks.org/repositories/rocks/luazip-1.2.3-2.src.rock... switching to 'build' mode
    Archive:  /tmp/luarocks_luarocks-rock-luazip-1.2.3-2-5325/luazip-1.2.3-2.src.rock
    inflating: luazip-1.2.3-2.rockspec  
    inflating: luazip-1.2.3.tar.gz     
    gcc -O2 -fPIC -I/usr/include -I/usr/include   -c -o src/luazip.o src/luazip.c
    export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -fPIC -I/usr/include -I/usr/include -shared -L/usr/lib -o src/zip.so.1.2.3 src/luazip.o  -lzzip
    mkdir -p /usr/lib64/lua/luarocks/lib/luarocks/rocks/luazip/1.2.3-2/lib
    cp src/zip.so.1.2.3 /usr/lib64/lua/luarocks/lib/luarocks/rocks/luazip/1.2.3-2/lib
    cd /usr/lib64/lua/luarocks/lib/luarocks/rocks/luazip/1.2.3-2/lib; ln -f -s zip.so.1.2.3 zip.so
    cp: cannot stat `/usr/lib64/lua/luarocks/lib/luarocks/rocks/luazip/1.2.3-2/lib/zip.so': No such file or directory

Error: Failed copying /usr/lib64/lua/luarocks/lib/luarocks/rocks/luazip/1.2.3-2/lib/zip.so to /usr/lib64/lua/luarocks//lib/lua/5.1/zip.so


Why is this line:"export MACOSX_DEPLOYMENT_TARGET="10.3";......."
contained above?

I am trying this on Linux and I have successfully luarocked alien and
lpeg...

Thank you very much in advance for any help!
Best regards,
mcc