Closed guhur closed 5 years ago
The reason is that the folder extra/lua-cjson
is surprisingly empty:
git status
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
deleted: .gitattributes
deleted: .gitignore
deleted: CMakeLists.txt
deleted: LICENSE
deleted: Makefile
deleted: NEWS
deleted: README.adoc
deleted: THANKS
deleted: TODO
deleted: build-packages.sh
deleted: devel/json_parser_outline.txt
deleted: dtoa.c
deleted: dtoa_config.h
deleted: fpconv.c
deleted: fpconv.h
deleted: g_fmt.c
deleted: lua-cjson-2.1devel-1.rockspec
deleted: lua-cjson.spec
deleted: lua/cjson/util.lua
deleted: lua/json2lua.lua
deleted: lua/lua2json.lua
deleted: lua_cjson.c
deleted: manual.adoc
deleted: performance.adoc
deleted: rfc4627.txt
deleted: runtests.sh
deleted: strbuf.c
deleted: strbuf.h
deleted: tests/README
deleted: tests/bench.lua
deleted: tests/example1.json
deleted: tests/example2.json
deleted: tests/example3.json
deleted: tests/example4.json
deleted: tests/example5.json
deleted: tests/genutf8.pl
deleted: tests/numbers.json
deleted: tests/octets-escaped.dat
deleted: tests/rfc-example1.json
deleted: tests/rfc-example2.json
deleted: tests/test.lua
deleted: tests/types.json
In the concerned folder, I launched git reset --hard HEAD
and the compilation goes on.
I had the same issue with trepl-scm-1.rockspec
and I solved it the same way. I really don't know why all files but not the folder was deleted. I stopped the installation at beginning, so maybe an emergency script has deleted the file but was stopped by protected .git
folder?
The command
./install.sh
does not work on my computer.It produces the following error:
I am using macOS. I have tried also with the command
TORCH_LUA_VERSION=LUA52 ./install.sh
, but the error is the same.