Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install display error #200

Open
lthvictor opened this issue Jul 24, 2020 · 1 comment
Open

install display error #200

lthvictor opened this issue Jul 24, 2020 · 1 comment

Comments

@lthvictor
Copy link

``./install/bin/luarocks install https://raw.githubusercontent.com/szym/display/master/display-scm-0.rockspec
Using https://raw.githubusercontent.com/szym/display/master/display-scm-0.rockspec... switching to 'build' mode

Missing dependencies for display:
async >= 1.0
luasocket >= 2.0

Using https://raw.githubusercontent.com/torch/rocks/master/async-scm-1.rockspec... switching to 'build' mode
正克隆到 'async'...
remote: Enumerating objects: 210, done.
remote: Counting objects: 100% (210/210), done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 210 (delta 19), reused 172 (delta 19), pack-reused 0
接收对象中: 100% (210/210), 403.80 KiB | 47.00 KiB/s, 完成.
处理 delta 中: 100% (19/19), 完成.
make LUA_BINDIR=/home/liang/torch/install/bin LUA_LIBDIR=/home/liang/torch/install/lib LUA_INCDIR=/home/liang/torch/install/include
basename: 缺少操作数
请尝试执行 "basename --help" 来获取更多信息。
make -C lhttp_parser LUA= LUA_BINDIR=/home/liang/torch/install/bin LUA_LIBDIR=/home/liang/torch/install/lib LUA_INCDIR=/home/liang/torch/install/include
make[1]: 进入目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser”
cc -c lhttp_parser.c -o lhttp_parser.o -Ihttp-parser -I /home/liang/torch/install/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror -fPIC
CPPFLAGS=-fPIC make -C http-parser http_parser.o
make[2]: 进入目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser/http-parser”
cc -fPIC -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -c http_parser.c
http_parser.c: In function ‘http_parser_parse_url’:
http_parser.c:2093:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
2093 | found_at = 1;
| ~~~~~~~~~^~~
http_parser.c:2096:7: note: here
2096 | case s_req_server:
| ^~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:35:http_parser.o] 错误 1
make[2]: 离开目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser/http-parser”
make[1]: *** [Makefile:17:http-parser/http_parser.o] 错误 2
make[1]: 离开目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser”
make: *** [Makefile:6:lhttp_parser/lhttp_parser.so] 错误 2

Error: Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/async-scm-1.rockspec - Build error: Failed building.

@junyanz
Copy link
Collaborator

junyanz commented Jul 24, 2020

I am not sure if Lua/Torch is being actively maintained. If you have trouble regarding Lua/Torch, please consider using our PyTorch version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants