{"action":"closed","issue":{"url":"https://api.github.com/repos/larspars/word-rnn/issues/6","repository_url":"https://api.github.com/repos/larspars/word-rnn","labels_url":"https://api.github.com/repos/larspars/word-rnn/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/larspars/word-rnn/issues/6/comments","events_url":"https://api.github.com/repos/larspars/word-rnn/issues/6/events","html_url":"https://github.com/larspars/word-rnn/issues/6","id":130264953,"number":6,"title":"rex_pcre error","user":{"login":"nyaong7","id":16953057,"avatar_url":"https://avatars.githubusercontent.com/u/16953057?v=3","gravatar_id":"","url":"https://api.github.com/users/nyaong7","html_url":"https://github.com/nyaong7","followers_url":"https://api.github.com/users/nyaong7/followers","following_url":"https://api.github.com/users/nyaong7/following{/other_user}","gists_url":"https://api.github.com/users/nyaong7/gists{/gist_id}","starred_url":"https://api.github.com/users/nyaong7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nyaong7/subscriptions","organizations_url":"https://api.github.com/users/nyaong7/orgs","repos_url":"https://api.github.com/users/nyaong7/repos","events_url":"https://api.github.com/users/nyaong7/events{/privacy}","received_events_url":"https://api.github.com/users/nyaong7/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-01T05:58:26Z","updated_at":"2016-02-28T12:49:51Z","closed_at":"2016-02-28T12:49:51Z","body":"Thank you for your wonderful job!\r\n\r\nWhile I am testing your script, I found errors as below.\r\n\"/torch/install/share/lua/5.1/trepl/init.lua:383: module 'rex_pcre' not found:No LuaRocks module found for rex_pcre\"\r\n(Previously I encountered the same error for 'nn' as in the below thread, but it disappeared after reinstall nn)\r\n\r\nSo I searched web and found that I need 'lrexlib-pcre', but when I try to install it (luarocks install lrexlib-pcre), I got the following error.\r\n\"Error: Could not find expected file libpcre.a, or libpcre.so, or libpcre.so.* for PCRE -- you may have to install PCRE \r\n in your system and/or pass PCRE_DIR or PCRE_LIBDIR to the luarocks command. Example:** luarocks install lrexlib-pcre PCRE_DIR=/usr/local**\"\r\nSo I tried with the additional parameter PCRE_DIR, it didn't work either.\r\n\r\nCould anybody let me know how I can avoid this error?\r\nThank you in advance.\r\n"}}