word-rnn icon indicating copy to clipboard operation
word-rnn copied to clipboard

Installing lrexlib-pcre doesn't work (Linux Mint 17.3)

Open xjdeng opened this issue 8 years ago • 2 comments

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

xjdeng avatar Apr 13 '16 03:04 xjdeng

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

iver56 avatar May 12 '16 12:05 iver56

Bless you, iver56. I couldn't figure out how to get past this in installation.

Lolologist avatar Apr 11 '17 21:04 Lolologist