Skip to content

Installation fail? #11

Description

@slmjkdbtl
> sudo luarocks install --server=http://luarocks.org/dev lua-zip

Installing http://luarocks.org/dev/lua-zip-git-1.rockspec...
Using http://luarocks.org/dev/lua-zip-git-1.rockspec... switching to 'build' mode
Cloning into 'lua-zip'...
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 11 (delta 0), reused 7 (delta 0), pack-reused 0
Receiving objects: 100% (11/11), 12.91 KiB | 6.45 MiB/s, done.
env MACOSX_DEPLOYMENT_TARGET=10.8 gcc -O2 -fPIC -I/usr/local/include -c lua_zip.c -o lua_zip.o -I/usr/local/include
In file included from lua_zip.c:3:
/usr/local/include/zip.h:59:10: fatal error: 'zipconf.h' file not found
#include <zipconf.h>
         ^
1 error generated.

Error: Build error: Failed compiling object lua_zip.o

libzip is installed via brew

Activity

  1. brimworks commented on Aug 16, 2017

    @brimworks
    Owner

    It appears that brew install libzip is not installing zipconf.h. A quick fix for you is to run these commands:

    cp /usr/local/Cellar/libzip/1.2.0/lib/libzip/include/zipconf.h /usr/local/Cellar/libzip/1.2.0/include/zipconf.h
    ln -sf ../Cellar/libzip/1.2.0/include/zipconf.h /usr/local/include/zipconf.h
    

    ...a more permanent fix is to file a bug report with the brew "libzip" Formula.

    Thanks,
    -Brian

  2. slmjkdbtl commented on Aug 16, 2017

    @slmjkdbtl
    Author

    @brimworks Thanks! I will file a report to libzip

  3. jwoertink commented on Jul 8, 2019

    @jwoertink

    I just ran in to this. I did brew upgrade libzip thenluarocks install love-release for macOS 10.14.5 and it installed. Just FYI for anyone else that happens to come across this.

  4. ogomez92 commented on Dec 12, 2021

    @ogomez92

    not working for me.. Using an M1 mac, please help

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