Skip to content

unknown type name 'off64_t' #4

Open

Description

@diamond-lizard

When I try:

luarocks install --server=http://luarocks.org --local luazip

I get this error:

Installing http://luarocks.org/luazip-1.2.7-1.src.rock

luazip 1.2.7-1 depends on lua >= 5.1, < 5.4 (5.1-1 provided by VM)
gcc -O2 -fPIC -I/usr/include -c src/luazip.c -o src/luazip.o -I/usr/include
In file included from /usr/include/zzip/types.h:25,
                 from /usr/include/zzip/zzip.h:17,
                 from src/luazip.c:13:
/usr/include/zzip/types.h:35:15: error: unknown type name ‘off64_t’
 typedef       _zzip_off64_t     zzip_off64_t;
               ^~~~~~~~~~~~~

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

I am using Luarocks 3.3.1 and Lua 5.1.5 on amd64 Gentoo Linux.

Activity

  1. SlySven commented on Oct 13, 2020

    @SlySven

    @diamond-lizard if you are trying to compile this rock for use with Mudlet (also on GitHub as: https://github.com/Mudlet/mudlet.git) and are having issues you can use the alternative implementation (rock name "lua-zip") at https://github.com/brimworks/lua-zip.git as Mudlet can use (looks for both on profile load) either...!

    Also, this repository seems to be unmaintained - the Luarock website does send users to https://github.com/mpeterv/luazip which is currently shipping a 1.2.7 version dated 2017 as opposed to this one's 1.2.3 which hasn't been touched since 2007!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions