lua-users home
lua-l archive

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


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

    solfire:/root>luarocks install luazip
    Using 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/ src/luazip.o  -lzzip
    mkdir -p /usr/lib64/lua/luarocks/lib/luarocks/rocks/luazip/1.2.3-2/lib
    cp src/ /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
    cp: cannot stat `/usr/lib64/lua/luarocks/lib/luarocks/rocks/luazip/1.2.3-2/lib/': No such file or directory

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

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

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