{"action":"created","issue":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1185","repository_url":"https://api.github.com/repos/CorsixTH/CorsixTH","labels_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1185/labels{/name}","comments_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1185/comments","events_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1185/events","html_url":"https://github.com/CorsixTH/CorsixTH/issues/1185","id":197500385,"number":1185,"title":"Module 'lfs' not found ","user":{"login":"andoruB","id":4868784,"avatar_url":"https://avatars.githubusercontent.com/u/4868784?v=3","gravatar_id":"","url":"https://api.github.com/users/andoruB","html_url":"https://github.com/andoruB","followers_url":"https://api.github.com/users/andoruB/followers","following_url":"https://api.github.com/users/andoruB/following{/other_user}","gists_url":"https://api.github.com/users/andoruB/gists{/gist_id}","starred_url":"https://api.github.com/users/andoruB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andoruB/subscriptions","organizations_url":"https://api.github.com/users/andoruB/orgs","repos_url":"https://api.github.com/users/andoruB/repos","events_url":"https://api.github.com/users/andoruB/events{/privacy}","received_events_url":"https://api.github.com/users/andoruB/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-25T13:05:41Z","updated_at":"2016-12-26T05:07:24Z","closed_at":"2016-12-26T05:07:24Z","body":"I'm getting this whilst trying to run the executable:\r\n\r\n```\r\n~/bin/CorsixTH$ ./CorsixTH \r\nAn error has occurred in CorsixTH:\r\n./Lua/strict.lua:66: module 'lfs' not found:\r\n\tno field package.preload['lfs']\r\n\tno file '/usr/local/share/lua/5.3/lfs.lua'\r\n\tno file '/usr/local/share/lua/5.3/lfs/init.lua'\r\n\tno file '/usr/local/lib/lua/5.3/lfs.lua'\r\n\tno file '/usr/local/lib/lua/5.3/lfs/init.lua'\r\n\tno file '/usr/share/lua/5.3/lfs.lua'\r\n\tno file '/usr/share/lua/5.3/lfs/init.lua'\r\n\tno file './lfs.lua'\r\n\tno file './lfs/init.lua'\r\n\tno file '/usr/local/lib/lua/5.3/lfs.so'\r\n\tno file '/usr/lib/x86_64-linux-gnu/lua/5.3/lfs.so'\r\n\tno file '/usr/lib/lua/5.3/lfs.so'\r\n\tno file '/usr/local/lib/lua/5.3/loadall.so'\r\n\tno file './lfs.so'\r\nstack traceback:\r\n\t[C]: in upvalue 'fn'\r\n\t./Lua/strict.lua:66: in function 'require'\r\n\t./Lua/app.lua:23: in main chunk\r\n\t[C]: in function 'persist.dofile'\r\n\t./CorsixTH.lua:56: in function 'dofile'\r\n\t./CorsixTH.lua:108: in main chunk\r\n\t[C]: in ?\r\n```\r\n\r\nI have installed the luarocks package:\r\n\r\n```\r\n$ apt policy luarocks \r\nluarocks:\r\n  Installed: 2.2.0+dfsg-2\r\n  Candidate: 2.2.0+dfsg-2\r\n  Version table:\r\n *** 2.2.0+dfsg-2 500\r\n        500 http://debian.mirror.linux.de unstable/main amd64 Packages\r\n        500 http://debian.mirror.linux.de unstable/main i386 Packages\r\n        100 /var/lib/dpkg/status\r\n```\r\n\r\nBut it still refuses to budge. I've installed all the requirements, except Timidity and LuaSocket.\r\nI'm using Debian Sid amd64, CorsixTH source version is commit 060890f off this git repo, and the Lua version used is 5.3. Any ideas what I could've done wrong?"},"comment":{"url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/comments/269162882","html_url":"https://github.com/CorsixTH/CorsixTH/issues/1185#issuecomment-269162882","issue_url":"https://api.github.com/repos/CorsixTH/CorsixTH/issues/1185","id":269162882,"user":{"login":"andoruB","id":4868784,"avatar_url":"https://avatars.githubusercontent.com/u/4868784?v=3","gravatar_id":"","url":"https://api.github.com/users/andoruB","html_url":"https://github.com/andoruB","followers_url":"https://api.github.com/users/andoruB/followers","following_url":"https://api.github.com/users/andoruB/following{/other_user}","gists_url":"https://api.github.com/users/andoruB/gists{/gist_id}","starred_url":"https://api.github.com/users/andoruB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andoruB/subscriptions","organizations_url":"https://api.github.com/users/andoruB/orgs","repos_url":"https://api.github.com/users/andoruB/repos","events_url":"https://api.github.com/users/andoruB/events{/privacy}","received_events_url":"https://api.github.com/users/andoruB/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T05:07:24Z","updated_at":"2016-12-26T05:07:24Z","body":"Whoops, for whatever reason after reading the compiling instructions, I came out with the assumtion that both lfs and LPeg are components of luarocks, silly me. So it's a bit like python-apt. And indeed, debian supplies the lua-filesystem(-dev) and lua-lpeg(-dev) packages."}}
{"actor":{"display_login":"andoruB"}}