Skip to content

Install issues on OSX 10.13.3 #21

@saizai

Description

@saizai
$ CC=clang CXX=clang++ sudo -H luarocks install lua-ev
Installing https://luarocks.org/lua-ev-v1.4-1.rockspec
Cloning into 'lua-ev'...
remote: Counting objects: 35, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 35 (delta 5), reused 18 (delta 0), pack-reused 0
Receiving objects: 100% (35/35), 30.13 KiB | 186.00 KiB/s, done.
Resolving deltas: 100% (5/5), done.
Note: checking out '458165bdfe0c6eadc788813925f11a0e6a823845'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

env MACOSX_DEPLOYMENT_TARGET=10.8 /usr/bin/clang -O2 -fPIC -I/opt/local/include -c lua_ev.c -o lua_ev.o
In file included from lua_ev.c:13:
./watcher_lua_ev.c:222:39: warning: implicit declaration of function 'luaL_checkint' is invalid in C99 [-Wimplicit-function-declaration]
    if ( has_pri ) ev_set_priority(w, luaL_checkint(L, 2));
                                      ^
In file included from lua_ev.c:19:
./stat_lua_ev.c:50:28: warning: implicit declaration of function 'luaL_optint' is invalid in C99 [-Wimplicit-function-declaration]
    ev_tstamp   interval = luaL_optint(L, 3, 0);
                           ^
2 warnings generated.
env MACOSX_DEPLOYMENT_TARGET=10.8 /usr/bin/clang -bundle -undefined dynamic_lookup -all_load -o ev.so -L/opt/local/lib lua_ev.o -lev
lua-ev v1.4-1 is now installed in /opt/local/share/luarocks (license: MIT/X11)

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