word-rnn
word-rnn copied to clipboard
Installing lrexlib-pcre doesn't work (Linux Mint 17.3)
I'm running Linux Mint 17.3 (a distro compatible with Ubuntu) and followed your instructions to the letter. This line doesn't work:
$ sudo luarocks install lrexlib-pcre PCRE_DIR=/lib/x86_64-linux-gnu/
Instead, you need to do the following:
$ cd ~/torch/install/bin $ sudo apt-get install libpcre3-dev $ sudo ./luarocks install lrexlib-pcre PCRE_DIR=/usr/ PCRE_LIBDIR=/usr/lib/x86_64-linux-gnu
Here's what worked for me on Ubuntu:
sudo apt-get install libpcre3 libpcre3-dev
luarocks install lrexlib-pcre PCRE_LIBDIR=/lib/x86_64-linux-gnu
Bless you, iver56. I couldn't figure out how to get past this in installation.